Define __ASSUME_ST_INO_64_BIT on all platforms.
[glibc.git] / ChangeLog
blob87559da072046973cb6373cfeb929c80449a3111
1 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
2             Steve Ellcey  <sellcey@caviumnetworks.com>
4         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5           __ASSUME_ST_INO_64_BIT as 0
6         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8           over the code where __ASSUME_ST_INO_64_BIT is used.
9         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13 2016-11-07  Florian Weimer  <fweimer@redhat.com>
15         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
16         Document ABI exposure of the __kind offset.
17         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
18         Mention reason for the __kind offset exposure in the ABI.
19         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
20         Likewise.
21         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
22         Likewise.
23         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
24         Likewise.
25         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
26         (struct __pthread_mutex_s): Likewise.
27         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
28         Likewise.
29         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
30         Likewise.
31         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
32         Likewise.
33         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
34         Likewise.
35         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
36         Likewise.
37         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
38         Likewise.
39         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
40         (struct __pthread_mutex_s): Likewise.
41         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42         (struct __pthread_mutex_s): Likewise.
43         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
44         Likewise.
46 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
48         * test-skeleton.c: Document do_test usage.
50 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
52         * iconv/gconv.h (__gconv_info): Define __data element using a
53         zero-length array.
55 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
57         * math/test-tgmath2.c: Split up test function.
59 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
61         * Rules (tests-expected): New variable, depending on
62         $(run-built-tests).
63         (tests): Pass $(tests-expected) to merge-test-results.sh, not
64         $(tests).
66         * Rules [$(run-built-tests) = no] (tests): Do not depend on
67         $(tests-unsupported).
69 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
71         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
72         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
74 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #20768]
77         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
78         __fegetenv instead of fegetenv.
80         [BZ #14139]
81         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
82         (find_files): Obtain platform name from libm-test-ulps-name and
83         store in %pplatforms.
84         (canonicalize_platform): Remove.
85         (print_platforms): Use $pplatforms directly.
86         (by_platforms): Do not allow for platforms missing from
87         %pplatforms.
88         * sysdeps/aarch64/libm-test-ulps-name: New file.
89         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
90         * sysdeps/arm/libm-test-ulps-name: Likewise.
91         * sysdeps/generic/libm-test-ulps-name: Likewise.
92         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
93         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
94         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
95         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
96         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
97         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
98         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
99         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
100         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
101         * sysdeps/nios2/libm-test-ulps-name: Likewise.
102         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
103         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
104         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
105         * sysdeps/sh/libm-test-ulps-name: Likewise.
106         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
107         * sysdeps/tile/libm-test-ulps-name: Likewise.
108         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
110         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
112         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
113         (test-xfail-check-execstack): New variable.
115         * sysdeps/mips/localplt.data: New file.
117 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
118             Steve Ellcey  <sellcey@caviumnetworks.com>
120         * bits/wordsize.h: Add documentation.
121         * sysdeps/aarch64/bits/wordsize.h : New file
122         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
123         definitions.
124         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
125         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
126         with #if instead of #ifdef.
127         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
128         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
129         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
130         Add or change defines.
131         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
132         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
133         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
134         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
135         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
136         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
137         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
138         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
139         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
141         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
142         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
143         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
144         * sysdeps/x86/bits/wordsize.h: Likewise.
146 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
147             Kevin Petit  <kevin.petit@arm.com>
149         * sysdeps/aarch64/memchr.S (__memchr): New file.
151 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
153         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
155 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
157         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
158         $(linknamespace-symlists-tests).
160 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
162         * time/tst-strptime2.c: Ignore -Wformat-length warning.
164 2016-11-02  Florian Weimer  <fweimer@redhat.com>
165             Carlos O'Donell  <carlos@redhat.com>
167         [Bug #20729]
168         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
169         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
170         for -Os related change.
172 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
174         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
176 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
178         [BZ #19673]
179         * manual/math.texi (Exponents and Logarithms): Correct description
180         of clog10.
182 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
184         [Bz #20729]
185         * locale/weight.h: Include libc-internal.h.
186         * locale/weightwc.h: Likewise.
187         * nptl/nptl_dbP.h: Likewise.
189 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
191         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
192         when it is MACH_PORT_NULL.
194 2016-10-31  Andreas Schwab  <schwab@suse.de>
196         [BZ #20707]
197         * posix/glob.c (glob): Initialize pglob before checking for
198         GLOB_BRACE.  Don't call glob recursively if pattern contains no
199         valid brace expression despite GLOB_BRACE.
200         * posix/globtest.sh: Test it.
202 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
204         [BZ #20729]
205         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
206         Define.
207         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
208         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
209         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
210         for seq2.back_us and seq1.back_us only for -Os compiles.
211         * locale/weightwc.h (findix): Likewise.
212         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
213         DB_GET_FIELD_ADDRESS only for -Os compiles.
214         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
215         for slen only for -Os compiles.
216         * string/strcoll_l.c (get_next_seq): Ignore
217         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
218         for -Os compiles.
220         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
221         * include/crypt.h: New file.
223 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
225         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
226         from test-skeleton.c.
227         (statclass): Replace calls to write with calls to write_message.
229 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
231         * math/math.h
232         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
233         New macro.
234         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
235         Likewise.
236         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
237         Likewise.
238         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
239         SNANL.
240         * math/test-double.h (snan_value_MACRO): New macro.
241         * math/test-float.h (snan_value_MACRO): Likewise.
242         * math/test-ldouble.h (snan_value_MACRO): Likewise.
243         * math/libm-test.inc (issignaling_test_data): Add tests of
244         snan_value_MACRO.
246 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
248         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
249         behavior when eliding a lock not held by the current thread.
250         * sysdeps/powerpc/nptl/elide.h: Likewise.
252 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
254         [BZ #20728]
255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
256         branch to _exit() by a function call.
258 2016-10-28  Florian Weimer  <fweimer@redhat.com>
260         * malloc/malloc.c: Update chunk layout comments.
261         (chunk_main_arena): Update comment.
263 2016-10-28  Florian Weimer  <fweimer@redhat.com>
265         * crypt/sha256.c, crypt/sha256-block.c,
266         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
267         sha256_process_block to __sha256_process_block.
268         * crypt/sha512.c, crypt/sha512-block.c,
269         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
270         sha512_process_block to __sha512_process_block.
272 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
274         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
276         * math/test-nan-overflow.c: Include stdlib.h for malloc.
278 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
280         [BZ #20019]
281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
282         definition in unrelocated shared library.
283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
285 2016-10-28  Florian Weimer  <fweimer@redhat.com>
287         [BZ #20729]
288         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
289         * sysdeps/unix/sysv/linux/i386/Makefile
290         (uses-6-syscall-arguments): Define.
291         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
292         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
293         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
294         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
295         Likewise.
296         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
297         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
298         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
299         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
300         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
301         (CFLAGS-fallocate64.os): Likewise.
302         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
303         (CFLAGS-pthread_rwlock_timedrdlock.os)
304         (CFLAGS-pthread_rwlock_timedwrlock.o)
305         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
306         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
307         (CFLAGS-sem_timedwait.os): Likewise.
309 2016-10-28  Florian Weimer  <fweimer@redhat.com>
311         * elf/tst-linkall-static.c: New file.
312         * elf/Makefile (tests-static): Add tst-linkall-static.
313         (tst-linkall-static): Link against static libraries.
315 2016-10-27  Florian Weimer  <fweimer@redhat.com>
317         * malloc/malloc.c (sysmalloc): Initialize previous size field of
318         mmaped chunks.
320 2016-10-28  Florian Weimer  <fweimer@redhat.com>
322         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
323         members to mchunk_prev_size, mchunk_size.
324         (chunk_main_arena): Reverse sense and rename from
325         chunk_non_main_arena.
326         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
327         mchunk_size instead of size.
328         (set_non_main_arena): Define.
329         (chunksize): Use chunksize_nomask instead of direct member access.
330         (chunksize_nomask): Define.
331         (next_chunk): Use chunksize instead of direct member access.
332         (prev_size, set_prev_size): Define.
333         (prev_chunk): Use prev_size instead of direct member access.
334         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
335         (inuse_bit_at_offset, set_inuse_bit_at_offset)
336         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
337         (mchunk_prev_size, mchunk_size): Poison tokens.
338         (unlink): Use chunksize_nomask, prev_size accessors.
339         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
340         (do_check_free_chunk): Use prev_size accessor.
341         (sysmalloc): Use set_prev_size, set_head accessors.
342         (munmap_chunk, mremap_chunk): Use prev_size accessor.
343         (__libc_free): Use chunksize_nomask accessor.
344         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
345         chunk_main_arena accessors.
346         (_int_free): Use chunksize_nomask, prev_size accessors.
347         (malloc_consolidate): Use chunksize, prev_size accessors.
348         (_int_realloc): Use chunksize_nomask accessor.
349         (_int_memalign): Use set_prev_size accessor.
350         (__malloc_info): Use chunksize_nomask accessor.
351         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
352         accessors.
353         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
354         (heap_trim): Use chunksize_nomask, prev_size accessors.
356 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #19380]
359         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
360         for inexact results.
361         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
362         of inexact result where mpfr_subnormalize is the only inexact
363         step.
364         * stdlib/tst-strtod-round-data.h: Regenerated.
365         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
366         Define to 0.
367         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
369 2016-10-27  David S. Miller  <davem@davemloft.net>
371         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
373 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
375         * malloc/malloc.c (do_set_mallopt_check): New function.
376         (do_set_mmap_threshold): Likewise.
377         (do_set_mmaps_max): Likewise.
378         (do_set_top_pad): Likewise.
379         (do_set_perturb_byte): Likewise.
380         (do_set_trim_threshold): Likewise.
381         (do_set_arena_max): Likewise.
382         (do_set_arena_test): Likewise.
383         (__libc_mallopt): Use them.
385 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
387         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
388         (canonicalize): New declaration.
389         * math/Versions (canonicalize): New libm symbol at version
390         GLIBC_2.25.
391         (canonicalizef): Likewise.
392         (canonicalizel): Likewise.
393         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
394         * math/s_canonicalize_template.c: New file.
395         * math/libm-test.inc: Update comment on functions tested and
396         testing of NaN payloads.
397         (TEST_NAN_PAYLOAD): New macro.
398         (NO_TEST_INLINE): Update value.
399         (XFAIL_TEST): Likewise.
400         (ERRNO_UNCHANGED): Likewise.
401         (ERRNO_EDOM): Likewise.
402         (ERRNO_ERANGE): Likewise.
403         (IGNORE_RESULT): Likewise.
404         (NON_FINITE): Likewise.
405         (TEST_SNAN): Likewise.
406         (NO_TEST_MATHVEC): Likewise.
407         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
408         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
409         (struct test_Ffp_b1_data): New type.
410         (RUN_TEST_Ffp_b1): New macro.
411         (RUN_TEST_LOOP_Ffp_b1): Likewise.
412         (canonicalize_test_data): New array.
413         (canonicalize_test): New function.
414         (main): Call canonicalize_test.
415         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
416         canonicalizef and canonicalizel.
417         * manual/libm-err-tab.pl: Update comment on interfaces without
418         ulps tabulated.
419         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
420         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
421         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
422         canonicalize.
423         (CFLAGS-nldbl-canonicalize.c): New variable.
424         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
425         to ...
426         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
427         ... here.
428         (do_test): Also test canonicalizel.
429         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
430         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
431         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
432         file.
433         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
434         Use libm_hidden_def.
435         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
436         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
437         (do_test): Also test canonicalizel.
438         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
439         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
440         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
441         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
442         libm_hidden_def.
443         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
444         macro.
445         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
446         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
447         * sysdeps/nacl/libm.abilist: Update.
448         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
461         Likewise.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
463         Likewise.
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
465         Likewise.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
467         Likewise.
468         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
474         Likewise.
475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
476         Likewise.
477         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
481         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
482         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
483         getpayload.
484         (CFLAGS-nldbl-getpayload.c): New variable.
486 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
488         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
489         integer from the format string.
491 2016-10-26  Florian Weimer  <fweimer@redhat.com>
493         [BZ #19473]
494         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
495         declarations.
496         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
497         weak aliases.
498         * malloc/hooks.c (__malloc_get_state): Remove definition.
499         (malloc_get_state): New stub implementation as
500         compatibility symbol.
501         (malloc_set_state): Rename from __malloc_set_state.  Turn into
502         compat symbol.
503         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
504         malloc_set_state.
505         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
507 2016-10-26  Florian Weimer  <fweimer@redhat.com>
509         * iconvdata/iso646.c (enum variant): Drop illegal_var.
510         (names): Turn into concatenation of strings.
511         (gconv_init): Adapt iteration over names.
513 2016-10-26  Florian Weimer  <fweimer@redhat.com>
515         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
516         make const.
517         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
518         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
519         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
520         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
521         character in sbconv.
522         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
523         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
524         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
526 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
528         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
530         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
531         (M_TRIM_THRESHOLD): Likewise.
533         * manual/memory.texi (M_ARENA_TEST): Add documentation.
534         (M_ARENA_MAX): Likewise.
535         * malloc/malloc.c: Remove obsolete comment.
537         * manual/memory.texi: Add environment variable alternatives to
538         setting mallopt parameters.
540 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
542         * include/atomic.h
543         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
544         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
546 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
548         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
549         * stdlib/tst-strfrom.h: New file.
550         * stdlib/tst-strfrom.c: New file.
551         * stdlib/tst-strfrom-locale.c: New file.
553         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
554         * stdlib/bug-strtod2.c: Likewise.
555         * stdlib/tst-strtod-round-skeleton.c: Likewise.
556         * stdlib/tst-strtod6.c: Likewise.
557         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
559 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
561         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
562         * manual/arith.texi: Document strfromd, strfromf, strfroml.
563         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
564         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
565         * stdlib/stdlib.h (strfromd): New declaration.
566         (strfromf): Likewise.
567         (strfroml): Likewise.
568         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
569         strfrom.
570         * stdlib/strfromd.c: New file.
571         * stdlib/strfromf.c: Likewise.
572         * stdlib/strfroml.c: Likewise.
573         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
574         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
575         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
576         * sysdeps/arm/nacl/libc.abilist: Update.
577         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
578         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
579         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
585         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
587         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
606 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
608         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
609         instead of cmpli.
610         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
611         instead of cmpli.
613 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
615         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
616         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
617         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
618         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
619         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
620         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
622 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
624         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
625         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
626         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
627         SYSCALL_LL64_PRW.
628         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
629         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
630         __ASSUME_PRW_DUMMY_ARG.
631         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
632         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
633         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
634         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
635         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
636         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
638 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
640         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
642 2016-10-22  Florian Weimer  <fweimer@redhat.com>
644         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
645         "C++", to override a potential extern "C" directive around the
646         header file inclusion.
648 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
650         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
652 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
654         * sysdeps/powerpc/fpu/fenv_private.h:
655         (_FPU_MASK_ALL): Rename to...
656         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
657         XE FPSCR bits.
659         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
661         (_FPU_MASK_ROUNDING): Rename to...
662         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
663         NI bits.
665         (_FPU_MASK_EXCEPT_ROUND): Rename to...
666         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
667         bits and rounding bits.
669         (__libc_feholdbits_ppc): New inline function to mask, set,
670         and pontentially clear FSPCR bits, and change MSR[FE] bits.
671         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
672         (libc_feholdexcept_setround_ppc): Likewise.
674         (__libc_femergeenv_ppc): New function to dynamically mask both
675         old and new FP environments and merge.
676         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
677         (libc_feresetround_ppc): Likewise.
678         (libc_feupdateenv_test_ppc): Likewise.
679         (libc_feupdateenv_ppc): Likewise.
681         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
682         of ISA RN bits, and update macro names.
683         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
684         effectively the same as the previously mentioned function.
686         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
687         usage with fe_resetround_ppc.
689         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
690         to be used.
691         (libc_feholdexcept_setround_ctxf): Likewise.
692         (libc_feholdexcept_setround_ctxl): Likewise.
694 2016-10-21  Florian Weimer  <fweimer@redhat.com>
696         [BZ #20715]
697         * math/math.h [__cplusplus] (iszero): Define as function template.
698         * math/Makefile [CXX] (tests): Add test-math-iszero.
699         (CFLAGS-test-math-iszero.cc): Set.
700         * math/test-math-iszero.cc: New file.
702 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
704         [BZ #20660]
705         * sysdeps/arm/e_sqrt.c: New file.
706         * sysdeps/arm/e_sqrtf.c: Likewise.
708 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
710         [BZ #20718]
711         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
712         not use floating-point comparisons to test sign.
713         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
714         Likewise.
716         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
717         (getpayload): New declaration.
718         * math/Versions (getpayload): New libm symbol at version
719         GLIBC_2.25.
720         (getpayloadf): Likewise.
721         (getpayloadl): Likewise.
722         * math/Makefile (libm-calls): Add s_getpayloadF.
723         * math/libm-test.inc: Include <nan-high-order-bit.h>.
724         (struct test_f_f_data): Add comment.
725         (RUN_TEST_fp_f): New macro.
726         (RUN_TEST_LOOP_fp_f): Likewise.
727         (getpayload_test_data): New array.
728         (getpayload_test): New function.
729         (main): Call getpayload_test.
730         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
731         descriptor.
732         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
733         getpayloadf and getpayloadl.
734         * manual/libm-err-tab.pl: Update comment on interfaces without
735         ulps tabulated.
736         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
737         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
738         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
739         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
740         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
741         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
742         * sysdeps/nacl/libm.abilist: Update.
743         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
744         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
745         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
746         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
747         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
748         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
756         Likewise.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
758         Likewise.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
760         Likewise.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
762         Likewise.
763         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
764         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
765         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
766         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
769         Likewise.
770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
771         Likewise.
772         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
776 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
778         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
779         tst-fallocate{64}.
780         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
781         on syscall return.
783 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
785         [BZ #20689]
786         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
787         usable.
789 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
791         * sysdeps/generic/nan-high-order-bit.h: New file.
792         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
793         * sysdeps/mips/nan-high-order-bit.h: Likewise.
794         * sysdeps/hppa/math_private.h: Remove file.
795         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
796         not define here.
797         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
798         <nan-high-order-bit.h>.
799         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
800         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
801         <nan-high-order-bit.h>.
802         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
803         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
804         <nan-high-order-bit.h>.
805         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
806         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
807         <nan-high-order-bit.h>.
808         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
809         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
810         <nan-high-order-bit.h>.
811         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
812         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
813         <nan-high-order-bit.h>.
814         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
815         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
816         <nan-high-order-bit.h>.
817         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
818         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
819         <nan-high-order-bit.h>.
820         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
821         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
822         <nan-high-order-bit.h>.
823         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
824         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
825         <nan-high-order-bit.h>.
826         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
827         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
828         <nan-high-order-bit.h>.
829         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
830         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
831         <nan-high-order-bit.h>.
832         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
833         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
834         <nan-high-order-bit.h>.
835         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
836         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
837         <nan-high-order-bit.h>.
838         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
839         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
840         <nan-high-order-bit.h>.
841         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
842         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
843         <nan-high-order-bit.h>.
844         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
845         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
846         <nan-high-order-bit.h>.
847         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
848         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
849         <nan-high-order-bit.h>.
850         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
852 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
854         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
856 2016-09-22  John David Anglin  <dave.anglin@bell.net>
858         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
859         abort-instr.h.
860         (EFAULT): Remove conditional define.
861         (ENOSYS): Likewise.
862         (atomic_compare_and_exchange_val_acq): Use instruction nullification
863         instead of conditional branch instructions.
865 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
867         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
868         (totalordermag): New declaration.
869         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
870         New macro.
871         * math/Versions (totalordermag): New libm symbol at version
872         GLIBC_2.25.
873         (totalordermagf): Likewise.
874         (totalordermagl): Likewise.
875         * math/Makefile (libm-calls): Add s_totalordermagF.
876         * math/libm-test.inc (totalordermag_test_data): New array.
877         (totalordermag_test): New function.
878         (main): Call totalordermag_test.
879         * math/test-tgmath.c (NCALLS): Increase to 125.
880         (F(compile_test)): Call totalordermag.
881         (F(totalordermag)): New function.
882         * manual/arith.texi (FP Comparison Functions): Document
883         totalordermag, totalordermagf and totalordermagl.
884         * manual/libm-err-tab.pl: Update comment on interfaces without
885         ulps tabulated.
886         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
887         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
888         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
889         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
890         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
891         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
892         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
893         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
894         totalordermag.
895         (CFLAGS-nldbl-totalordermag.c): New variable.
896         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
897         (do_test): Also test totalordermagl.
898         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
899         Likewise.
900         * sysdeps/nacl/libm.abilist: Update.
901         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
903         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
904         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
905         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
906         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
907         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
908         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
910         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
914         Likewise.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
916         Likewise.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
918         Likewise.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
920         Likewise.
921         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
922         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
927         Likewise.
928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
929         Likewise.
930         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
934 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
936         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
937         boolean.
939 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
941         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
942         raising FE_INVALID with feraisexcept in case where part of
943         argument is infinite, subtract that part of argument from itself.
944         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
945         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
946         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
948 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
950         * math/libm-test.inc (totalorder_test_data): Add more tests.
952 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
954         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
955         Undefine weak_alias and add a comment why mips64 require
956         versioning.
958 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
960         [BZ #20647]
961         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
962         maximum CPUID level is less than 2.
964 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
966         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
967         (totalorder): New declaration.
968         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
969         New macro.
970         * math/Versions (totalorder): New libm symbol at version
971         GLIBC_2.25.
972         (totalorderf): Likewise.
973         (totalorderl): Likewise.
974         * math/Makefile (libm-calls): Add s_totalorderF.
975         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
976         string.
977         * math/libm-test.inc (PAYLOAD_DIG): New macro.
978         (qnan_value_pl): Likewise.
979         (snan_value_pl): Likewise.
980         (qnan_value): Define using qnan_value_pl.
981         (snan_value): Define using snan_value_pl.
982         (struct test_ff_i_data): Add comment about which tests use this
983         structure.
984         (RUN_TEST_ff_b): New macro.
985         (RUN_TEST_LOOP_ff_b): Likewise.
986         (totalorder_test_data): New array.
987         (totalorder_test): New function.
988         (main): Call totalorder_test.
989         * math/test-tgmath.c (NCALLS): Increase to 122.
990         (F(compile_test)): Call totalorder.
991         (F(totalorder)): New function.
992         * manual/arith.texi (FP Comparison Functions): Document
993         totalorder, totalorderf and totalorderl.
994         * manual/libm-err-tab.pl: Update comment on interfaces without
995         ulps tabulated.
996         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
997         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
998         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
999         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1000         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1001         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1002         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1003         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1004         totalorder.
1005         (CFLAGS-nldbl-totalorder.c): New variable.
1006         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1007         file.
1008         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1009         Add test-totalorderl-ldbl-128ibm.
1010         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1011         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1012         test-totalorderl-ldbl-96.
1013         * sysdeps/nacl/libm.abilist: Update.
1014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1015         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1016         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1029         Likewise.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1033         Likewise.
1034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1047 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1049         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1050         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1051         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1052         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1053         remove ENOSYS implementation.
1054         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1055         Consolidate all Linux implementations.
1057 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1059         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1060         * resolv/herror.c (herror): Cast away const-ness.
1061         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1062         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1064 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1066         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1067         instead of M_NAN + M_NAN.
1068         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1070 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1072         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1073         unused variable 'p'.
1075 2016-10-09  Alan Modra  <amodra@gmail.com>
1076             Andreas Schwab  <schwab@linux-m68k.org>
1078         [BZ #20554]
1079         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1080         [PIC && !SHARED]: Set up PIC register for PLT call.
1082 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1084         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1085         conditional on value of [__FLT_EVAL_METHOD__].
1086         * math/test-iseqsig-excess-precision.c: New file.
1087         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1089 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1091         * math/s_iseqsig_template.c: Include math-private.h.
1093         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1094         * posix/tst-posix_fadvise.c: New file.
1095         * posix/tst-posix_fadvise64.c: Likewise.
1096         * posix/tst-posix_fadvise-common.c: Likewise.
1097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1098         (__ASSUME_FADVISE64_64_6ARG): Define.
1099         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1100         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1101         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1102         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1103         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1104         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1105         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1106         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1107         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1108         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1109         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1110         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1115         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1116         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1117         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1118         Alias to __posix_fadvise64_l32.
1119         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1120         Add compat definition to posix_fadvise64.
1121         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1122         Add versioned definition to posix_fadvise64.
1123         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1124         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1125         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1126         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1127         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1129         * io/Makefile (tests): Add tst-posix_fallocate and
1130         tst-posix_fallocate64.
1131         * io/tst-posix_fallocate-common.c: New file.
1132         * io/tst-posix_fallocate.c: Likewise.
1133         * io/tst-posix_fallocate64.c: Likewise.
1134         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1135         file.
1136         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1139         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1142         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1143         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1144         SYSCALL_LL to pass both offset and len arguments.
1145         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1148         __libc_pwrite64 alias used by posix_fallocate64.
1150         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1151         tst-fallocate64.
1152         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1153         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1154         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1155         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1156         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1157         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1158         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1159         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1160         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1161         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1162         macro on offset argument.
1163         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1164         SYSCALL_LL64 on offset argument.
1166         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1167         tst-fallocate64.
1168         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1169         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1170         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1171         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1172         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1173         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1174         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1175         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1176         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1177         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1178         macro on offset argument.
1179         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1180         SYSCALL_LL64 on offset argument.
1181         * test-skeleton.c (FAIL_RET): Add macro.
1182         (FAIL_EXIT): Likewise.
1183         (FAIL_EXIT1): Likewise.
1184         (_FAIL): Likewise.
1186 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1188         [BZ #20629]
1189         resolv: Remove RES_USEBSTRING and its implementation.
1190         * resolv/resolv.h (RES_USEBSTRING): Remove.
1191         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1192         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1193         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1194         (labellen): Remove extended label types support.
1195         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1196         * resolv/res_init.c (res_setoptions): Likewise.
1197         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1199 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1201         resolv: Remove RES_NOIP6DOTINT and its implementation.
1202         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1203         (RES_NOIP6DOTINT): Remove.
1204         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1205         handling.
1206         * resolv/res_debug.c (p_option): Likewise.
1207         * resolv/res_init.c (res_setoptions): Likewise.
1208         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1210 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1212         resolv: Deprecate unimplemented flags.
1213         * misc/sys/cdefs.h (__glibc_macro_warning1)
1214         (__glibc_macro_warning): Define.
1215         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1216         (RES_KEEPTSIG): Mark as deprecated.
1217         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1218         RES_NOCHECKNAME, RES_KEEPTSIG.
1219         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1221 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1223         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1224         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1225         Use strong_alias to create symbols for glibc verison 2.19.
1227 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1229         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1231 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1233         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1235 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1237         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1242         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1243         in header for using it as type for ifunc function because __GI_* symbols
1244         for ppc32 do not target the ifunc symbols.
1245         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1247 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1249         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1250         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1251         libc_ifunc_hidden_def.
1252         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1253         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1254         Redirect ifunced function in header for using it as type of ifunc'ed
1255         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1256         function for __GI_* symbol.
1257         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1258         * include/libc-symbols.h
1259         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1261 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1263         [BZ #20478]
1264         * sysdeps/s390/multiarch/ifunc-resolve.h
1265         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1266         to create ifunc symbols.
1267         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1268         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1269         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1270         for using it as type for ifunc function.
1271         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1272         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1273         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1274         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1275         * sysdeps/s390/multiarch/strcat.c: Likewise.
1276         * sysdeps/s390/multiarch/strchr.c: Likewise.
1277         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1278         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1279         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1280         * sysdeps/s390/multiarch/strlen.c: Likewise.
1281         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1282         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1283         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1284         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1285         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1286         * sysdeps/s390/multiarch/strspn.c: Likewise.
1287         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1288         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1289         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1290         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1291         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1292         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1293         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1294         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1295         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1296         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1297         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1298         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1300 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1302         * include/libc-symbols.h (__ifunc_resolver):
1303         New macro is used by __ifunc* macros.
1304         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1305         depending on HAVE_GCC_IFUNC.
1306         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1307         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1309         Redirect ifunced function in header for using as type for ifunc function.
1310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1316         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1317         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1318         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1319         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1320         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1321         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1323         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1330         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1331         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1332         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1333         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1335         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1336         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1340         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1341         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1342         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1344         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1345         instead of libc_ifunc() macro.
1346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1349 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1351         * config.h.in (HAVE_GCC_IFUNC): New undef.
1352         * configure.ac: Add check if gcc supports attribute ifunc feature.
1353         * configure: Regenerated.
1354         * manual/install.texi: Add recommendation for gcc with
1355         indirect-function support.
1356         * INSTALL: Regenerated.
1358 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1360         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1361         macro.
1362         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1363         (__iseqsig): New declaration.
1364         * math/s_iseqsig_template.c: New file.
1365         * math/Versions (__iseqsigf): New libm symbol at version
1366         GLIBC_2.25.
1367         (__iseqsig): Likewise.
1368         (__iseqsigl): Likewise.
1369         * math/libm-test.inc (iseqsig_test_data): New array.
1370         (iseqsig_test): New function.
1371         (main): Call iseqsig_test.
1372         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1373         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1374         * manual/libm-err-tab.pl: Update comment on interfaces without
1375         ulps tabulated.
1376         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1377         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1378         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1379         * sysdeps/nacl/libm.abilist: Update.
1380         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1389         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1393         Likewise.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1395         Likewise.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1397         Likewise.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1399         Likewise.
1400         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1401         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1402         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1406         Likewise.
1407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1408         Likewise.
1409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1413 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1415         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1416         do_sincos_2, sloww, sloww1): Update comments.
1418         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1419         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1421         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1422         K boolean and rename it.
1423         (__sin): Adjust.
1424         (__cos): Adjust.
1426 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1427             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1429         * manual/nss.texi: Fix typos in the manual.
1431 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1433         * manual/contrib.texi: Fix typos in the manual.
1435         * manual/maint.texi: Fix typos in the manual.
1437         * manual/install.texi: Fix typos in the manual.
1438         * INSTALL: Regenerated.
1440         * manual/lang.texi: Fix typos in the manual.
1442         * manual/probes.texi: Fix typos in the manual.
1444         * manual/threads.texi: Fix typos in the manual.
1446         * manual/debug.texi: Fix typos in the manual.
1448         * manual/crypt.texi: Fix typos in the manual.
1450         * manual/conf.texi: Fix typos in the manual.
1452         * manual/sysinfo.texi: Fix typos in the manual.
1454         * manual/users.texi: Fix typos in the manual.
1456         * manual/job.texi: Fix typos in the manual.
1458         * manual/process.texi: Fix typos in the manual.
1460         * manual/argp.texi: Fix typos in the manual.
1461         * manual/getopt.texi: Likewise.
1462         * manual/startup.texi: Likewise.
1464         * manual/signal.texi: Fix typos in the manual.
1466         * manual/setjmp.texi: Fix typos in the manual.
1468         * manual/resource.texi: Fix typos in the manual.
1470         * manual/time.texi: Fix typos in the manual.
1472         * manual/arith.texi: Fix typos in the manual.
1474         * manual/math.texi: Fix typos in the manual.
1476         * manual/syslog.texi: Fix typos in the manual.
1478         * manual/terminal.texi: Fix typos in the manual.
1480         * manual/socket.texi: Fix typos in the manual.
1482         * manual/filesys.texi: Fix typos in the manual.
1484         * manual/llio.texi: Fix typos in the manual.
1486         * manual/stdio.text: Fix typos in the manual.
1488 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1490         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1491         instead of K1.
1493         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1494         SHIFT_QUADRANT and make it bool.
1495         (do_sincos_2): Likewise.
1496         (sloww): Likewise.
1497         (sloww1): Likewise.
1498         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1499         (__cos): Likewise.
1501 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1503         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1505 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1507         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1508         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1509         0x7fffffffL].
1510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1512 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1514         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1515         inline by __inline__.
1516         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1517         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1518         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1519         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1520         sigset_t from signal.h.
1521         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1522         which is already required.
1524 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1526         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1528 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1530         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1531         (struct tcp_repair_window): New type.
1533 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1535         * libio/tst-memstream3.c: Include string.h.
1537 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1539         [BZ #18241]
1540         [BZ #20181]
1541         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1542         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1543         write position is at the end the buffer.
1544         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1545         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1546         (_IO_str_seekoff): Set correct offset from negative displacement and
1547         set EINVAL for invalid ones.
1548         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1549         buffer length.
1550         (_IO_wstr_switch_to_get_mode): New function.
1551         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1552         set EINVAL for invalid ones.
1553         * libio/tst-memstream3.c: New file.
1554         * libio/tst-wmemstream3.c: Likewise.
1555         * manual/examples/memstrm.c: Remove warning when priting size_t.
1557 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1559         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1560         macro to use __builtin_fma.
1561         * sysdeps/x86_64/fpu/dla.h: Remove file.
1563         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1564         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1565         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1567 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1569         [BZ #20292]
1570         * elf/Makefile (routines): Add dl-addr-obj.
1571         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1572         tst-_dl_addr_inside_object.
1573         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1574         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1575         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1576         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1577         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1578         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1579         * elf/dl-open.c: Likewise.
1580         * elf/dl-addr-obj.c: New file.
1581         * elf/tst-_dl_addr_inside_object.c: New file.
1583 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1585         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1586         <bits/iscanonical.h>.
1587         * bits/iscanonical.h: New file.
1588         * math/s_iscanonicall.c: Likewise.
1589         * math/Versions (__iscanonicall): New libm symbol at version
1590         GLIBC_2.25.
1591         * math/libm-test.inc (iscanonical_test_data): New array.
1592         (iscanonical_test): New function.
1593         (main): Call iscanonical_test.
1594         * math/Makefile (headers): Add bits/iscanonical.h.
1595         (type-ldouble-routines): Add s_iscanonicall.
1596         * manual/arith.texi (Floating Point Classes): Document
1597         iscanonical.
1598         * manual/libm-err-tab.pl: Update comment on interfaces without
1599         ulps tabulated.
1600         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1601         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1602         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1603         Likewise.
1604         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1605         test-iscanonical-ldbl-128ibm.
1606         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1607         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1608         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1609         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1610         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1611         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1612         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1614         Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1616         Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1622         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1624 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1626         * string/bits/string3.h: Remove C++ style comments.
1628 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1630         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1631         instead of ternary condition.
1632         (do_sincos_2): Likewise.
1633         (__sin): Likewise.
1634         (__cos): Likewise.
1635         (slow): Likewise.
1636         (sloww): Likewise.
1637         (sloww1): Likewise.
1638         (bsloww): Likewise.
1639         (bsloww1): Likewise.
1641         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1642         instead of ternary condition.
1643         (do_sin_slow): Likewise.
1644         (do_sincos_1): Likewise.
1645         (do_sincos_2): Likewise.
1646         (__cos): Likewise.
1647         (sloww): Likewise.
1648         (sloww1): Likewise.
1649         (sloww2): Likewise.
1650         (bsloww): Likewise.
1651         (bsloww1): Likewise.
1652         (bsloww2): Likewise.
1654         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1655         check from here...
1656         (slow2): ... and here...
1657         (__sin): ... to here.
1659 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1661         * math/math.h
1662         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1663         Cast argument to its own type.
1664         * math/test-iszero-excess-precision.c: New file.
1665         * math/Makefile (tests): Add test-iszero-excess-precision.
1666         (CFLAGS-test-iszero-excess-precision.c): New variable.
1668 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1670         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1671         field, add err field.
1672         (__spawni_child): Report error through err member instead of pipe.
1673         (__spawnix): Likewise.
1675 2016-09-28  Zack Weinberg  <zackw@panix.com>
1677         * scripts/check-installed-headers.sh: Generalize treatment of
1678         sys/elf.h to all target architectures.
1680         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1681         deleted typedef ucontext_t.
1683 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1685         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1686         (__INTERNAL_SYSCALL1): Likewise.
1687         (__INTERNAL_SYSCALL2): Likewise.
1688         (__INTERNAL_SYSCALL3): Likewise.
1689         (__INTERNAL_SYSCALL4): Likewise.
1690         (__INTERNAL_SYSCALL5): Likewise.
1691         (__INTERNAL_SYSCALL6): Likewise.
1692         (__INTERNAL_SYSCALL7): Likewise.
1693         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1694         (__INTERNAL_SYSCALL_NARGS): Likewise.
1695         (__INTERNAL_SYSCALL_DISP): Likewise.
1696         (INTERNAL_SYSCALL_CALL): Likewise.
1697         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1698         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1699         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1700         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1701         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1702         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1703         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1704         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1705         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1706         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1707         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1708         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1709         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1711 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1713         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1714         macro.
1715         * math/libm-test.inc (iszero_test_data): New array.
1716         (iszero_test): New function.
1717         (main): Call iszero_test.
1718         * manual/arith.texi (Floating Point Classes): Document iszero.
1719         * manual/libm-err-tab.pl: Update comment on interfaces without
1720         ulps tabulated.
1722 2016-09-23  Zack Weinberg  <zackw@panix.com>
1724         * scripts/check-installed-headers.sh: New script.
1725         * Rules: In each directory that defines header files to be installed,
1726         run check-installed-headers.sh on them as a special test.
1727         * Makefile: Likewise for the headers installed at top level.
1729         * include/aliases.h, include/alloca.h, include/argz.h
1730         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1731         * include/elf.h, include/envz.h, include/err.h
1732         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1733         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1734         * include/link.h, include/malloc.h, include/mcheck.h
1735         * include/mntent.h, include/netinet/ether.h
1736         * include/nss.h, include/obstack.h, include/printf.h
1737         * include/pty.h, include/resolv.h, include/rpc/auth.h
1738         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1739         * include/rpc/clnt.h, include/rpc/des_crypt.h
1740         * include/rpc/key_prot.h, include/rpc/netdb.h
1741         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1742         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1743         * include/rpc/rpc_msg.h, include/rpc/svc.h
1744         * include/rpc/svc_auth.h, include/rpc/xdr.h
1745         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1746         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1747         * include/rpcsvc/ypupd.h, include/shadow.h
1748         * include/stdio_ext.h, include/sys/epoll.h
1749         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1750         * include/sys/prctl.h, include/sys/profil.h
1751         * include/sys/statfs.h, include/sys/sysctl.h
1752         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1753         * sysdeps/arm/nacl/include/bits/setjmp.h
1754         * sysdeps/mips/include/sys/asm.h
1755         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1756         * sysdeps/unix/sysv/linux/include/sys/timex.h
1757         * sysdeps/x86/fpu/include/bits/fenv.h:
1758         Add #ifndef _ISOMAC guard around internal declarations.
1759         Add multiple-inclusion guard if not already present.
1761 2016-09-23  Zack Weinberg  <zackw@panix.com>
1763         * sysdeps/generic/sys/ucontext.h
1764         * sysdeps/arm/sys/ucontext.h
1765         * sysdeps/i386/sys/ucontext.h
1766         * sysdeps/m68k/sys/ucontext.h
1767         * sysdeps/mips/sys/ucontext.h
1768         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1769         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1770         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1771         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1772         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1773         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1774         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1775         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1776         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1777         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1778         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1779         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1780         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1781         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1782         Include both bits/sigcontext.h and bits/sigstack.h.
1783         Fix grammar error in comment, if present.
1785         * bits/sigstack.h
1786         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1787         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1788         * sysdeps/unix/sysv/linux/bits/sigstack.h
1789         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1790         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1791         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1792         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1793         * bits/sigcontext.h
1794         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1795         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1796         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1797         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1798         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1799         as well as signal.h, if this was not already allowed.  Request
1800         definition of size_t if necessary.  Minimize semantically-null
1801         differences across files.
1803 2016-09-23  Zack Weinberg  <zackw@panix.com>
1805         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1806         Remove all logic conditional on __need macros.  Move all the
1807         conditionally defined types to their own headers...
1808         * time/bits/types/clock_t.h: Define clock_t here.
1809         * time/bits/types/clockid_t.h: Define clockid_t here.
1810         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1811         * time/bits/types/struct_timespec.h: Define struct timespec here.
1812         * time/bits/types/struct_timeval.h: Define struct timeval here.
1813         * time/bits/types/struct_tm.h: Define struct tm here.
1814         * time/bits/types/time_t.h: Define time_t here.
1815         * time/bits/types/timer_t.h: Define timer_t here.
1816         * time/Makefile: Install the new headers.
1818         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1819         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1820         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1821         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1822         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1823         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1824         * sysdeps/unix/sysv/linux/bits/resource.h
1825         * sysdeps/unix/sysv/linux/bits/timex.h
1826         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1827         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1828         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1829         * sysdeps/unix/sysv/linux/sys/acct.h
1830         * sysdeps/unix/sysv/linux/sys/timerfd.h
1831         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1832         * time/sys/time.h, time/sys/timeb.h
1833         Use the new bits/types headers.
1835         * include/time.h: Remove __need logic.
1836         * include/bits/time.h
1837         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1838         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1839         * include/bits/types/struct_itimerspec.h
1840         * include/bits/types/struct_timespec.h
1841         * include/bits/types/struct_timeval.h
1842         * include/bits/types/struct_tm.h:
1843         New wrapper headers.
1845 2016-09-23  Zack Weinberg  <zackw@panix.com>
1847         * sysdeps/mach/hurd/net/if_ppp.h
1848         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1849         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1850         if __USE_MISC is defined, to ensure struct ifreq is declared.
1852         * inet/netinet/ether.h: Condition all function prototypes
1853         on __USE_MISC, to ensure struct ether_addr is declared.
1855         * socket/bits/types/struct_osockaddr.h: New header.
1856         * include/bits/types/struct_osockaddr.h: New wrapper.
1857         * socket/Makefile: Install the new header.
1858         * socket/sys/socket.h, inet/protocols/talkd.h:
1859         Refer to bits/types/struct_osockaddr.h for the definition of
1860         struct osockaddr.
1862 2016-09-23  Zack Weinberg  <zackw@panix.com>
1864         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1865         * inet/protocols/routed.h, inet/protocols/talkd.h
1866         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1867         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1868         * sysdeps/generic/netinet/if_ether.h
1869         * sysdeps/generic/netinet/in_systm.h
1870         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1871         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1872         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1873         * sysdeps/mach/hurd/net/if_arp.h
1874         * sysdeps/mach/hurd/net/if_ppp.h
1875         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1876         * sysdeps/unix/sysv/linux/bits/in.h
1877         * sysdeps/unix/sysv/linux/net/ethernet.h
1878         * sysdeps/unix/sysv/linux/net/if_arp.h
1879         * sysdeps/unix/sysv/linux/net/if_ppp.h
1880         * sysdeps/unix/sysv/linux/net/if_shaper.h
1881         * sysdeps/unix/sysv/linux/net/route.h
1882         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1883         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1884         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1885         * sysdeps/unix/sysv/linux/netipx/ipx.h
1886         * sysdeps/unix/sysv/linux/sys/acct.h
1887         * include/arpa/nameser.h, include/resolv.h:
1888         Change all uses of u_char to unsigned char,
1889         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1890         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1891         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1892         and u_int64_t and u_quad_t to uint64_t.
1894         * mach/sys/reboot.h: Remove two casts of integer literals
1895         to the types they already have.
1897         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1898         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1899         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1900         from referring to 'unsigned char' to 'uint8_t' for consistency with
1901         the macro definition below.
1903         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1904         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1905         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1906         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1907         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1908         * sysdeps/unix/sysv/linux/sys/acct.h
1909         * include/arpa/nameser.h, include/resolv.h:
1910         Fix indentation disrupted by mechanical edits.
1912         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1913         * sysdeps/generic/netinet/in_systm.h
1914         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1915         * sysdeps/gnu/netinet/udp.h
1916         * sysdeps/unix/sysv/linux/net/ethernet.h
1917         * sysdeps/unix/sysv/linux/net/if_arp.h
1918         * sysdeps/unix/sysv/linux/net/if_ppp.h
1919         * sysdeps/unix/sysv/linux/net/if_shaper.h
1920         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1921         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1922         * sysdeps/unix/sysv/linux/netipx/ipx.h
1923         * sysdeps/unix/sysv/linux/sys/acct.h
1924         Include stdint.h for uintNN_t definitions.
1925         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1927 2016-09-23  Zack Weinberg  <zackw@panix.com>
1929         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1930         * sysdeps/unix/sysv/linux/netrose/rose.h:
1931         Include sys/socket.h and netax25/ax25.h.
1933         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1934         * resolv/arpa/nameser_compat.h:
1935         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1937         * sysdeps/unix/sysv/linux/sys/quota.h:
1938         Use __caddr_t instead of caddr_t.
1939         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1940         Use __clockid_t instead of clockid_t.
1942         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1944         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1945         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1946         expanding it.
1948         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1949         Define __glibc_c99_flexarr_available to 1 when the compiler
1950         supports C99-compatible flexible array members, 0 otherwise.
1951         * sysdeps/unix/sysv/linux/bits/socket.h
1952         * sysdeps/mach/hurd/bits/socket.h
1953         * bits/socket.h: Use __glibc_c99_flexarr_available in
1954         definitions of struct cmsghdr and CMSG_DATA.
1956 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1958         * manual/nss.texi (NSS Modules Interface): Adjust function return
1959         type to enum nss_status.  Document errnop argument.  Clarify
1960         h_errnop semantics.  Fix cross-reference formatting.
1961         (NSS Module Function Internals): Mention that *errnop needs to be
1962         set on failure, but not to zero.
1964 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1966         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1967         (get_random_name): New functions.
1968         (check_wrapper_flags_mode): Use linkat to give the new file a name
1969         determined by get_random_name.
1970         (do_test): Add calls to test open64 and openat64.
1972 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1974         * test-skeleton.c: Remove #include <stdarg.h>.
1976 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1978         [BZ #19826]
1979         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1980         initialization of static TLS entries.
1981         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1982         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1984 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1986         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1987         _hurd_malloc_fork_prepare.
1988         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1989         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1990         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1991         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1992         (_hurd_fork_child_hook): Drop malloc_fork_child.
1993         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1994         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1995         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1996         after locking locks (notably hurd_dtable_lock). Call
1997         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1998         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1999         __malloc_fork_unlock_child.
2000         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2002 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2004         * soft-fp/extendhftf2.c: New.
2005         * soft-fp/fixhfti.c: Likewise.
2006         * soft-fp/fixunshfti.c: Likewise.
2007         * soft-fp/floattihf.c: Likewise.
2008         * soft-fp/floatuntihf.c: Likewise.
2009         * soft-fp/half.h: Likewise.
2010         * soft-fp/trunctfhf2.c: Likewise.
2012 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2014         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2015         macro.
2016         * math/libm-test.inc (issubnormal_test_data): New array.
2017         (issubnormal_test): New function.
2018         * manual/arith.texi (Floating Point Classes): Document
2019         issubnormal.
2020         * manual/libm-err-tab.pl: Update comment on interfaces without
2021         ulps tabulated.
2023         * sysdeps/generic/stdint.h: Define
2024         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2025         <bits/libc-header-start.h> instead of including <features.h>.
2026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2059         * manual/arith.texi (Integers): Document these macros for types
2060         specified by width properties.
2061         * manual/lang.texi (Width of Type): Document these macros for
2062         other standard typedefs.
2063         * stdlib/tst-width-stdint.c: New file.
2064         * stdlib/Makefile (tests): Add tst-width-stdint.
2066 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2068         [BZ #20016]
2069         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2070         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2071         Move ...
2072         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2073         ... here, as compatibility symbols in a new file.
2074         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2075         * resolv/res_init.c (__res_vinit): Adjust member names.
2076         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2077         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2078         (res_send_rhook): Remove.
2079         (struct __res_state): Rename qhook, rhook members.
2081 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2083         malloc: Use __libc_lock wrappers.
2084         * malloc/arena.c (list_lock, free_list_lock): Define using
2085         __libc_lock_define_initialized.
2086         (arena_lock): Adjust formatting.
2087         * malloc/malloc.c (struct malloc_state): Define mutex using
2088         __libc_lock_define.
2089         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2090         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2091         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2092         (mutex_unlock, mutex_trylock): Remove.
2093         (__pthread_initialize): Remove unused macro.
2094         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2095         (mutex_unlock, mutex_trylock): Remove.
2097 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2099         [BZ #20592]
2100         Remove RR type classification macros.
2101         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2102         (ns_t_udp_p, ns_t_xfr_p): Remove.
2104 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2106         Remove misleading version information.
2107         * resolv/arpa/nameser.h (__NAMESER): Remove.
2108         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2110 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2112         Remove the always-defined BIND_4_COMPAT macro.
2113         * resolv/arpa/nameser.h: Unconditionally include
2114         <arpa/nameser_compat.h>.
2115         (BIND_4_COMPAT): Remove.
2116         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2118 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2120         [BZ #20591]
2121         Remove obsolete DNSSEC support.
2122         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2123         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2124         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2125         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2126         (ns_cert_types): Add comment.
2127         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2128         separately.
2129         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2130         (dst_s_dns_key_id): Remove.
2131         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2132         variables.
2134 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2136         [BZ #20524]
2137         * manual/string.texi (String/Array Comparison): Clarify the
2138         strverscmp behavior.
2140 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2142         * test-skeleton.c (xasprintf): Add function.
2143         * io/tst-open-tmpfile.c: New test.
2144         * io/Makefile (tests): Add it.
2146 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2148         Avoid running $(CXX) during build to obtain header file paths.
2149         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2150         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2151         * Makerules (cstdlib, cmath): Remove variables.  Use
2152         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2153         * configure: Regenerate.
2155 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2157         * Makeconfig (all-object-suffixes): Include .op only if
2158         $(build-profile).
2160 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2162         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2163         conditionals.  Do not define PATH_MAX.
2165 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2167         * posix/Makefile (tests): Add tst-spawn3.
2168         * posix/tst-spawn3.c: New file.
2169         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2170         if it is already opened for open action.
2172         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2173         all signals when executing the clone vfork child.
2174         (SIGALL_SET): Remove macro.
2176         * nptl/Makefile (tests): Add tst-exec5.
2177         * nptl/tst-exec5.c: New file.
2178         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2179         asynchronous cancellation.
2181 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2183         * hurd/exc2signal.c: #include <hurd/signal.h>
2184         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2185         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2186         accordingly.
2187         * mach/mach_error.c (mach_error): Fix old-style function definition.
2188         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2190 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2192         * math/Makefile (libm-calls): Remove s_nanF.
2193         (gen-libm-calls): Add s_nanF.
2195         * math/s_nan.c: Refactor into ...
2196         * math/s_nan_template.c: New file.
2198         * math/s_nanf.c: Removed.
2199         * math/s_nanl.c: Removed.
2200         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2201         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2203         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2204         (LDOUBLE_nanl_libm_version): New macro.
2206         * sysdeps/generic/math-type-macros-double.h:
2207         (M_STRTO_NAN): New macro.
2208         * sysdeps/generic/math-type-macros-float.h: Likewise.
2209         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2211         * sysdeps/generic/math-type-macros.h: Document
2212         M_STRTO_NAN.
2214 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2216         * math/s_nanf.c: Remove __nanf undef.
2217         * math/s_nan.c: Remove __nan undef.
2218         * math/s_nanl.c: Remove __nanl undef.
2220         * sysdeps/generic/math_private.h (__nan): Remove macro
2221         override.
2222         (__nanf): Likewise.
2223         (__nanl): Likewise.
2225 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2227         * math/Makefile (gen-all-calls): New variable.
2228         (generated): Replace gen-libm-calls with gen-all-calls.
2229         (gen-libm-templates.stmp): Likewise.  Also, ensure
2230         the output directory exists or is created and add
2231         dependency on the Makefile.
2232         (calls): Move s_ldexpF into gen-calls.
2233         (gen-calls): New variable.
2235         * math/s_ldexpf.c: Removed.
2236         * math/s_ldexpl.c: Removed.
2237         * math/s_ldexp.c: Refactored into ...
2238         * math/s_ldexp_template.c: New file.
2240         * sysdeps/generic/math-type-macros-double.h: Remove
2241         redundant fall-through definition of declare_mgen_alias.
2242         (declare_mgen_alias_2): New macro.
2244         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2245         New macro for function aliased to two exported symbols.
2247         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2248         new template file.
2249         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2251 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2253         * Makeconfig (all-object-suffixes): Remove .og.
2254         * Makerules (elide-routines.og): Remove.
2255         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2256         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2257         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2259 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2261         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2262         .os objects.
2264 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2266         [BZ #20615]
2267         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2268         fpu directory by non-fpu.
2269         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2270         on non-fpu directory from a fpu directory.
2272 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2274         * include/limits.h: Define
2275         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2276         <bits/libc-header-start.h> instead of including <features.h>.
2277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2288         * manual/lang.texi (Width of Type): Document these macros.
2289         * stdlib/tst-width.c: New file.
2290         * stdlib/Makefile (tests): Add tst-width.
2292 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2294         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2295         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2297 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2299         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2300         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2301         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2303 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2305         [BZ #18243]
2306         * rt/Makefile (test): Add tst-shm-cancel.
2307         * rt/tst-shm-cancel.c: New file.
2308         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2310         [BZ #18243]
2311         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2312         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2313         definition.
2314         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2315         uncontended case.
2316         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2317         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2318         (tf): Fix check for uncontended case.
2319         (do_test): Likewise.
2320         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2321         (tf): Fix check for uncontended case.
2322         (do_test): Likewise.
2323         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2324         (tf): Fix check for uncontended case.
2325         (do_test): Likewise.
2326         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2327         (tf): Fix check for uncontended case.
2328         (do_test): Likewise.
2330         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2331         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2333         [BZ #15765]
2334         * nptl/Makefile (tests): Add tst-sem16.
2335         * nptl/tst-sem16.c: New file.
2336         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2338         * nptl/sem_open.c (sem_open): Init pad value to 0.
2339         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2340         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2342 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2344         [BZ #20611]
2345         * inet/Makefile (routines): Add inet6_scopeid_pton.
2346         (tests): Add tst-inet6_scopeid_pton.
2347         * inet/inet6_scopeid_pton.c: New file.
2348         * inet/net-internal.h: Likewise.
2349         * inet/tst-inet6_scopeid_pton.c: New test.
2350         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2351         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2354 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2356         Remove support for compiling wrappers with PTW.
2357         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2358         * nptl/Makefile (pthread-compat-wrappers): Define.
2359         (libpthread-routines): Use pthread-compat-wrappers.
2360         * sysdeps/unix/sysv/linux/alpha/Makefile
2361         (libpthread-routines, libpthread-shared-only-routines): Remove
2362         ptw- prefix.
2363         * sysdeps/s390/nptl/Makefile
2364         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2365         * sysdeps/ia64/nptl/Makefile
2366         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2367         * sysdeps/nacl/Makefile (libpthread-routines): Use
2368         pthread-compat-wrappers to filter the routines list instead of the
2369         ptw- prefix.
2371 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2373         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2374         with L() and remove explicit suffix, convert real literals
2375         which can be equivalentally substituted with integers, and
2376         transform -L(x) to L(-x).
2378         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2426         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2429 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2431         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2433 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2435         * malloc/Makefile (tests): Remove individual static test names
2436         and just add all of tests-static.
2438         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2440 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2442         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2443         file.
2445         * sysdeps/sparc/fpu/fegetmode.c: New file.
2446         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2448         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2449         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2451         * sysdeps/s390/fpu/fegetmode.c: New file.
2452         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2454         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2455         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2456         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2457         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2459         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2461         * sysdeps/mips/fpu/fegetmode.c: New file.
2462         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2464         * sysdeps/m68k/fpu/fegetmode.c: New file.
2465         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2467         * sysdeps/ia64/fpu/fegetmode.c: New file.
2468         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2470         * sysdeps/hppa/fpu/fegetmode.c: New file.
2471         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2473         * sysdeps/arm/fegetmode.c: New file.
2474         * sysdeps/arm/fesetmode.c: Likewise.
2476         * sysdeps/alpha/fpu/fegetmode.c: New file.
2477         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2479         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2480         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2482         * math/fegetmode.c: New file.
2483         * math/fesetmode.c: Likewise.
2484         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2485         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2486         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2487         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2488         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2490         declaration.
2491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2492         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2493         typedef.
2494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2495         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2496         (femode_t): New typedef.
2497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2498         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2499         (femode_t): New typedef.
2500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2501         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2502         (femode_t): New typedef.
2503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2504         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2505         (femode_t): New typedef.
2506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2507         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2508         (femode_t): New typedef.
2509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2510         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2511         (femode_t): New typedef.
2512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2513         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2514         (femode_t): New typedef.
2515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2516         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2517         (femode_t): New typedef.
2518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2519         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2520         (femode_t): New typedef.
2521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2522         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2523         (femode_t): New typedef.
2524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2525         declaration.
2526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2527         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2528         (femode_t): New typedef.
2529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2530         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2531         (femode_t): New typedef.
2532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2533         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2534         (femode_t): New typedef.
2535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2536         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2537         (femode_t): New typedef.
2538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2539         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2540         (femode_t): New typedef.
2541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2542         * manual/arith.texi (FE_DFL_MODE): Document macro.
2543         (fegetmode): Document function.
2544         (fesetmode): Likewise.
2545         * math/Versions (fegetmode): New libm symbol at version
2546         GLIBC_2.25.
2547         (fesetmode): Likewise.
2548         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2549         (tests): Add test-femode and test-femode-traps.
2550         * math/test-femode-traps.c: New file.
2551         * math/test-femode.c: Likewise.
2552         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2553         alias for __fe_dfl_env.
2554         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2555         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2556         (__fe_dfl_mode): Likewise.
2557         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2558         version GLIBC_2.25.
2559         * sysdeps/nacl/libm.abilist: Update.
2560         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2573         Likewise.
2574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2575         Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2577         Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2579         Likewise.
2580         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2586         Likewise.
2587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2588         Likewise.
2589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2593 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2595         [BZ #20495]
2596         [BZ #20508]
2597         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2598         processors, set Use_dl_runtime_resolve_slow and set
2599         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2600         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2601         New.
2602         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2603         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2604         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2605         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2606         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2607         if Use_dl_runtime_resolve_opt is set.  Use
2608         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2609         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2610         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2611         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2612         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2613         New.
2614         (_dl_runtime_resolve_opt): Likewise.
2615         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2616         defined.
2618 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2620         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2621         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2623 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2625         Convert malloc to __libc_lock.  Automated part, using this Perl
2626         s/// command:
2627           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2628             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2629         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2630         conversion.
2632 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2634         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2635         (linknamespace-symlists-tests): Likewise.
2636         (linknamespace-header-tests): Likewise.
2638 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2640         [BZ #19810]
2641         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2642         * elf/tst-noload.c: New test case.
2643         * elf/Makefile (tests): Add tst-noload.
2645 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2647         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2649         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2650         not any more.
2652         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2654 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2656         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2657         (do_cos_slow): Likewise.
2658         (do_sin): Likewise.
2659         (do_sin_slow): Likewise.
2660         (slow): Likewise.
2661         (slow1): Likewise.
2662         (slow2): Likewise.
2663         (sloww): Likewise.
2664         (sloww1): Likewise.
2665         (sloww2): Likewise.
2666         (bsloww): Likewise.
2667         (bsloww1): Likewise.
2668         (bsloww2): Likewise.
2669         (cslow2): Likewise.
2671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2673         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2674         arguments.  Consolidate input partitioning from callers here.
2675         (do_cos_slow): Likewise.
2676         (do_sin): Likewise.
2677         (do_sin_slow): Likewise.
2678         (do_sincos_1): Remove the no longer necessary input partitioning.
2679         (do_sincos_2): Likewise.
2680         (__sin): Likewise.
2681         (__cos): Likewise.
2682         (slow1): Likewise.
2683         (slow2): Likewise.
2684         (sloww1): Likewise.
2685         (sloww2): Likewise.
2686         (bsloww1): Likewise.
2687         (bsloww2): Likewise.
2688         (cslow2): Likewise.
2690 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2692         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2693         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2694         outside of allocated array.
2696 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2698         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2699         instead of MB_CUR_MAX to avoid variable-length array.
2701 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2703         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2704         (type-double-routines): Add k_rem_pio2.
2705         (type-float-routines): Add k_rem_pio2f.
2707         * sysdeps/generic/math_private.h:
2708         (__kernel_rem_pio2l): Removed.
2710         * math/k_rem_pio2l.c: Removed.
2711         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2712         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2713         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2714         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2716 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2718         * math/Makefile (gen-libm-calls): Add s_fmin
2719         (libm-calls): Remove above.
2721         * math/s_fmin.c: Refactor into ...
2722         * math/s_fmin_template.c: New file.
2724         * math/s_fminf.c: Removed.
2725         * math/s_fminl.c: Removed.
2726         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2727         (LDOUBLE_fmin_libm_version): New macro.
2729         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2730         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2732 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2734         * math/Makefile: (gen-libm-calls): Add s_fmax.
2735         (libm-calls): Remove above.
2737         * math/s_fmax.c: Refactor into ...
2738         * math/s_fmax_template.c: New file.
2739         * math/s_fmaxf.c: Removed.
2740         * math/s_fmaxl.c: Removed.
2742         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2743         (LDOUBLE_fmaxl_libm_version): New macro.
2745         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2746         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2748         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2749         s_fmin.c to pick the aarch64 version of the file.
2750         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2751         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2753 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2755         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2756         (libm-calls): Remove above.
2758         * math/s_nextdown.c: Refactor into ...
2759         * math/s_nextdown_template.c: New file.
2760         * math/s_nextdownf.c: Removed.
2761         * math/s_nextdownl.c: Removed.
2763         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2765 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2767         * math/Makefile (gen-libm-calls): Add s_fdim.
2768         (libm-calls): Move to above.
2770         * math/s_fdim.c: Renamed and refactored into to ...
2771         * math/s_fdim_template.c: New file.
2772         * math/s_fdiml.c: Removed.
2773         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2774         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2776         * sysdeps/generic/math-type-macros-double.h:
2777         (declare_mgen_alias): Don't declare if already declared.
2778         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2779         Likewise.
2781         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2782         (declare_mgen_alias): Don't declare if already declared.
2783         (M_LIBM_NEED_COMPAT): Likewise.
2784         (declare_mgen_libm_compat): Likewise.
2785         (LDOUBLE_fdiml_libm_version): New macro.
2787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2788         Include math/s_fdim.c now that ldbl-opt version is not needed.
2789         (declare_mgen_alias): New macro to disable aliasing.
2791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2792         (declare_mgen_alias): Likewise.
2793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2794         (declare_mgen_alias): Likewise.
2795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2796         (declare_mgen_alias): Likewise.
2797         (M_LIBM_NEED_COMPAT): Likewise.
2799 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2801         [BZ #20525]
2802         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2803         Include <linux/quota.h>.
2804         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2805         and btodb.
2806         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2807         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2808         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2809         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2810         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2811         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2812         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2813         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2814         types.
2815         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2816         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2818 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2820         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2821         (gammal_positive): Fix spacing.
2822         (__ieee754_gammal_r): Likewise.
2824 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2826         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2827         (_Float128): Define as long double, always.
2828         (L): Apply long double type suffix, always.
2830         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2831         _Float128, excepting comments.
2833         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2841         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2852         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2899         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2903         _Float128, and include math_private.h.
2904         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2907         long double semantics.
2908         (_Float128): Likewise.
2909         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2914 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2916         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2917         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2918         * sysdeps/s390/configure: Regenerated.
2919         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2920         instruction for raising over-/underflow if z196 zarch is supported
2921         by default.
2922         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2924 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2926         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2927         it point to a dumb buffer for RPC to fill it.
2929 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2931         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2932         instead of if/else.
2933         (do_sin_slow): Likewise.
2934         (do_sincos_1): Use fabs instead of if/else.
2935         (do_sincos_2): Likewise.
2936         (__sin): Likewise.
2937         (__cos): Likewise.
2938         (slow2): Likewise.
2939         (sloww): Likewise.
2940         (sloww1): Likewise.  Drop argument M.
2941         (sloww2): Use fabs instead of if/else.
2942         (bsloww): Likewise.
2943         (bsloww1): Likewise.
2944         (bsloww2): Likewise.
2946         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2947         fall through comment.
2948         (do_sincos_1): Likewise.
2950         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2951         Consolidate switch cases 0 and 2.
2953 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2955         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2956         (libm-calls): Remove the above.
2958         * math/s_cexp_template.c: Update using type-generic macros.
2959         * math/s_clog10_template.c: Likewise.
2960         * math/s_cpow_template.c: Likewise.
2961         * math/s_clog_template.c: Likewise.
2962         * math/s_cproj_template.c: Likewise.
2963         * math/s_csqrt_template.c: Likewise.
2965         * math/s_cexp.c: Removed.
2966         * math/s_cexpf.c: Removed.
2967         * math/s_cexpl.c: Removed.
2968         * math/s_clog10.c: Removed.
2969         * math/s_clog10f.c: Removed.
2970         * math/s_clog10l.c: Removed.
2971         * math/s_cpow.c: Removed.
2972         * math/s_cpowf.c: Removed.
2973         * math/s_cpowl.c: Removed.
2974         * math/s_clog.c: Removed.
2975         * math/s_clogf.c: Removed.
2976         * math/s_clogl.c: Removed.
2977         * math/s_cproj.c: Removed.
2978         * math/s_cprojf.c: Removed.
2979         * math/s_cprojl.c: Removed.
2980         * math/s_csqrt.c: Removed.
2981         * math/s_csqrtf.c: Removed.
2982         * math/s_csqrtl.c: Removed.
2984         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2985         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2986         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2987         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2988         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2989         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2991         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2992         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2993         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2994         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2995         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2996         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2997         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2998         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2999         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3000         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3001         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3003         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3004         version.
3006         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3007         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3008         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3009         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3011 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3013         * s_cexp_template.c: Copy of s_cexp.c.
3014         * s_clog_template.c: Copy of s_clog.c.
3015         * s_clog10_template.c: Copy of s_clog10.c.
3016         * s_cpow_template.c: Copy of s_cpow.c.
3017         * s_cproj_template.c: Copy of s_cproj.c.
3018         * s_csqrt_template.c: Copy of s_csqrt.c.
3020 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3022         [BZ #20517]
3023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3024         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3025         exported.
3027 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3029         * math/fetestexceptflag.c: New file.
3030         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3031         Stefan Liebler.
3032         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3033         (fetestexceptflag): New function declaration.
3034         * manual/arith.texi (fetestexceptflag): Document function.
3035         * math/Versions (fetestexceptflag): New libm symbol at version
3036         GLIBC_2.25.
3037         * math/Makefile (libm-support): Add fetestexceptflag.
3038         (tests): Add test-fetestexceptflag.
3039         * math/test-fetestexceptflag.c: New file.
3040         * sysdeps/nacl/libm.abilist: Update.
3041         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3056         Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3060         Likewise.
3061         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3067         Likewise.
3068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3069         Likewise.
3070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3072         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3074 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3076         [BZ #20432]
3077         Avoid strong references to malloc-internal symbols when linking
3078         statically, to support statically interposed mallocs.
3079         * include/libc-symbols.h (call_function_static_weak): New macro.
3080         * malloc/Makefile (tests): Add tst-interpose-nothread,
3081         tst-interpose-thread, tst-interpose-static-nothread,
3082         tst-interpose-static-thread.
3083         (tests-static): Add tst-interpose-static-nothread,
3084         tst-interpose-static-thread.
3085         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3086         tst-interpose-aux-thread.o.
3087         (test-extras): Add tst-interpose-aux-nothread,
3088         tst-interpose-aux-thread.
3089         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3090         tst-interpose-aux-nothread.o.
3091         (tst-interpose-thread, tst-interpose-static-thread): Link with
3092         tst-interpose-aux-thread.o and libthread.
3093         * malloc/tst-interpose-aux-nothread.c: New file.
3094         * malloc/tst-interpose-aux-thread.c: Likewise.
3095         * malloc/tst-interpose-aux.c: Likewise.
3096         * malloc/tst-interpose-aux.h: Likewise.
3097         * malloc/tst-interpose-nothread.c: Likewise.
3098         * malloc/tst-interpose-skeleton.c: Likewise.
3099         * malloc/tst-interpose-static-nothread.c: Likewise.
3100         * malloc/tst-interpose-static-thread.c: Likewise.
3101         * malloc/tst-interpose-thread.c: Likewise.
3102         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3103         * sysdeps/mach/hurd/fork.c (__fork): Only call
3104         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3105         __malloc_fork_unlock_child if defined.
3106         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3108 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3110         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3111         timespec C99 designated initialization.
3113 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3115         [BZ #19946]
3116         Avoid expected SIGALRM signals.
3117         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3118         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3119         (xpthread_create, xpthread_detach, xpthread_join)
3120         (delayed_exit_thread, delayed_exit): New functions.
3121         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3122         (tf): Use xpthread_cond_wait.
3123         (do_test): Likewise.  Replace alarm with delayed_exit.
3124         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3125         (do_test): Call delayed_exit.  Report failure.
3126         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3127         (do_test): Call delayed_exit.
3128         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3129         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3130         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3131         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3132         error.
3133         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3134         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3135         error.
3136         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3137         (do_test): Call delayed_exit.
3138         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3139         (do_test): Call delayed_exit.
3140         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3141         (do_test): Call delayed_exit instead of alarm.  Use
3142         xpthread_mutex_lock.
3143         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3144         (do_test): Call delayed_exit instead of alarm.  Use
3145         xpthread_mutex_lock.
3146         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3147         (do_test): Call delayed_exit instead of alarm.
3148         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3149         (do_test): Call delayed_exit instead of alarm.  Use
3150         xpthread_spin_lock.
3151         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3152         (do_test): Call delayed_exit instead of alarm.  Use
3153         xpthread_join.
3155 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3157         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3158         adjust CFA when allocating register save area on re-aligned
3159         stack.
3161 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3163         * string/tst-cmp.c: New test.
3164         * string/Makefile (tests): Add it.
3166 2016-08-25  Mark Wielaard  <mark@klomp.org>
3168         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3169         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3170         (check_tree_recurse): Use newly defined accessors.
3171         (check_tree): Likewise.
3172         (maybe_split_for_insert): Likewise.
3173         (__tfind): Likewise.
3174         (__tdelete): Likewise.
3175         (trecurse): Likewise.
3176         (tdestroy_recurse): Likewise.
3177         (__tsearch): Likewise. And add asserts for malloc alignment.
3178         (__twalk): Cast root to node in case CHECK_TREE is defined.
3180 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3182         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3184 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3186         * math/Makefile (libm-gen-calls): Add
3187         catan, catanh, ctan, ctanh.
3188         (libm-calls): Remove the above.
3190         * math/s_catan_template.c: Update using type-generic macros.
3191         * math/s_catanh_template.c: Likewise.
3192         * math/s_ctan_template.c: Likewise.
3193         * math/s_ctanh_template.c: Likewise.
3195         * math/s_catanf.c: Removed.
3196         * math/s_catan.c: Removed.
3197         * math/s_catanl.c: Removed.
3198         * math/s_catanhf.c: Removed.
3199         * math/s_catanh.c: Removed.
3200         * math/s_catanhl.c: Removed.
3201         * math/s_ctanf.c: Removed.
3202         * math/s_ctan.c: Removed.
3203         * math/s_ctanl.c: Removed.
3204         * math/s_ctanhf.c: Removed.
3205         * math/s_ctanh.c: Removed.
3206         * math/s_ctanhl.c: Removed.
3208         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3209         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3210         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3211         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3212         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3213         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3215         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3216         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3217         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3218         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3220 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3222         * s_catan_template.c: Copy of s_catan.c.
3223         * s_catanh_template.c: Copy of s_catanh.c.
3224         * s_ctan_template.c: Copy of s_ctan.c.
3225         * s_ctanh_template.c: Copy of s_ctanh.c.
3227 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3229         * math/Makefile (gen-libm-calls): Move
3230         casin, casinh, csin, csinh here.
3231         (libm-calls): Remove the above.
3233         * math/s_casin_template.c: Update using type-generic macros.
3234         * math/s_casinh_template.c: Likewise.
3235         * math/s_csin_template.c: Likewise.
3236         * math/s_csinh_template.c: Likewise.
3237         * math/k_casinh_template.c: Likewise.
3239         * math/s_casinf.c: Removed.
3240         * math/s_casin.c: Removed.
3241         * math/s_casinl.c: Removed.
3242         * math/s_casinh.c: Removed.
3243         * math/s_casinhf.c: Removed.
3244         * math/s_casinhl.c: Removed.
3245         * math/s_csin.c: Removed.
3246         * math/s_csinf.c: Removed.
3247         * math/s_csinl.c: Removed.
3248         * math/s_csinh.c: Removed.
3249         * math/s_csinhf.c: Removed.
3250         * math/s_csinhl.c: Removed.
3251         * math/k_casinh.c: Removed.
3252         * math/k_casinhf.c: Removed.
3253         * math/k_casinhl.c: Removed.
3255         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3256         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3257         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3258         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3260         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3261         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3262         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3263         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3264         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3265         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3266         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3267         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3269         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3270         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3271         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3272         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3274         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3275         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3276         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3277         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3279 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3281         * s_casin_template.c: Copy of s_casin.c.
3282         * s_casinh_template.c: Copy of s_casinh.c.
3283         * s_csin_template.c: Copy of s_csin.c.
3284         * s_csinh_template.c: Copy of s_csinh.c.
3285         * k_casinh_template.c: Copy of k_casinh.c.
3287 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3289         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3291 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3293         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3294         (mul_split) Remove, rename as mul_splitl, remove
3295         redundant float.h include, and include via mul_splitl.h
3297         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3298         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3299         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3300         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3301         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3303         * math/mul_splitl.h: New file.
3305         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3306         Move into mul_split.h, and remove redundant float.h include.
3308         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3309         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3311         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3313         * math/mul_split.h: New file.
3315 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3317         * math/Makefile (libm-gen-calls): Move
3318         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3319         (libm-calls): Remove above.
3321         * math/s_cacos_template.c: Update using type-generic macros.
3322         * math/s_cacosh_template.c: Likewise.
3323         * math/s_ccos_template.c: Likewise.
3324         * math/s_ccosh_template.c: Likwise.
3326         * math/s_cacosf.c: Removed.
3327         * math/s_cacos.c: Removed.
3328         * math/s_cacosl.c: Removed.
3329         * math/s_cacoshf.c: Removed.
3330         * math/s_cacosh.c: Removed.
3331         * math/s_cacoshl.c: Removed.
3332         * math/s_ccosf.c: Removed.
3333         * math/s_ccos.c: Removed.
3334         * math/s_ccosl.c: Removed.
3335         * math/s_ccoshf.c: Removed.
3336         * math/s_ccosh.c: Removed.
3337         * math/s_ccoshl.c: Removed.
3339         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3340         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3341         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3342         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3343         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3344         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3346         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3347         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3348         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3349         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3351         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3352         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3353         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3354         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3356 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3358         * s_cacos_template.c: Copy of s_cacos.c.
3359         * s_cacosh_template.c: Copy of s_cacosh.c.
3360         * s_ccos_template.c: Copy of s_ccos.c.
3361         * s_ccosh_template.c: Copy of s_ccosh.c.
3363 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3365         * stdlib/tst-strtod-round-skeleton.c:
3366         Refactored from tst-strtod-round.c.
3368         (L_): New macro to apply literal modifier.
3369         (FNPFX): New macro to select str or wcs prefix.
3370         (CHAR): New macro to choose wchar_t or char.
3371         (STRM): New macro to choose printf for tested character type.
3373         (STRTO): New macro to choose appropriate string -> real function.
3374         (FNPFXS): Stringitized version of FNPFX.
3375         (STR): Support for above macro.
3376         (STRX): Likewise.
3378         (TEST): Update with above macros.
3379         (test): Likewise.
3380         (GEN_ONE_TEST): Likewise.
3381         (test_in_one_mode): Likewise.
3383         * stdlib/tst-strtod-round.c: New file.
3384         * wcsmbs/tst-wcstod-round.c: New file.
3386         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3387         (tst-wcstod-round): Add libm depencency for fesetround.
3389 2016-08-19  Zack Weinberg  <zackw@panix.com>
3391         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3393 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3395         [BZ #20477]
3396         * resolv/res_hconf.c (do_init): Use atomic access.
3397         * resolv/res_hconf.h: Add comments.
3398         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3399         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3402 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3405         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3406         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3407         Likewise.
3409 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3411         [BZ #16907]
3412         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3413         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3414         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3415         (__attribute__): Remove definition.
3417 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3419         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3420         Remove unused sqrtl declaration.
3422 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3424         * math/Makefile: (gen-libm-templates.stmp): New rule.
3425         (libm-calls): Move carg conj cimag and cabs into ...
3426         (gen-libm-calls): New variable.
3427         (generated): Inform Make objects from gen-libm-calls
3428         may be generated.
3430         * sysdeps/generic/math-type-macros.h: New file.
3431         * sysdeps/generic/math-type-macros-float.h: Likewise.
3432         * sysdeps/generic/math-type-macros-double.h: Likewise.
3433         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3434         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3435         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3437         * math/cabs.c: Refactor into
3438         * math/cabs_template.c: new file.
3439         * math/cabsf.c: Removed.
3440         * math/cabsl.c: Removed.
3441         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3442         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3444         * math/carg.c: Refactor into
3445         * math/carg_template.c: new file.
3446         * math/cargf.c: Removed.
3447         * math/cargl.c: Removed.
3448         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3449         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3451         * math/conj.c: Refactor into
3452         * math/conj_template.c: new file.
3453         * math/conjf.c: Removed.
3454         * math/conjl.c: Removed.
3455         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3456         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3458         * math/cimag.c: Refactor into
3459         * math/cimag_template.c: new file.
3460         * math/cimagf.c: Removed.
3461         * math/cimagl.c: Removed.
3462         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3463         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3465         * math/cimag.c: Refactor into
3466         * math/cimag_template.c: new file.
3467         * math/cimagf.c: Removed.
3468         * math/cimagl.c: Removed.
3469         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3470         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3472 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3474         Reduce time to expected nptl/tst-once5 failure.
3475         * nptl/tst-once5.cc (TIMEOUT): Define.
3477 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3479         [BZ #20452]
3480         Avoid additional copies of objects in libc.a in static libraries.
3481         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3482         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3483         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3484         rt-sysdep.
3485         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3486         Add nptl-sysdep.
3487         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3488         Add ptw-sysdep.
3489         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3490         rt-sysdep.
3491         * sysdeps/unix/sysv/linux/alpha/Makefile
3492         (libpthread-shared-only-routines): Add ptw-sysdep,
3493         ptw-sigprocmask, ptw-rt_sigaction.
3494         * sysdeps/unix/sysv/linux/ia64/Makefile
3495         (librt-shared-only-routines): Add rt-sysdep.
3496         * sysdeps/unix/sysv/linux/i386/Makefile
3497         (libpthread-shared-only-routines): Add libc-do-syscall.
3498         * sysdeps/unix/sysv/linux/microblaze/Makefile
3499         (libpthread-shared-only-routines): Add sysdep.
3500         * sysdeps/unix/sysv/linux/powerpc/Makefile
3501         (librt-shared-only-routines): Add rt-sysdep.
3502         (libpthread-shared-only-routines): Add sysdep.
3503         * sysdeps/unix/sysv/linux/s390/Makefile
3504         (librt-shared-only-routines): Add rt-sysdep.
3505         * sysdeps/unix/sysv/linux/sparc/Makefile
3506         (librt-shared-only-routines): Add rt-sysdep.
3507         (libpthread-shared-only-routines): Add sysdep.
3508         * sysdeps/unix/sysv/linux/tile/Makefile
3509         (libpthread-shared-only-routines): Likewise.
3511 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3513         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3514         Mask implicit bit out of unpacked value.
3515         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3519         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3521         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3523         * sysdeps/s390/fpu/fesetexcept.c: New file.
3525         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3526         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3529         * sysdeps/mips/fpu/fesetexcept.c: New file.
3531         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3533         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3535         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3537         * sysdeps/arm/fesetexcept.c: New file.
3539         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3541         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3543         * math/fesetexcept.c: New file.
3544         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3545         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3546         * math/fenv.h: Define
3547         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3548         <bits/libc-header-start.h> instead of including <features.h>.
3549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3550         declaration.
3551         * manual/arith.texi (fesetexcept): Document function.
3552         * math/Versions (fesetexcept): New libm symbol at version
3553         GLIBC_2.25.
3554         * math/Makefile (libm-support): Add fesetexcept.
3555         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3556         * math/test-fesetexcept.c: New file.
3557         * math/test-fesetexcept-traps.c: Likewise.
3558         * sysdeps/nacl/libm.abilist: Update.
3559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3561         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3562         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3563         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3565         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3567         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3569         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3570         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3572         Likewise.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3576         Likewise.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3578         Likewise.
3579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3581         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3585         Likewise.
3586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3587         Likewise.
3588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3589         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3590         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3592 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3594         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3595         New.
3596         (do_test): Apply default_stack_size_in_mb if not set.
3597         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3599 2016-08-15  Andreas Schwab  <schwab@suse.de>
3601         [BZ #20435]
3602         CVE-2016-6323
3603         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3604         as .cantunwind.
3606 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3608         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3609         comment from fraiseexcpt.c.
3611         * math/test-fexcept.c (feraiseexcept_exact): New function.
3612         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3613         (test_except): Likewise.
3615 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3617         [BZ #20455]
3618         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3619         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3620         to be restored.
3622         * math/test-fexcept-traps.c: New file.
3623         * math/test-fexcept.c: Likewise.
3624         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3625         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3626         macro.
3627         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3628         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3630 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3632         * include/atomic.h (atomic_fetch_and_relaxed,
3633         atomic_fetch_and_release, atomic_fetch_or_release,
3634         atomic_fetch_xor_release): New.
3636 2016-08-06  Christian Seiler  <christian@iwakd.de>
3638         [BZ #20444]
3639         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3640         MACH_PORT_NULL.
3642 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3644         * math/s_fdim.c: Avoid alias renamed.
3645         * math/s_fdimf.c: Likewise.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3647         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3648         Add s_fdimf-vis3, s_fdim-vis3.
3649         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3650         (CFLAGS-s_fdim-vis3.c): Likewise.
3651         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3652         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3654 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3657         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3658         Remove s_fdimf-vis3, s_fdim-vis3.
3659         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3660         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3667         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3668         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3670 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3672         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3673         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3674         -Wa,-Av9a -mvis.
3676 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3678         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3679         LIT() to individual constants in simple expressions
3680         after splitting on spaces.
3681         (_apply_lit): Rename replaced version, and use it to
3682         apply to what appears to be a token.
3684         * math/libm-test.inc: Fix many, many issues with
3685         spacing.
3687 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3689         * math/math.h: Move comment about <bits/mathdef.h> definitions
3690         above inclusion of <bits/mathdef.h>.  Do not mention
3691         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3693 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3695         * include/atomic.h (atomic_exchange_relaxed): New.
3697 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3699         * math/e_scalb.c: Do not include <fenv.h>.
3700         (invalid_fn): Do calculation resulting in NaN instead of raising
3701         FE_INVALID and returning a NaN explicitly.
3702         * math/e_scalbf.c: Do not include <fenv.h>.
3703         (invalid_fn): Do calculation resulting in NaN instead of raising
3704         FE_INVALID and returning a NaN explicitly.
3705         * math/e_scalbl.c: Do not include <fenv.h>.
3706         (invalid_fn): Do calculation resulting in NaN instead of raising
3707         FE_INVALID and returning a NaN explicitly.
3709 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3711         * po/de.po: Updated from Translation Project.
3712         * po/fi.po: Likewise.
3713         * po/sv.po: Likewise.
3715 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3717         [BZ #20452]
3718         Use sysdep.o from libc.a in static libraries.
3719         * sysdeps/unix/sysv/linux/i386/Makefile
3720         (libpthread-shared-only-routines): Add sysdep.
3721         (librt-shared-only-routines): Likewise.
3723 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3725         * math/tgmath.h (nextdown): Define if
3726         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3727         (nextup): Likewise.
3729         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3730         macro.
3731         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3732         Document.
3733         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3734         Document macro.
3735         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3736         (exp10f): Likewise.
3737         (exp10l): Likewise.
3738         * math/bits/mathcalls.h (exp10): Declare if
3739         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3741         * manual/arith.texi (nextup): Fix typo in last change.
3743 2016-08-03  Zack Weinberg  <zackw@panix.com>
3745         [BZ #19239]
3746         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3747         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3748         define major, minor, and makedev to issue deprecation warnings on use.
3749         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3750         previously-activated deprecation warnings for these macros and prevent
3751         subsequent inclusions of this header from having any effect.
3752         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3753         including <sys/sysmacros.h>, and undefine it again afterward.
3755 2016-08-03  Zack Weinberg  <zackw@panix.com>
3757         * sysdeps/generic/sys/sysmacros.h: Delete file.
3758         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3759         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3760         * bits/sysmacros.h: ... here; this encoding is now the generic
3761         encoding.  Now defines only the following macros:
3762         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3763         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3764         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3766         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3767         bits/sysmacros.h and the above new macros to generate the
3768         public implementations of major, minor, and makedev.
3769         * misc/tst-makedev.c: New test.
3770         * include/sys/sysmacros.h: New wrapper.
3772         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3773         (routines): Add makedev.
3774         (tests): Add tst-makedev.
3775         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3776         gnu_dev_makedev.
3777         * posix/Makefile (headers): Remove sys/sysmacros.h.
3778         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3780         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3781         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3782         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3783         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3784         * sysdeps/unix/sysv/linux/arm/libc.abilist
3785         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3786         * sysdeps/unix/sysv/linux/i386/libc.abilist
3787         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3788         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3789         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3790         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3791         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3792         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3793         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3794         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3795         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3800         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3801         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3802         * sysdeps/unix/sysv/linux/sh/libc.abilist
3803         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3804         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3807         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3809         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3810         Add GLIBC_2.25.
3812         * include/features.h (__glibc_clang_prereq): New macro.
3813         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3814         (__attribute_deprecated_msg__): New macros.
3816 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3818         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3819         macro.
3820         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3821         * manual/arith.texi (issignaling): Document as ISO from TS
3822         18661-1:2014.
3823         (nextup): Likewise.
3824         (nextupf): Likewise.
3825         (nextupl): Likewise.
3826         (nextdown): Likewise.
3827         (nextdownf): Likewise.
3828         (nextdownl): Likewise.
3829         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3830         macro.
3831         * math/math.h: Define
3832         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3833         <bits/libc-header-start.h> instead of including <features.h>.
3834         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3835         [__USE_GNU].
3836         * math/bits/mathcalls.h (nextdown): Declare if
3837         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3838         (nextup): Likewise.
3839         (__issignaling): Likewise.
3841 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3843         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3844         check, and remove __glibc_likely hint
3845         from FP_INFINITE check.
3846         * s_csinhf.c (__csinhf): Likewise.
3848         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3849         hint from FP_INFINITE check.
3850         * s_csinhl.c (__csinhl): Likewise.
3852 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3854         * math/Makefile (libm-calls): Insert F placeholder into
3855         object names.  Move w_lgamma_compat* routines into
3856         (libm-compat-calls): New variable.
3857         (libm-compat-calls-ldouble-yes): New variable.
3858         (calls): Insert F placeholder.
3859         (generated): Redefine using new type-foreach macro call.
3860         (routines): Likewise.
3862         (types): New variable to hold a list of symbolic names
3863         for each type supported by the target machine.
3864         (libm-routines): Redefine using new types variable.
3865         (type-foreach): macro to replace fooF with the
3866         appropriately suffixed foo for each types.
3868         (type-ldouble-suffix): New variable.
3869         (type-ldouble-routines): Likewise.
3870         (type-ldouble-yes): Likewise.
3871         (type-double-suffix): Likewise.
3872         (type-double-routines): Likewise.
3873         (type-float-suffix): Likewise.
3874         (type-float-routines): Likewise.
3876         (dbl-only-routines): Remove.
3877         (long-c-yes): Likewise.
3878         (long-m-routines): Likewise.
3879         (long-m-support): Likewise.
3880         (long-m-yes): Likewise.
3881         (test-longdouble-yes): Likewise.
3883         (test-float.o): Simplify by increasing the scope of the
3884         recipe which adds libm-test.stmp to the vector types.
3885         (test-ifloat.o): Likewise.
3886         (test-float-finite.o): Likewise.
3887         (test-double.o): Likewise
3888         (test-idouble.o): Likewise.
3889         (test-double-finite.o): Likewise.
3890         (test-ldouble.o): Likewise
3891         (test-ildoubl.o): Likewise.
3892         (test-ldouble-finite.o): Likewise.
3894         (libm-tests): Redefine type tests using foreach and the
3895         list of types in types.
3897         (CPPFLAGS-test-ildoubl.c): Rename to
3898         (CPPFLAGS-test-ildouble.c): New variable
3900         * math/test-ildoubl.c: Rename to
3901         * math/test-ildouble.c: New file.
3903 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3905         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3906         Use fabsl instead of fabs.
3907         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3908         Likewise.
3909         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3910         Add long double suffix to constant to ensure proper
3911         promotion to long double.
3913 2016-08-03  Tom Tromey  <tom@tromey.com>
3915         [BZ #20311]
3916         * nptl_db/Makefile (headers): Add proc_service.h.
3917         * nptl_db/proc_service.h: Add include guard.  Use
3918         __BEGIN/__END_DECLS.
3919         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3920         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3921         arguments.
3924 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3926         [BZ #17730]
3927         Avoid using memalign for TCB allocations.
3928         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3929         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3930         Avoid alignment gap in the TLS_DTV_AT_TP case.
3931         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3932         determine the pointer to free.
3933         * nptl/tst-tls3-malloc.c: New test.
3934         * nptl/Makefile (tests): Add it.
3935         (tst-tls3-malloc): Link with libdl, libpthread.
3936         (LDFLAGS-tst-tls3-malloc): Set.
3937         (tst-tls3-malloc.out): Depend on DSO used in test.
3939 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3941         [BZ #17730]
3942         Avoid using memalign for TLS allocations.
3943         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3944         is_static member with to_free member.
3945         (union dtv): Use struct dtv_pointer.
3946         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3947         dtv_pointer instead of is_static.
3948         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3949         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3950         instead of val.
3951         (allocate_dtv_entry): New function.
3952         (allocate_and_init): Return struct dtv_pointer.  Call
3953         allocate_dtv_entry instead of __libc_memalign.
3954         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3955         instead of val.
3956         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3957         instead of is_static.  Adjust call to allocate_and_init.
3958         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3959         struct dtv_pointer instead of val.
3961 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3963         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3964         (MALLOC_ALIGN_MASK): Move ...
3965         * malloc/malloc-internal.h: ... to here.
3966         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3968 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3970         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3971         (UDP_ENCAP_GTP1U): Likewise.
3973         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3974         (PF_MAX): Update value.
3975         (AF_QIPCRTR): New macro.
3977 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3979         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3980         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3981         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3983         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3984         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3985         s_truncf-vis3, s_trunc-vis3.
3986         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3987         (CFLAGS-s_ceil-vis3.c): Likewise.
3988         (CFLAGS-s_floorf-vis3.c): Likewise.
3989         (CFLAGS-s_floor-vis3.c): Likewise.
3990         (CFLAGS-s_truncf-vis3.c): Likewise.
3991         (CFLAGS-s_trunc-vis3.c): Likewise.
3992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4000         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4001         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4002         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4003         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4005 2016-08-02  David S. Miller  <davem@davemloft.net>
4007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4008         (__nearbyint_vis3): Don't check for sNaN before float register is
4009         loaded with the incoming argument.
4010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4011         (__nearbyintf_vis3): Likewise.
4012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4013         Likewise.
4014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4015         Likewise.
4017         * string/test-strncmp.c (do_test_limit): Make sure the test data
4018         stream is aligned as required for the type "CHAR".
4019         (do_test): Likewise.
4021 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4023         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4024         by beq instructions jumping to the end of the function.
4025         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4026         clobber list. Use "i" constraint instead of "X".
4027         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4028         of "X".
4030 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4032         * bits/libc-header-start.h: New file.
4033         * Makefile (headers): Add bits/libc-header-start.h.
4034         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4035         (__GLIBC_USE): New macro.
4036         * libio/stdio.h: Define
4037         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4038         <bits/libc-header-start.h> instead of including <features.h>.
4039         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4040         (open_memstream): Likewise.
4041         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4042         (__asprintf): Likewise.
4043         (asprintf): Likewise.
4044         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4045         (getdelim): Likewise.
4046         (getline): Likewise.
4047         * string/string.h: Define
4048         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4049         <bits/libc-header-start.h> instead of including <features.h>.
4050         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4051         (strndup): Likewise.
4052         * wcsmbs/wchar.h: Define
4053         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4054         <bits/libc-header-start.h> instead of including <features.h>.
4055         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4056         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4058 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4060         Support linking against compatibility symbols, for use in tests.
4061         * include/libc-symbols.h (symbol_version_reference): New macro.
4062         (symbol_version): Use it.
4063         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4064         (compat_symbol): Use compat_symbol_reference.
4065         (compat_symbol_1, compat_symbol_2): Remove.
4066         (compat_symbol_reference, compat_symbol_reference_1)
4067         (compat_symbol_reference_2): New macro.  Use
4068         symbol_version_reference.
4070 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4072         [BZ #19469]
4073         * malloc/Makefile (CPPFLAGS): Compile tests with
4074         -DTEST_NO_MALLOPT.
4075         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4077 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4079         [BZ #20033]
4080         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4081         finite version.
4082         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4084         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4085         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4086         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4087         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4088         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4089         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4090         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4091         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4092         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4093         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4094         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4095         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4096         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4097         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4098         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4099         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4100         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4101         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4102         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4103         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4104         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4105         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4106         in zero power.
4108 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4110         [BZ #20370]
4111         * malloc/arena.c (get_free_list): Update comment.  Assert that
4112         arenas on the free list have no attached threads.
4113         (remove_from_free_list): New function.
4114         (reused_arena): Call it.
4116 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4118         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4119         when it is a NaN.
4120         [_IEEE_FP_INEXACT] Remove.
4121         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4122         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4123         when it is a NaN.
4124         [_IEEE_FP_INEXACT] Remove.
4125         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4126         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4127         when it is a NaN.
4128         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4129         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4130         when its absolute value is greater than 0x1.0p52.
4131         [_IEEE_FP_INEXACT] Remove.
4132         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4133         when its absolute value is greater than 0x1.0p23.
4134         [_IEEE_FP_INEXACT] Remove.
4136 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4138         * version.h (RELEASE): Set to "development"
4139         (VERSION): Set to 2.24.90.
4140         * NEWS: Add 2.25 section.
4142         * version.h (RELEASE): Set to "stable"
4143         (VERSION): Set to 2.24.
4144         * include/features.h (__GLIBC_MINOR__): Set to 24.
4146         * NEWS: Add 2.24 fixed bugs.
4147         * po/libc.pot: Regenerate.
4149 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4152         [$(subdir) = math] (libm-sysdep_routines): Remove.
4153         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4154         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4155         s_truncf-vis3, s_trunc-vis3.
4156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4158         file.
4159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4192         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4194         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4196         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4197         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4198         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4199         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4200         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4201         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4203 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4205         [BZ #20384]
4206         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4207         test-double-libmvec-sincos-avx-main.o,
4208         test-double-libmvec-sincos-avx2-main.o,
4209         test-double-libmvec-sincos-main.o,
4210         test-float-libmvec-sincosf-avx-main.o,
4211         test-float-libmvec-sincosf-avx2-main.o and
4212         test-float-libmvec-sincosf-main.o.
4213         test-float-libmvec-sincosf-avx512-main.o.
4214         ($(objpfx)test-double-libmvec-sincos): Also link with
4215         $(objpfx)test-double-libmvec-sincos-main.o.
4216         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4217         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4218         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4219         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4220         ($(objpfx)test-float-libmvec-sincosf): Also link with
4221         $(objpfx)test-float-libmvec-sincosf-main.o.
4222         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4223         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4224         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4225         test-double-libmvec-sincos-avx512-main.o and
4226         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4227         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4228         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4229         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4230         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4231         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4232         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4233         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4234         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4235         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4236         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4237         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4238         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4239         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4240         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4241         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4242         -DREQUIRE_AVX2.
4243         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4244         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4245         -DREQUIRE_AVX512F.
4246         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4247         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4248         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4249         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4250         file.
4251         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4252         Likewise.
4253         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4254         Likewise.
4255         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4256         Likewise.
4257         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4258         Likewise.
4259         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4260         Likewise.
4261         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4262         Likewise.
4263         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4264         Likewise.
4266 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4268         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4270 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4272         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4273         and typo in a comment about AT_HWCAP entry.
4275 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4277         * sysdeps/aarch64/libm-test-ulps: Updated.
4279 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4281         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4282         of r13 as it is not restored in mvcle case.
4284 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4286         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4287         Rename "ret" to "__ret".
4288         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4289         inline_syscall5, inline_syscall6): Likewise.
4291 2016-07-19   Will Newton  <will.newton@gmail.com>
4293         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4294         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4295         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4296         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4297         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4299 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4301         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4302         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4303         -mfpmath=387 with $(rtld-CFLAGS).
4304         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4305         $(rtld-CFLAGS).
4307 2016-07-18   Ross Burton  <ross.burton@intel.com>
4308              Khem Raj  <raj.khem@gmail.com>
4310         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4311         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4312         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4313         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4314         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4315         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4316         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4317         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4318         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4319         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4320         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4321         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4322         R_METAG_TLS_DTPOFF): New.
4324 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4325             Matt Clay  <mclay@lycos.com>
4327         [BZ #20357]
4328         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4329         to call __mpsin/__mpcos and to negate values.
4330         * math/auto-libm-test-in: Add test.
4331         * math/auto-libm-test-out: Regenerate.
4333 2016-07-18  Zack Weinberg  <zackw@panix.com>
4335         * grp/Makefile: Don't install the internal header grp-merge.h.
4337 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4339         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4341 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4343         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4345 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4347         [BZ #15368]
4348         * sysdeps/unix/sysv/linux/nptl-signals.h
4349         (__nptl_clear_internal_signals): New function.
4350         (__libc_signal_block_all): Likewise.
4351         (__libc_signal_block_app): Likewise.
4352         (__libc_signal_restore_set): Likewise.
4353         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4354         implementation.
4355         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4356         the cached pid/tid value in pthread structure.
4358 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4360         [BZ #20347]
4361         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4363 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4365         [BZ #20348]
4366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4367         preadv64, pwrite64 and pwritev64.
4369 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4371         [BZ #20350]
4372         * posix/tst-preadwrite.c: Renamed to ...
4373         * posix/tst-preadwrite-common.c: This.
4374         (PREAD): Removed.
4375         (PWRITE): Likewise.
4376         (STRINGIFY): Likewise.
4377         (STRINGIFY2): Likewise.
4378         (do_prepare): Make it static and remove function arguments.
4379         (do_test): Likewise.
4380         (PREPARE): Updated.
4381         (TEST_FUNCTION): New.
4382         (name): Make it static.
4383         (fd): Likewise.
4384         (do_prepare): Use create_temp_file.
4385         (do_test): Renamed to ...
4386         (do_test_with_offset): This.  Make it static and accept offset.
4387         Properly check return value of PWRITE and PREAD.  Return bytes
4388         read.  Don't close fd nor unlink name.
4389         * posix/tst-preadwrite.c: Rewrite.
4390         * posix/tst-preadwrite64.c: Likewise.
4392 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4394         [BZ #20309]
4395         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4396         -mtls-dialect=gnu2 works.
4397         * configure: Regenerated.
4398         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4399         (tests): Add tst-gnu2-tls1.
4400         (modules-names): Add tst-gnu2-tls1mod.
4401         ($(objpfx)tst-gnu2-tls1): New.
4402         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4403         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4404         * elf/tst-gnu2-tls1.c: New file.
4405         * elf/tst-gnu2-tls1mod.c: Likewise.
4406         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4407         bytes for push in the PLT entry to align the stack.
4409 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4411         [BZ #20349]
4412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4414 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4416         [BZ #18707]
4417         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4418         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4420 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4422         * sysdeps/unix/sysv/linux/sysdep.h
4423         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4424         guards.
4425         * misc/tst-preadvwritev-common.c: New file.
4426         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4427         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4428         a check for files larger than 2GB.
4430         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4431         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4432         * sysdeps/unix/sysv/linux/pread.c
4433         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4434         __OFF_T_MATCHES_OFF64_T.
4435         * sysdeps/unix/sysv/linux/pread64.c
4436         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4437         * sysdeps/unix/sysv/linux/preadv.c
4438         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4439         * sysdeps/unix/sysv/linux/preadv64.c
4440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4441         * sysdeps/unix/sysv/linux/pwrite.c
4442         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4443         * sysdeps/unix/sysv/linux/pwrite64.c
4444         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4445         * sysdeps/unix/sysv/linux/pwritev.c
4446         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4447         * sysdeps/unix/sysv/linux/pwritev64.c
4448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4450 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4452         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4453         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4455 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4457         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4459 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4461         [BZ #20240]
4462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4463         (CFLAGS-s_modf-ppc32.c): New variable.
4464         (CFLAGS-s_modff-ppc32.c): Likewise.
4465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4466         (CFLAGS-s_modf-ppc64.c): Likewise.
4467         (CFLAGS-s_modff-ppc64.c): Likewise.
4469 2016-07-07  Andreas Schwab  <schwab@suse.de>
4471         [BZ #20263]
4472         * nptl/tst-robust10.c: New test.
4473         * nptl/Makefile (tests): Add tst-robust10.
4475 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4477         [BZ #20263]
4478         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4480 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4482         * sysdeps/s390/linkmap.h (struct link_map_machine):
4483         Remove member gotplt and add member jmprel.
4484         * sysdeps/s390/s390-32/dl-machine.h
4485         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4486         instead of gotplt with &got[3].
4487         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4488         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4490 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4492         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4494 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4496         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4497         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4498         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4499         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4500         * libio/vtables.c (_IO_vtable_check)
4501         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4502         * libio/libioP.h (IO_set_accept_foreign_vtables)
4503         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4505 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4507         [BZ #20314]
4508         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4509         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4510         $(common-objpfx)cmath.
4511         ($(common-objpfx)cstdlib): New target.
4512         ($(common-objpfx)cmath): Likewise.
4514 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4516         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4518 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4520         [BZ #20327]
4521         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4522         are not part of the string.
4524 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4526         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4527         * nptl/tst-cancel4-common.h (fifoname): New variable.
4528         (fifofd): Likewise.
4529         (cl_fifo): New function.
4530         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4531         SIGINT.
4532         (tf_open): Add early cancel test.
4534 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4536         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4538 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4540         * sysdeps/generic/ldsodefs.h
4541         (dl_symbol_visibility_binds_local_p): New inline function.
4542         * elf/dl-addr.c (determine_info): Treat hidden and internal
4543         symbols as local.
4544         * elf/dl-lookup.c (do_lookup_x): Likewise.
4545         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4547 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4549         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4550         invalid exception for a sNaN input.
4551         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4552         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4553         (__nearbyint_vis3): Likewise
4554         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4555         (__nearbyintf_vis3): Likewise
4556         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4557         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4558         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4559         Likewise.
4560         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4561         Likewise.
4563 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4565         [BZ #20139]
4566         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4567         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4568         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4569         2.24 or above.
4570         (HAVE_AVX512_ASM_SUPPORT): Removed.
4571         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4572         * sysdeps/x86_64/configure: Regenerated.
4573         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4574         check unconditional.
4575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4576         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4577         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4578         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4579         Likewise.
4580         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4581         Likewise.
4582         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4583         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4584         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4585         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4586         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4587         Likewise.
4588         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4589         Likewise.
4590         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4591         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4593         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4594         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4595         Likewise.
4596         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4597         Likewise.
4598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4599         Likewise.
4600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4601         Likewise.
4602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4603         Likewise.
4604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4605         Likewise.
4606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4607         Likewise.
4608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4609         Likewise.
4610         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4611         Likewise.
4612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4613         Likewise.
4614         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4615         Likewise.
4617 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4619         [BZ #20024]
4620         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4621         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4622         of this implementation of vector function.
4623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4626         Likewise.
4627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4629         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4630         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4631         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4632         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4633         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4634         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4635         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4636         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4637         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4638         for testing vector sincos with fixed ABI.
4639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4640         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4641         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4642         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4643         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4645         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4646         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4647         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4648         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4649         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4650         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4651         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4652         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4653         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4654         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4656 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4658         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4660 2016-06-30  Anton Blanchard  <anton@samba.org>
4662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4663         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4664         s_sinf-ppc64.
4665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4668         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4670 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4674         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4675         e_expf-ppc64.
4676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4678         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4679         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4681 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4683         [BZ #20277]
4684         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4685         when SHARED is defined.
4687 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4689         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4690         (index_arch_Prefer_ERMS): Likewise.
4691         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4692         __memcpy_erms for Prefer_ERMS.
4693         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4694         (__memmove_erms): Enabled for libc.a.
4695         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4696         __memmove_erms or Prefer_ERMS.
4697         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4698         __mempcpy_erms for Prefer_ERMS.
4699         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4700         __memset_erms for Prefer_ERMS.
4702 2016-06-30  Andreas Schwab  <schwab@suse.de>
4704         [BZ #20262]
4705         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4706         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4707         of memory.
4709 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4711         [BZ #18645]
4712         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4713         (test-extras): Add tst-cleanupx4aux.
4714         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4715         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4716         tst-cleanupx4aux.o.
4717         * nptl/tst-cleanupx4aux.c: New file.
4719 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4721         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4723 2016-06-29  Andreas Schwab  <schwab@suse.de>
4725         [BZ #20260]
4726         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4727         address before the beginning of the string as an integer to avoid
4728         array-bounds warning.
4730 2016-06-28  Richard Henderson  <rth@redhat.com>
4732         * elf/elf.h (EM_BPF): New.
4733         (EM_NUM): Update.
4734         (R_BPF_NONE, R_BPF_MAP_FD): New.
4736         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4737         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4738         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4739         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4740         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4741         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4742         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4743         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4744         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4745         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4746         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4747         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4748         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4749         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4750         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4751         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4752         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4753         (EM_NUM): Update.
4755 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4757         [BZ #18960]
4758         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4759         Set _nl_current_LC_CATEGORY_used to two instead of one.
4761 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4763         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4764         (do_test): ... this.
4765         (TEST_FUNCTION): New macro.
4766          Include test-skeleton.c.
4767         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4768         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4770 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4772         [BZ #15479]
4773         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4774         floating-point environment rather than just control word.
4775         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4776         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4777         floating-point environment, with "invalid" exceptions merged in,
4778         rather than just control word.
4779         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4780         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4781         "inexact" exceptions.
4783         [BZ #15479]
4784         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4785         floating-point environment rather than just control word.
4786         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4787         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4788         floating-point environment, with "invalid" exceptions merged in,
4789         rather than just control word.
4790         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4791         * math/libm-test.inc (floor_test_data): Do not allow spurious
4792         "inexact" exceptions.
4794         [BZ #15479]
4795         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4796         floating-point environment rather than just control word.
4797         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4798         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4799         floating-point environment, with "invalid" exceptions merged in,
4800         rather than just control word.
4801         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4802         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4803         "inexact" exceptions.
4805 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4807         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4808         __libc_vfork.
4809         (__vfork) [IS_IN (libc)]: Remove alias.
4810         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4811         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4812         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4814 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4816         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4817         of atomic_compare_and_exchange_bool_rel.
4818         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4819         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4820         catomic_compare_and_exchange_bool_rel): Remove.
4821         * sysdeps/aarch64/atomic-machine.h
4822         (atomic_compare_and_exchange_bool_rel): Likewise.
4823         * sysdeps/alpha/atomic-machine.h
4824         (atomic_compare_and_exchange_bool_rel): Likewise.
4825         * sysdeps/arm/atomic-machine.h
4826         (atomic_compare_and_exchange_bool_rel): Likewise.
4827         * sysdeps/mips/atomic-machine.h
4828         (atomic_compare_and_exchange_bool_rel): Likewise.
4829         * sysdeps/microblaze/atomic-machine.h
4830         ( __arch_compare_and_exchange_bool_8_rel,
4831         __arch_compare_and_exchange_bool_16_rel): Likewise.
4832         * sysdeps/powerpc/atomic-machine.h
4833         ( __arch_compare_and_exchange_bool_8_rel,
4834         __arch_compare_and_exchange_bool_16_rel): Likewise.
4835         * sysdeps/powerpc/powerpc32/atomic-machine.h
4836         ( __arch_compare_and_exchange_bool_32_rel,
4837         __arch_compare_and_exchange_bool_64_rel): Likewise.
4838         * sysdeps/powerpc/powerpc64/atomic-machine.h
4839         ( __arch_compare_and_exchange_bool_32_rel,
4840         __arch_compare_and_exchange_bool_64_rel): Likewise.
4841         * sysdeps/tile/atomic-machine.h
4842         (atomic_compare_and_exchange_bool_rel): Likewise.
4844 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4846         [BZ #20296]
4847         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4848         when either argument is a NaN.
4849         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4850         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4852         * math/libm-test.inc (snan_value_ld): New macro.
4853         (isgreater_test_data): Add sNaN tests.
4854         (isgreaterequal_test_data): Likewise.
4855         (isless_test_data): Likewise.
4856         (islessequal_test_data): Likewise.
4857         (islessgreater_test_data): Likewise.
4858         (isunordered_test_data): Likewise.
4859         (nextafter_test_data): Likewise.
4860         (nexttoward_test_data): Likewise.
4861         (remainder_test_data): Likewise.
4862         (remquo_test_data): Likewise.
4863         (significand_test_data): Likewise.
4864         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4866 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4868         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4869         environment macros are defined.
4870         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4872 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4874         [BZ #20191]
4875         Implement vtable verification in libio.
4876         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4877         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4878         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4879         _IO_new_file_init_internal instead of _IO_file_init.
4880         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4881         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4882         * libio/Makefile (routines): Add vtables.
4883         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4884         (_IO_init): Remove, not for internal use.
4885         (_IO_init_internal): Declare, internal replacement for _IO_init.
4886         (_IO_file_init): Remove, not for internal use.
4887         (_IO_new_file_init): Remove, not for internal use.
4888         (_IO_new_file_init_internal): Declare, internal replacement for
4889         _IO_new_file_init.
4890         (_IO_old_file_init): Remove, not for internal use.
4891         (_IO_old_file_init_internal): Declare, internal replacement for
4892         _IO_old_file_init.
4893         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4894         internal use.
4895         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4896         Declare.
4897         (libio_vtable): New macro.
4898         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4899         functions.
4900         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4901         _IO_new_file_init.
4902         (_IO_new_file_init): New externally visible wrapper which disables
4903         vtable verification.
4904         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4905         Define as vtables.
4906         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4907         (_IO_init): New externally visible wrapper which disables
4908         vtable verification.
4909         * libio/iofdopen.c (_IO_new_fdopen): Call
4910         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4911         comment.
4912         * libio/iofopen.c (__fopen_internal): Call
4913         _IO_new_file_init_internal instead of _IO_file_init.
4914         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4915         Define as vtables.
4916         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4917         _IO_new_file_init_internal instead of _IO_file_init.
4918         * libio/iopopen.c (_IO_new_popen): Likewise.
4919         (_IO_proc_jumps): Define as vtable.
4920         * libio/iovdprintf.c (_IO_vdprintf): Call
4921         _IO_new_file_init_internal instead of _IO_file_init.
4922         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4923         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4924         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4925         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4926         _IO_old_file_init.
4927         (_IO_old_file_init): New externally visible wrapper which disables
4928         vtable verification.
4929         (_IO_old_file_jumps): Define as vtable.
4930         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4931         _IO_old_file_init_internal instead of _IO_old_file_init.
4932         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4933         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4934         (_IO_old_proc_jumps): Define as vtable.
4935         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4936         Define as vtables.
4937         * libio/vtables.c: New file.
4938         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4939         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4940         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4941         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4942         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4943         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4944         instead of _IO_init.
4946 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4948         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4950 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4952         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4953         potentially unused.
4955 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4957         * test-skeleton.c (write_message): New function.
4958         * malloc/tst-mallocfork2.c (write_message): Remove.
4959         * debug/tst-longjmp_chk2.c (write_indented): New function.
4960         (write_message): Remove.
4961         (stackoverflow_handler): Call write_indented.
4963 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4965         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4966         "inexact" exceptions after fnstenv.
4967         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4968         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4969         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4971 2015-06-22  Zack Weinberg  <zackw@panix.com>
4973         * sysdeps/generic/bits/hwcap.h: Moved to ...
4974         * bits/hwcap.h: Here.
4976 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4978         * sysdeps/aarch64/memcpy.S (memcpy):
4979         Further tuning for performance.
4981 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4983         [BZ #20284]
4984         * malloc/arena.c (reused_arena): Do not return NULL if we start
4985         out with a non-corrupted arena.
4987 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4989         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4990         * misc/tst-preadvwritev.c: New file.
4991         * misc/tst-preadvwritev64.c: Likewise.
4992         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4993         usage.
4994         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4995         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4996         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4997         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4999 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5001         [BZ #19654]
5002         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5003         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5004         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5005         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5006         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5007         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5008         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5009         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5010         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5011         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5012         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5013         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5014         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5015         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5016         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5017         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5018         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5019         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5020         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5021         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5022         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5023         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5024         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5025         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5026         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5027         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5029 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5031         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5032         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5034 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5036         * sysdeps/aarch64/memcpy.S (memcpy):
5037         Rewrite of optimized memcpy and memmove.
5038         * sysdeps/aarch64/memmove.S (memmove): Remove
5039         memmove code (merged into memcpy.S).
5041 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5043         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5044         * sysdeps/generic/dl-dtv.h: New file.
5045         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5046         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5047         (dtv_t): Remove.
5048         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5049         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5050         (dtv_t): Remove.
5051         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5052         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5053         (dtv_t): Remove.
5054         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5055         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5056         (dtv_t): Remove.
5057         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5058         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5059         (dtv_t): Remove.
5060         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5061         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5062         (dtv_t): Remove.
5063         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5064         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5065         (dtv_t): Remove.
5066         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5067         (dtv_t): Remove.
5068         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5069         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5070         (dtv_t): Remove.
5071         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5072         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5073         (dtv_t): Remove.
5074         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5075         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5076         (dtv_t): Remove.
5077         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5078         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5079         (dtv_t): Remove.
5080         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5081         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5082         (dtv_t): Remove.
5083         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5084         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5085         (dtv_t): Remove.
5086         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5087         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5088         (dtv_t): Remove.
5089         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5090         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5091         (dtv_t): Remove.
5093 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5095         Revert symbol poisoning of  __malloc_initialize_hook.
5096         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5097         poisoning.
5098         * malloc/Makefile: Remove un-poisoning.
5099         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5100         instead of old__malloc_initialize_hook.
5101         * malloc/malloc-hooks.h: Likewise.
5102         * malloc/malloc.c: Likewise.
5103         * malloc/mcheck-init.c: Likewise.
5105 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5107         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5109 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5111         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5112         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5113         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5114         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5116 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5118         * NEWS: Mention addition of nextup and nextdown.
5119         * manual/arith.texi: Document nextup and nextdown.
5120         * manual/libm-err-tab.pl: Add nextup and nextdown.
5121         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5122         * math/Versions (libm): Add GLIBC_2.24.
5123         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5124         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5125         Add new test.
5126         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5127         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5128         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5129         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5130         (nextup_test_data): Likewise.
5131         (nextdown_test_data): Likewise.
5132         * math/s_nextdown.c: New file.
5133         * math/s_nextdownf.c: Likewise.
5134         * math/s_nextdownl.c: Likewise.
5135         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5136         F(nextup): New function.
5137         F(nextdown): Likewise.
5138         * math/tgmath.h: Add nextup and nextdown.
5139         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5140         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5142         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5143         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5144         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5145         Add nextup and nextdown.
5146         (CFLAGS-nldbl-nextup.c): New variable.
5147         (CFLAGS-nldbl-nextdown.c): Likewise.
5148         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5149         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5150         * sysdeps/nacl/libm.abilist: Update.
5151         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5152         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5153         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5154         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5155         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5156         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5158         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5165         Likewise.
5166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5170         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5176         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5180 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5182         * manual/pattern.texi: Fix typos & grammar errors.
5184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5186         * manual/search.texi: Fix typos & grammar errors.
5188 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5190         * manual/message.texi: Fix typos & grammar errors.
5192 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5194         * manual/contrib.texi: Fix spelling typos.
5195         * manual/crypt.texi: Likewise.
5196         * manual/filesys.texi: Likewise.
5197         * manual/locale.texi: Likewise.
5198         * manual/message.texi: Likewise.
5199         * manual/nss.texi: Likewise.
5200         * manual/string.texi: Likewise.
5202 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5204         * manual/locale.texi: Fix typos & grammar errors.
5206 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5208         * manual/charset.texi: Fix typos & grammar errors.
5210 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5212         * manual/string.texi: Fix typos.
5214 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5216         * manual/ctype.texi: Fix typos.
5218 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5220         * manual/memory.texi: Fix various typos & grammar errors.
5222 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #20255]
5225         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5226         * math/libm-test.inc (fdim_test_data): Add another test.
5228         [BZ #6796]
5229         [BZ #20255]
5230         [BZ #20256]
5231         * math/s_fdim.c: Include <math_private.h>.
5232         (__fdim): Use math_narrow_eval on result.
5233         * math/s_fdimf.c: Include <math_private.h>.
5234         (__fdimf): Use math_narrow_eval on result.
5235         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5236         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5237         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5238         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5239         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5240         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5241         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5242         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5243         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5244         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5245         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5246         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5247         overflow.  Add sNaN tests.
5249         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5250         fpclassify.
5251         * math/s_fdimf.c (__fdimf): Likewise.
5252         * math/s_fdiml.c (__fdiml): Likewise.
5254 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5257         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5259         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5260         ifunc'ed strcasecmp/strncasecmp.
5261         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5262         [EALIGN]: Removed.
5263         [END]: Likewise.
5264         [__strcasecmp]: Define instead of the above to control symbol name.
5265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5266         for __strcasecmp_power8.
5267         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5268         for __strncasecmp_power8.
5269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5271         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5272         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5273         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5274         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5276 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5278         [BZ #20252]
5279         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5280         arguments when second argument is a NaN.
5281         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5282         qNaN tests.
5284         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5285         (conj_test_data): Likewise.
5286         (copysign_test_data): Likewise.
5287         (creal_test_data): Likewise.
5288         (fma_test_data): Likewise.
5289         (fmod_test_data): Likewise.
5291         [BZ #20250]
5292         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5293         itself.
5294         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5295         zero input to itself.
5296         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5297         Likewise.
5298         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5299         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5300         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5301         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5302         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5304 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5306         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5307         * nptl/tst-cancel4-common.c: New file.
5308         * nptl/tst-cancel4-common.h: Likewise.
5309         * nptl/tst-cancel4.c: Move common definitions to
5310         tst-cancel4-common.{c,h} file.
5311         * nptl/tst-cancel4_1.c: New test.
5312         * nptl/tst-cancel4_2.c: New test.
5314 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5316         [BZ #20248]
5317         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5318         (write_message): New function.
5319         (stackoverflow_handler): Call it instead of printf, to avoid
5320         excessive stack usage by printf.
5321         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5323 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5325         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5326         (prio_inherit_missing): Remove define.
5327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5329         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5332         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5334         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5335         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5338 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5340         [BZ #19670]
5341         [BZ #19672]
5343         * io/test-lfs.c (do_prepare): Use xmalloc.
5344         * io/tst-fcntl.c (do_prepare): Likewise.
5345         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5346         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5347         * login/tst-utmp.c (do_prepare): Likewise.
5348         * posix/tst-exec.c (do_prepare): Likewise.
5349         * posix/tst-pathconf.c (prepare): Likewise.
5350         * posix/tst-spawn.c (do_prepare): Likewise.
5351         * posix/tst-truncate.c (do_prepare): Likewise.
5352         * rt/tst-aio.c (do_prepare): Likewise.
5353         * rt/tst-aio64.c (do_prepare): Likewise.
5355 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5357         [BZ #20237]
5358         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5359         (get*ent): Set entidx to NULL during initialization.  If entidx is
5360         NULL, start iteration from the beginning.
5362 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5364         * malloc/malloc.c (musable): Return correct size for dumped fake
5365         mmapped chunk.
5367 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5369         [BZ #20222]
5370         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5371         (_IO_cookie_write): Likewise.
5372         (_IO_cookie_seek): Likewise.
5373         (_IO_cookie_close): Likewise.
5374         (_IO_old_cookie_seek): Likewise.
5375         (set_callbacks): New function.
5376         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5378 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5380         * locale/programs/localedef.c (oldstyle_tables): Remove.
5381         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5383 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5385         [BZ #20240]
5386         * math/Makefile (CFLAGS-s_modf.c): New variable.
5387         (CFLAGS-s_modff.c): Likewise.
5388         (CFLAGS-s_modfl.c): Likewise.
5389         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5391 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5393         [BZ #20215]
5394         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5395         [!__GNUC_PREREQ (3,2)]: Likewise.
5397 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5399         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5400         (msghdr.msg_controllen): Likewise.
5401         (cmsghdr.cmsg_len): Likewise.
5402         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5403         ptw-oldsendmsg.
5404         (CFLAGS-oldrecvmsg.c): Remove rule.
5405         (CFLAGS-oldsendmsg.c): Likewise.
5406         (CFLAGS-recvmsg.c): Add rule.
5407         (CFLAGS-sendmsg.c): Likewise.
5408         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5409         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5410         (CFLAGS-recvmsg.c): Remove rule.
5411         (CFLAGS-sendmsg.c): Likewise.
5412         (CFLAGS-oldrecvmsg.c): Likewise.
5413         (CFLAGS-oldsendmsg.c): Likewise.
5414         (CFLAGS-recvmmsg.c): Likewise.
5415         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5416         to kernel defined interfaces.
5417         (msghdr.msg_controllen): Likewise.
5418         (cmsghdr.cmsg_len): Likewise.
5419         (msghdr.__glibc_reserved1): Remove member.
5420         (msghdr.__glibc_reserved2): Likewise.
5421         (cmsghdr.__glibc_reserved1): Likewise.
5422         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5423         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5424         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5425         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5426         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5427         version.
5428         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5429         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5430         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5431         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5432         Remove recvmsg and sendmsg.
5433         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5434         Likewise.
5435         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5436         Likewise.
5437         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5438         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5439         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5442         Likewise.
5443         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5444         [libc] (GLIBC_2.24): Likewise.
5445         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5446         Likewise.
5447         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5448         Likewise.
5449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5450         [libc] (GLIBC_2.24): Likewise.
5451         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5454         Likewise.
5455         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5456         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5459         Likewise.
5460         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5465         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5466         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5467         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5468         version for {recv,send,recm,sendm}msg.
5469         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5470         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5471         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5472         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5473         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5474         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5475         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5476         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5477         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5478         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5479         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5480         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5482         Likewise.
5483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5484         Likewise.
5485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5487         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5489         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5490         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5495         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5497         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5499 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5501         [BZ #19564]
5502         Remove __malloc_initialize_hook from the API.
5503         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5504         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5505         #pragma GCC poison.
5506         * malloc/malloc-hooks.h: New file.
5507         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5508         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5509         (old__malloc_initialize_hook): Rename from
5510         __malloc_initialize_hook to evade poisoning.  Turn into compat
5511         symbol.
5512         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5513         __malloc_initialize_hook.
5514         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5515         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5516         * manual/memory.texi (Hooks for Malloc): Remove
5517         __malloc_initialize_hook.  Adjust hook example.
5519 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5521         [BZ #20235]
5522         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5523         itself.
5524         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5525         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5527         [BZ #20234]
5528         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5529         infinity or NaN input to itself.
5531         [BZ #20233]
5532         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5533         to itself.
5535         [BZ #20232]
5536         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5537         itself.
5539 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5541         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5542         __libc_start_main via GOT.
5544 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5546         * sysdeps/x86_64/memcopy.h: New file.
5547         * sysdeps/x86_64/wordcopy.c: Likewise.
5549 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5551         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5552         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5553         <cstdlib>.
5554         (optimization_barrier): New.
5555         (do_test): Use it.  Call quick_exit in the global namespace.
5556         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5557         instead of <cstdlib>, <thread>.
5558         (optimization_barrier): New.
5559         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5560         Call quick_exit in the global namespace.
5561         (do_test): Call optimization_barrier.  Use pthread_create,
5562         pthread_join instead of std::thread.
5564 2016-06-09  Andreas Schwab  <schwab@suse.de>
5566         [BZ #19755]
5567         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5568         new entries in auto-propagate mode.
5569         * nscd/grpcache.c (cache_addgr): Likewise.
5571 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5573         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5574         New functions.
5575         (add_temp_file): Use them.
5577 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5579         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5581 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5583         [BZ #20229]
5584         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5585         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5586         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5588         [BZ #20228]
5589         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5590         itself.
5591         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5592         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5594         [BZ #20227]
5595         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5596         itself.
5597         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5598         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5599         * math/libm-test.inc (log_test_data): Add sNaN tests.
5601         [BZ #20226]
5602         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5603         itself.
5604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5605         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5606         (exp10_test_data): Likewise.
5607         (expm1_test_data): Likewise.
5609         [BZ #20225]
5610         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5611         itself.
5612         * math/s_ldexpf.c (__ldexpf): Likewise.
5613         * math/s_ldexpl.c (__ldexpl): Likewise.
5614         * math/w_scalbln.c (__w_scalbln): Likewise.
5615         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5616         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5617         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5618         (scalbln_test_data): Likewise.
5620         [BZ #20224]
5621         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5622         argument to itself.
5623         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5625 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5627         [BZ #19776]
5628         * sysdeps/x86_64/memcpy.S: Make it dummy.
5629         * sysdeps/x86_64/mempcpy.S: Likewise.
5630         * sysdeps/x86_64/memmove.S: New file.
5631         * sysdeps/x86_64/memmove_chk.S: Likewise.
5632         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5633         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5634         * sysdeps/x86_64/memmove.c: Removed.
5635         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5636         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5637         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5638         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5639         Likewise.
5640         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5641         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5643         memcpy-sse2-unaligned, memmove-avx-unaligned,
5644         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5646         (__libc_ifunc_impl_list): Replace
5647         __memmove_chk_avx512_unaligned_2 with
5648         __memmove_chk_avx512_unaligned.  Remove
5649         __memmove_chk_avx_unaligned_2.  Replace
5650         __memmove_chk_sse2_unaligned_2 with
5651         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5652         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5653         with __memmove_avx512_unaligned.  Replace
5654         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5655         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5656         with __memcpy_chk_avx512_unaligned.  Remove
5657         __memcpy_chk_avx_unaligned_2.  Replace
5658         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5659         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5660         Replace __memcpy_avx512_unaligned_2 with
5661         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5662         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5663         with __mempcpy_chk_avx512_unaligned.  Remove
5664         __mempcpy_chk_avx_unaligned_2.  Replace
5665         __mempcpy_chk_sse2_unaligned_2 with
5666         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5667         Replace __mempcpy_avx512_unaligned_2 with
5668         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5669         Replace __mempcpy_sse2_unaligned_2 with
5670         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5671         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5672         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5673         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5674         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5675         (ENTRY): Removed.
5676         (END): Likewise.
5677         (ENTRY_CHK): Likewise.
5678         (libc_hidden_builtin_def): Likewise.
5679         Don't include ../memcpy.S.
5680         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5681         __memcpy_chk_avx512_unaligned_erms and
5682         __memcpy_chk_avx512_unaligned.  Use
5683         __memcpy_chk_avx_unaligned_erms and
5684         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5685         Default to __memcpy_chk_sse2_unaligned.
5686         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5687         Change function suffix from unaligned_2 to unaligned.
5688         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5689         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5690         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5691         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5692         (ENTRY): Removed.
5693         (END): Likewise.
5694         (ENTRY_CHK): Likewise.
5695         (libc_hidden_builtin_def): Likewise.
5696         Don't include ../mempcpy.S.
5697         (mempcpy): New.  Add a weak alias.
5698         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5699         __mempcpy_chk_avx512_unaligned_erms and
5700         __mempcpy_chk_avx512_unaligned.  Use
5701         __mempcpy_chk_avx_unaligned_erms and
5702         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5703         Default to __mempcpy_chk_sse2_unaligned.
5705 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5707         [BZ #19881]
5708         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5709         into ...
5710         * sysdeps/x86_64/memset.S: This.
5711         (__bzero): Removed.
5712         (__memset_tail): Likewise.
5713         (__memset_chk): Likewise.
5714         (memset): Likewise.
5715         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5716         defined.
5717         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5718         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5719         (__memset_zero_constant_len_parameter): Check SHARED instead of
5720         PIC.
5721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5722         memset-avx2 and memset-sse2-unaligned-erms.
5723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5724         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5725         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5726         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5727         (__bzero): Enabled.
5728         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5729         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5730         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5731         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5732         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5733         (memset): Removed.
5734         (__memset_chk): Likewise.
5735         (MEMSET_SYMBOL): New.
5736         (libc_hidden_builtin_def): Replace __memset_sse2 with
5737         __memset_sse2_unaligned.
5738         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5739         __memset_chk_sse2 and __memset_chk_avx2 with
5740         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5741         Use __memset_chk_sse2_unaligned_erms or
5742         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5743         __memset_chk_avx512_unaligned_erms and
5744         __memset_chk_avx512_unaligned.
5746 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5748         * math/gen-auto-libm-test.c (fp_format_desc): remove
5749         suffix member.
5750         (output_generic_value): Remove usage of suffix member,
5751         and the resulting unuse of the fp_format argument.
5752         (output_for_one_input_case): Remove unused fp_format
5753         parameter.
5755         * math/auto-libm-test-out: Regenerate.
5757         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5758         usage with TEST_COND_ibm128.
5759         (TEST_COND_flt_32): Remove.
5760         (TEST_COND_dbl_64): Remove.
5761         (TEST_COND_ldbl_96_intel): Remove.
5762         (TEST_COND_ldbl_96_m68k): Remove.
5763         (TEST_COND_ldbl_128): Remove.
5765 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5767         * auto-libm-test-in:
5768         Replace flt-32 usage with binary32.
5769         Replace dbl-64 usage with binary64.
5770         Replace ldbl-intel-96 usage with intel96.
5771         Replace ldbl-m68k-96 usage with m68k96.
5772         Replace ldbl-128ibm usage with ibm128.
5773         Replace ldbl-128 usage with binary128.
5775         * auto-libm-test-out: Regenerate.
5777 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5779         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5780         (parse_ulps): Dynamically generate type name matching
5781         string from all_floats.
5782         (get_ulps): Generate the ulps as an array instead.
5783         (output_ulps): Dynamically compose the type based
5784         on the number of supported formats, and print
5785         the indices as type specific helper macros.
5787         * math/libm-test.inc: Remove comment about CHOOSE.
5788         (ulp_data): Generate the type in libm-test-ulps.h.
5789         (ULP_IDX): New macro.
5790         (find_ulps): Update usage of max_ulp.
5792         * math/test-double-vlen2.h (CHOOSE): Remove.
5793         * math/test-double-vlen4.h (CHOOSE): Likewise.
5794         * math/test-double-vlen8.h (CHOOSE): Likewise.
5795         * math/test-float.c (CHOOSE): Likewise.
5796         * math/test-float-finite.c (CHOOSE): Likewise.
5797         * math/test-double.c (CHOOSE): Likewise.
5798         * math/test-double-finite.c (CHOOSE): Likewise.
5799         * math/test-idouble.c (CHOOSE): Likewise.
5800         * math/test-ifloat.c (CHOOSE): Likewise.
5801         * math/test-ildoubl.c (CHOOSE): Likewise.
5802         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5803         * math/test-ldouble.c (CHOOSE): Likewise.
5805         * math/test-float.h (TEST_FLOAT): Remove.
5806         * math/test-double.h (TEST_DOUBLE): Likewise.
5807         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5809 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5811         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5812         (parse_args): Strip C suffix from floating point literals
5813         typed with 'f' and wrap them with LIT().
5815         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5816         (test_ff_f_data_nexttoward): Rename to
5817         (test_fj_f_data): New struct.
5818         (nexttoward_test_data): Relabel tests as
5819         TEST_fj_f instead of TEST_ff_f.
5821 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5823         Emacs bug 23726.
5824         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5825         (__libc_realloc): Correct size computation for dumped fake mmapped
5826         chunks.
5828 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #20219]
5831         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5832         to itself.
5833         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5835         [BZ #20218]
5836         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5837         to itself.
5838         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5840 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5842         [BZ #20195]
5843         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5844         check to ...
5845         (init_cpu_features): Here.
5847 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5849         [BZ #20214]
5850         * sysdeps/unix/sysv/linux/bits/in.h
5851         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5852          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5853         Define to 1.
5854         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5855          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5856         Define to 0.
5857         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5858         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5860 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5862         [BZ #20198]
5863         * stdlib/Makefile (tests): Add tst-quick_exit, and
5864         tst-thread-quick_exit.
5865         [ifeq ($(have-cxx-thread_local),yes)]
5866         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5867         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5868         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5869         (LDLIBS-tst-thread-quick_exit): Likewise.
5870         [ifneq ($(have-cxx-thread_local),yes)]
5871         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5872         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5873         If run_dtors is true call __call_tls_dtors.
5874         (exit): Call __run_exit_handlers with run_dtors set to true.
5875         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5876         definition.
5877         * stdlib/quick_exit.c (quick_exit): Remove function.
5878         (__new_quick_exit): New function.
5879         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5880         function.
5881         * stdlib/tst-quick_exit.cc: New file.
5882         * stdlib/tst-thread-quick_exit.cc: New file.
5883         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5884         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5885         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5886         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5887         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5888         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5889         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5890         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5891         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5892         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5893         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5894         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5895         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5896         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5897         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5898         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5903         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5904         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5905         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5906         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5907         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5910         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5911         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5912         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5914 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5916         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5917         a typo in comments.
5919 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5921         [BZ #20213]
5922         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5923         argument to itself.
5924         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5926 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5928         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5929         required flags.
5930         (CFLAGS-pwritev64.c): Likewise.
5931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5933         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5934         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5935         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5937         syscall from auto-generation.
5938         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5939         [WORDSIZE == 64] (pwritev64): Remove macro.
5940         [!PWRITEV] (PWRITEV): Likewise.
5941         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5942         [!PWRITEV] (PWRITE): Likewise.
5943         [!PWRITEV] (OFF_T): Likewise.
5944         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5945         (LO_HI_LONG): Remove macro.
5946         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5947         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5948         (PWRITEV): Remove macro.
5949         (PWRITEV_REPLACEMENTE): Likewise.
5950         (PWRITE): Likewise.
5951         (OFF_T): Likewise.
5952         (pwritev64): New function.
5953         * nptl/tst-cancel4.c (tf_writev): Add test.
5955         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5956         required flags.
5957         (CFLAGS-preadv64.c): Likewise.
5958         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5959         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5960         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5961         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5962         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5963         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5964         syscall from auto-generation.
5965         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5966         [WORDSIZE == 64] (preadv64): Remove macro.
5967         [!PREADV] (PREADV): Likewise.
5968         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5969         [!PREADV] (PREAD): Likewise.
5970         [!PREADV] (OFF_T): Likewise.
5971         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5972         (LO_HI_LONG): Remove macro.
5973         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5974         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5975         (PREADV): Remove macro.
5976         (PREADV_REPLACEMENTE): Likewise.
5977         (PREAD): Likewise.
5978         (OFF_T): Likewise.
5979         (preadv64): New function.
5980         * nptl/tst-cancel4.c (tf_preadv): Add test.
5982 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5984         [BZ #20212]
5985         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5986         argument to itself.
5987         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5989 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5991         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5992         New symbol defined as libc_hidden_def.
5993         (strcasestr): Became a weak alias to __strcasestr.
5994         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5995         according to multi-arch support.  Move __stpncpy hidden
5996         definition from here to...
5997         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5998         symbol stpncpy.
5999         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6000         libc_hidden_builtin_def.
6001         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6002         memset symbol to use when multi-arch support is available.
6004 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6006         * dlfcn/tst-rec-dlopen.c: Include string.h.
6008 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6010         * manual/install.texi: Remove mention of --without-tls
6011         * INSTALL: Regenerate.
6013 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6015         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6016         Remove.
6017         (call_function, interposed_malloc_called): New variables.
6018         (malloc): New function.
6019         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6020         and clear call_function as needed.
6022 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6024         * include/wchar.h (__wmemset): Use __typeof.
6026 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6028         * include/wchar.h (__wmemset): Declare function without typeof.
6030 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6032         [BZ #20205]
6033         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6034         exponent when incrementing negative subnormal with low mantissa
6035         word zero.
6036         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6037         Add another test.
6039 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6041         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6042         __wmemset instead of wmemset.
6044 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6046         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6047         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6048         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6049         __USE_KERNEL_IPV6_DEFS to 0.
6050         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6051         Update comment.
6053 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6055         [BZ #19861]
6056         Do not use IFUNC resolver with potentially unrelocated symbol.
6057         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6058         (DEFINE_FORK): Remove macro and inline definition.
6059         (fork_alias): Renamed from fork_ifunc.
6060         (__fork_alias): Renamed from __fork_ifunc.
6062 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6064         [BZ 19653]
6065         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6066         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6068 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6070         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6071         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6072         i386-linux-gnu).
6073         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6074         Set to no.
6075         * sysdeps/mach/hurd/configure: Refresh.
6077 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6079         [BZ #20178]
6080         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6081         on failure instead of exit.
6083 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6085         [BZ #3629]
6086         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6087         of POSIX.1-2008.
6089 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6091         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6092           Use PLT entry for calling _hurd_self_sigstate.
6094 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6096         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6097         available logical processors with SMT level type sharing L2
6098         cache for Intel processors.
6100 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6102         [BZ #20160]
6103         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6104         argument to itself before returning the result.
6105         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6106         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6107         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6108         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6109         Likewise.
6110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6111         Likewise.
6112         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6113         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6114         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6115         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6116         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6117         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6119         [BZ #20160]
6120         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6121         argument to itself before returning the result.
6122         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6123         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6124         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6126         Likewise.
6127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6128         Likewise.
6129         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6130         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6131         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6132         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6133         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6134         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6136 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6138         * libm-test.inc: Replace usage of M_El with
6139         (lit_e): New macro.
6141 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6143         * libm-test.inc: Replace usage of M_PI_4l with
6144         (lit_pi_4_d): New macro.
6146 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6148         * libm-test.inc: Replace usage of M_PIl with
6149         (lit_pi): New macro.
6151 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6153         * libm-test.inc: Replace usage of M_PI2l with
6154         (lit_pi_2_d): New macro.
6156         * math/test-double.h (LITM): New macro.
6157         * math/test-float.h (LITM): Likewise.
6158         * math/test-ldouble.h (LITM): Likewise.
6160 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6162         * libm-test.inc (M_PI_34l): Rename to
6163         (lit_pi_3_m_4_d): New Macro.
6164         (M_PI_34_LOG10El): Rename to
6165         (lit_pi_3_m_4_ln10_m_d): New Macro.
6166         (M_PI2_LOG10El): Rename to
6167         (lit_pi_2_ln10_m_d):  New Macro.
6168         (M_PI4_LOG10El): Rename to
6169         (lit_pi_4_ln10_m_d):  New Macro.
6170         (M_PI_LOG10El): Rename to
6171         (lit_pi_ln10_d):  New Macro.
6173 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6175         [BZ #20157]
6176         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6177         determine whether to negate low half if [_ARCH_PPCGR], and integer
6178         comparison otherwise.
6179         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6180         determine whether to negate low half.
6182         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6183         (NO_TEST_INLINE_DOUBLE): Likewise.
6184         (TEST_COND_x86_64): Likewise.
6185         (TEST_COND_x86): Likewise.
6186         (M_PI_6l): Likewise.
6188 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6190         * math/libm-test.inc:
6191         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6192         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6193         (TEST_LDOUBLE): Update usage to evaluate as true if
6194         the guarded tests match the property being tested.
6195         (LDBL_MAX_EXP): Change to MAX_EXP.
6196         (LDBL_MIN_EXP): Change to MIN_EXP.
6197         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6198         nexttoward tests.
6200 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6202         * math/libm-test.inc:
6203         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6204         (TYPE_MIN): Likewise.
6205         (TYPE_TRUE_MIN): Likewise.
6206         (TYPE_MAX): Likewise.
6207         (MIN_EXP): Likewise.
6208         (MAX_EXP): Likewise.
6209         (MANT_DIG): Likewise.
6211         (FSTR_MAX): New macro.
6212         (__CONCATX): Likewise.
6213         (QTYPE_STR): Likewise.
6214         (TEST_COND_binary32): Likewise.
6215         (TEST_COND_binary64): Likewise.
6216         (TEST_COND_binary128): Likewise.
6217         (TEST_COND_ibm128): Likewise.
6218         (TEST_COND_intel96): Likewise.
6219         (TEST_COND_m68k96): Likewise.
6221         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6222         (TEST_COND_dbl_64): Likewise.
6223         (TEST_COND_ldbl_96_intel): Likewise.
6224         (TEST_COND_ldbl_96_m68k): Likewise.
6225         (TEST_COND_ldbl_128): Likewise.
6226         (TEST_COND_ldbl_128ibm): Likewise.
6228         (plus_zero): Redefine using LIT macro.
6229         (minus_zero): Likewise.
6230         (plus_infty): Redefine as (INF).
6231         (minux_infty): Redefine as (-INF).
6232         (max_value): Redefine as TYPE_MAX.
6233         (min_value): Redefine as TYPE_MIN.
6234         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6236         (print_float): Refactor to use snprintf to convert FLOAT values
6237         to string. This brings it closer to dropin replacement of strtof
6238         for the TS 18661 defined types.
6239         (update_stats): Likewise.
6240         (print_complex_function_ulps): Likewise.
6241         (print_max_error): Likewise.
6242         (print_complex_max_error): Likewise.
6243         (check_float_internal): Likewise.
6245         * math/test-float.h (PREFIX): New macro.
6246         (LIT): Likewise.
6247         (TYPE_STR): Likewise.
6248         (FTOSTR): Likewise.
6250         * math/test-double.h (PREFIX): New macro.
6251         (LIT): Likewise.
6252         (TYPE_STR): Likewise.
6253         (FTOSTR): Likewise.
6255         * math/test-ldouble.h (PREFIX): New macro.
6256         (LIT): Likewise.
6257         (TYPE_STR): Likewise.
6258         (FTOSTR): Likewise.
6260 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #20156]
6263         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6264         to itself when zero or not finite.
6265         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6266         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6267         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6268         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6270 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6272         [BZ #20153]
6273         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6274         x * x + x for infinities and NaNs.
6276         [BZ #20151]
6277         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6278         argument to itself before returning result.
6279         (__ieee754_y0l): Likewise.
6280         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6281         (__ieee754_y1l).
6283         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6284         (atan_test_data): Likewise.
6285         (ceil_test_data): Likewise.
6286         (cos_test_data): Likewise.
6287         (cosh_test_data): Likewise.
6288         (erf_test_data): Likewise.
6289         (exp2_test_data): Likewise.
6290         (fabs_test_data): Likewise.
6291         (floor_test_data): Likewise.
6292         (ilogb_test_data): Likewise.
6293         (j0_test_data): Likewise.
6294         (j1_test_data): Likewise.
6295         (jn_test_data): Likewise.
6296         (lgamma_test_data): Likewise.
6297         (lrint_test_data): Likewise.
6298         (llrint_test_data): Likewise.
6299         (logb_test_data): Likewise.
6300         (lround_test_data): Likewise.
6301         (llround_test_data): Likewise.
6302         (nearbyint_test_data): Likewise.
6303         (rint_test_data): Likewise.
6304         (round_test_data): Likewise.
6305         (sin_test_data): Likewise.
6306         (sincos_test_data): Likewise.
6307         (sinh_test_data): Likewise.
6308         (sqrt_test_data): Likewise.
6309         (tan_test_data): Likewise.
6310         (tanh_test_data): Likewise.
6311         (tgamma_test_data): Likewise.
6312         (trunc_test_data): Likewise.
6313         (y0_test_data): Likewise.
6314         (y1_test_data): Likewise.
6315         (yn_test_data): Likewise.
6317         * math/libm-test.inc: Update comment about NaN testing.
6318         (TEST_SNAN): New macro.
6319         (snan_value): Likewise.
6320         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6321         (fpclassify_test_data): Add sNaN tests.
6322         (isfinite_test_data): Likewise.
6323         (isinf_test_data): Likewise.
6324         (isnan_test_data): Likewise.
6325         (isnormal_test_data): Likewise.
6326         (issignaling_test_data): Likewise.
6327         (signbit_test_data): Likewise.
6328         * math/gen-libm-test.pl (%beautify): Add snan_value.
6329         (show_exceptions): Add argument $test_snan.
6330         (parse_args): Handle snan_value as non-finite.  Update call to
6331         show_exceptions.
6332         * math/Makefile (libm-test-no-inline-cflags): Add
6333         -fsignaling-nans.
6335 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6337         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6338         (CFLAGS-oldsendmsg.c): Add rule.
6339         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6340         Correct recvmsg symbol name.
6341         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6342         Likewise.
6344 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6346         * sysdeps/unix/sysv/linux/Makefile
6347         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6348         oldsendmmsg.
6349         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6350         sendmmsg.
6351         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6352         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6353         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6354         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6357         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6359         Likewise.
6360         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6361         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6362         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6363         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6364         iovlen and controllen fields to adjust to POSIX specification.
6365         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6367         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6368         and change to correct expected type.
6369         (msghdr.msg_controllen): Likewise.
6370         (cmsghdr.cmsg_len): Likewise.
6371         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6372         expected POSIX assumption about the size.
6373         (msghdr.msg_controllen): Likewise.
6374         (msghdr.__glibc_reserved1): Likewise.
6375         (msghdr.__glibc_reserved2): Likewise.
6376         (cmsghdr.cmsg_len): Likewise.
6377         (cmsghdr.__glibc_reserved1): Likewise.
6378         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6379         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6380         (CFLAGS-sendmsg.c): Remove rule.
6381         (CFLAGS-recvmsg.c): Likewise.
6382         (CFLAGS-oldsendmsg.c): Add rule.
6383         (CFLAGS-oldrecvmsg.c): Likewise.
6384         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6385         recvmsg and sendmsg.
6386         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6387         Likewise.
6388         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6389         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6390         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6391         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6392         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6393         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6396         Likewise.
6397         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6398         Likewise.
6399         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6400         Likewise.
6401         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6402         Likewise.
6403         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6404         Likewise.
6405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6406         (GLIBC_2.24): Likewise.
6407         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6410         Likewise.
6411         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6412         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6413         Likewise.
6414         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6415         Likewise.
6416         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6417         Likewise.
6418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6419         (GLIBC_2.24): Likewise.
6420         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6421         Likewise.
6422         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6423         Likewise.
6424         * sysdeps/unix/sysv/linux/Makefile
6425         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6426         (CFLAGS-sendmsg.c): Add rule.
6427         (CFLAGS-recvmsg.c): Likewise.
6428         (CFLAGS-oldsendmsg.c): Likewise.
6429         (CFLAGS-oldrecvmsg.c): Likewise.
6430         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6431         initialization.
6432         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6433         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6434         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6435         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6436         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6437         iovlen and controllen fields to adjust to POSIX specification.
6438         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6439         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6440         added recvmsg and sendmsg.
6441         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6450         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6454         Likewise.
6455         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6457         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6458         Likewise.
6459         Likewise.
6460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6461         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6462         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6463         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6464         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6465         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6471         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6473         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6474         from auto-generation.
6475         (sendmsg): Likewise.
6476         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6477         (sendmsg): Likewise.
6478         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6479         (sendmsg): Likewise.
6480         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6481         (sendmsg): Likewise.
6482         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6483         (sendmsg): Likewise.
6484         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6485         (sendmsg): Likewise.
6486         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6487         Likewise.
6488         (sendmsg): Likewise.
6489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6490         (sendmsg): Likewise.
6491         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6493         Remove.
6494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6495         Likewise.
6496         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6497         Undefine.
6498         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6499         Likewise.
6500         * sysdeps/unix/sysv/linux/kernel-features.h
6501         (__ASSUME_SENDMSG_SYSCALL): Define.
6502         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6503         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6504         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6505         Remove.
6506         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6507         Likewise.
6508         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6509         Undefine.
6510         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6514         Remove.
6515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6516         Likewise.
6517         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6518         Undefine.
6519         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6520         Likewise.
6521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6522         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6523         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6524         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6525         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6526         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6527         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6528         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6529         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6531 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6533         * stdlib/gen-tst-strtod-round.c: Add backslash to
6534         compile command in comment.
6535         (printfp): Remove the literal suffix, and define an infinite
6536         value as INF to avoid expansion clash with INFINITY.
6537         (round_str): Remove the literal suffix.
6538         (round_for_all): Likewise, remove the now duplicate ldbl-64
6539         entry, and remove some magic constants.
6541         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6542         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6543         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6544         (_CONCAT): New macro.
6545         (CONCAT): Likewise.
6546         (CHOOSE_ld): Likewise.
6547         (CHOOSE_f): Likewise.
6548         (CHOOSE_d): Likewise.
6549         (FTYPE_MEMBER): Likewise.
6550         (BOOL_MEMBER): Likewise.
6551         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6552         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6553         (_XNTRY): Likewise.
6554         (XNTRY): Likewise.
6555         (_ENTRY): Likewise.
6556         (ENTRY): Likewise.
6557         (test_exactness): Generate members via macro.
6558         (test_results): Likewise.
6559         (test): Update members.
6560         (TEST): Redefine using new macros.
6561         (INF): New macro.
6562         (fetestmodes): New structure.
6563         (do_test): Refactor to be type generic.
6564         (test_in_one_mode): Refactor duplicate code into
6565         (GEN_ONE_TEST): New macro.
6567         * stdlib/tst-strtod-round-data.h: Regenerate.
6569         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6570         Extend to pass additional arbitrary parameters to
6571         generators.
6573 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6575         [BZ #15479]
6576         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6577         floating-point state after first floating-point operation on
6578         input.  Restore full floating-point state instead of just rounding
6579         mode.
6580         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6581         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6582         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6583         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6584         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6586         [BZ #15479]
6587         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6588         floating-point state after first floating-point operation on
6589         input.  Restore full floating-point state instead of just rounding
6590         mode.
6591         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6592         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6593         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6594         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6595         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6597 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6599         [BZ #19727]
6600         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6601         valid high surrogate.
6602         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6603         of an utf16 surrogate.
6604         * iconv/gconv_simple.c (BODY): Likewise.
6605         * iconvdata/bug-iconv12.c: New file.
6606         * iconvdata/Makefile (tests): Add bug-iconv12.
6608 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6610         [BZ #19726]
6611         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6612         outptrp in case of an illegal input.
6613         * iconv/tst-iconv6.c: New file.
6614         * iconv/Makefile (tests): Add tst-iconv6.
6616 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6618         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6619         an error in case of a value in range of an utf16 low surrogate.
6621 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6623         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6624         an error in case of a value in range of an utf16 low surrogate.
6626 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6628         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6629         Move to ...
6630         * sysdeps/s390/Makefile: ... here.
6631         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6632         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6633         (BRANCH_ON_COUNT): New define.
6634         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6635         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6636         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6637         run on s390-32, too.
6638         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6639         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6640         run on s390-32, too.
6641         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6642         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6643         run on s390-32, too.
6645 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6647         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6648         etf3eh or new vector loop-variant.
6650 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6652         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6653         etf3eh or new vector loop-variant.
6655 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6657         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6658         or new vector loop-variant.
6660 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6662         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6663         Rename to TR_LOOP and usage of tr instead of troo instruction.
6665 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6667         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6668         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6670 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6672         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6673         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6674         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6675         New override define.
6676         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6678 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6680         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6681         * sysdeps/s390/configure.ac: Add test for S390 vector register
6682         support in gcc.
6683         * sysdeps/s390/configure: Regenerated.
6685 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6687         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6688         Install file from $(objpfx)gconv-modules.
6689         ($(objpfx)gconv-modules): Concatenate architecture specific file
6690         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6691         * sysdeps/s390/gconv-modules: New file.
6692         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6693         Deleted.
6694         ($(objpfx)gconv-modules-s390): Deleted.
6695         (sysdeps-gconv-modules): New variable.
6697 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6699         [BZ #15479]
6700         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6701         of immediate operand to rounding instruction.
6702         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6703         Likewise.
6704         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6705         Likewise.
6706         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6707         Likewise.
6709 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6711         * math/libm-test.inc (MIN_EXP): Directly define as
6712         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6714 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6716         * math/libm-test.inc (MANT_DIG): Directly define as
6717         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6719 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6721         * stdlib/gen-tst-strtod-round.c (main):
6722           Change usage to more closely match the generated
6723           output.  Add usage and compilation instructions.
6724           (string_to_fp): Add and use FILE* parameter as
6725           output target.
6726           (print_fp): Likewise.
6727           (round_str): Likewise.
6728           (round_for_all): Likewise.
6729         * stdlib/tst-strtod-round.c (tests): Move into
6730         * stdlib/tst-strtod-round-data.h: New file.
6732 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6734         [BZ #15479]
6735         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6736         (__round): Do not force "inexact" exception.
6737         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6738         variable.
6739         (__round): Do not force "inexact" exception.
6740         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6741         (__roundf): Do not force "inexact" exception.
6742         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6743         (__roundl): Do not force "inexact" exception.
6744         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6745         (__roundl): Do not force "inexact" exception.
6746         * math/libm-test.inc (round_test_data): Do not allow spurious
6747         "inexact" exceptions.
6749         [BZ #15479]
6750         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6751         exception in comment.
6752         (huge): Remove variable.
6753         (__floor): Do not force "inexact" exception.
6754         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6755         "inexact" exception in comment.
6756         (huge): Remove variable.
6757         (__floor): Do not force "inexact" exception.
6758         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6759         exception in comment.
6760         (huge): Remove variable.
6761         (__floorf): Do not force "inexact" exception.
6762         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6763         exception in comment.
6764         (huge): Remove variable.
6765         (__floorl): Do not force "inexact" exception.
6767         [BZ #15479]
6768         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6769         exception in comment.
6770         (huge): Remove variable.
6771         (__ceil): Do not force "inexact" exception.
6772         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6773         "inexact" exception in comment.
6774         (huge): Remove variable.
6775         (__ceil): Do not force "inexact" exception.
6776         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6777         (__ceilf): Do not force "inexact" exception.
6778         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6779         exception in comment.
6780         (huge): Remove variable.
6781         (__ceill): Do not force "inexact" exception.
6783 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6785         * config.h.in (BIND_NOW): New.
6786         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6787         * configure: Regenerated.
6788         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6789         indirect branch via the GOT slot.
6791 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6793         [BZ #19765]
6794         * sysdeps/s390/mempcpy.S: New File.
6795         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6797         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6798         Add mempcpy variants.
6799         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6800         (memcpy): Adjust to be usable from mempcpy entry point.
6801         (__memcpy_mvcle): Likewise.
6802         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6803         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6804         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6805         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6806         (__memcpy_z10): Likewise.
6807         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6809 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6811         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6812         Remove __GI_ symbol.
6813         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6814         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6815         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6816         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6817         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6818         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6820 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6822         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6823         Use cghi instead of chi to compare 64bit value.
6825 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6827         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6828         Jump to 1MB check before executing mvc-loop.
6830 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6832         [BZ #6527]
6833         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6834         unconditionally.
6835         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6837 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6839         * stdlib/tst-strtod6.c (do_test): Use new type generic
6840         invocation of the test function.
6841         (test): Refactor into ...
6842         (TEST_STRTOD): New macro base function.
6844 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6846         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6847         (TEST_STRTOD): New macro.
6848         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6850 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6852         * stdlib/tst-strtod6.c (do_test): Use new type generic
6853         invocation of the test function.
6854         (test): Refactor into ...
6855         (TEST_STRTOD): New macro base function.
6857 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6859         CVE-2016-4429
6860         [BZ #20112]
6861         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6862         payload.
6864 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6866         [BZ #20111]
6867         * bits/sockaddr.h (_SS_SIZE): Define.
6868         * bits/socket.h (_SS_SIZE): Remove.
6869         (_SS_PADSIZE): Adjust to account for all padding.
6870         (struct sockaddr_storage): Update comment.  Avoid implicit
6871         padding.
6872         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6873         (_SS_PADSIZE): Adjust to account for all padding.
6874         (struct sockaddr_storage): Update comment.  Avoid implicit
6875         padding.
6876         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6877         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6878         (_SS_PADSIZE): Adjust to account for all padding.
6879         (struct sockaddr_storage): Update comment.  Avoid implicit
6880         padding.
6881         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6882         __SS_SIZE is 126 in this version.
6883         * inet/tst-sockaddr.c: New file.
6884         * inet/Makefile (tests): Add tst-sockaddr.c
6885         (tst-sockaddr.c): Compile with non-strict aliasing.
6887 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6889         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6890         [XPG3 || XPG4].
6891         (NL_ARGMAX): Also expect for [XPG3].
6892         (NL_LANGMAX): Likewise.
6893         (NL_MSGMAX): Likewise.
6894         (NL_NMAX): Likewise.
6895         (NL_SETMAX): Likewise.
6896         (NL_TEXTMAX): Likewise.
6897         (NZERO): Likewise.
6898         (TMP_MAX): Likewise.
6899         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6900         variable.
6902         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6903         (PF_MAX): Update value.
6904         (AF_KCM): New macro.
6905         (SOL_NETBEUI): Likewise.
6906         (SOL_LLC): Likewise.
6907         (SOL_DCCP): Likewise.
6908         (SOL_NETLINK): Likewise.
6909         (SOL_TIPC): Likewise.
6910         (SOL_RXRPC): Likewise.
6911         (SOL_PPPOL2TP): Likewise.
6912         (SOL_BLUETOOTH): Likewise.
6913         (SOL_PNPIPE): Likewise.
6914         (SOL_RDS): Likewise.
6915         (SOL_IUCV): Likewise.
6916         (SOL_CAIF): Likewise.
6917         (SOL_ALG): Likewise.
6918         (SOL_NFC): Likewise.
6919         (SOL_KCM): Likewise.
6920         (MSG_BATCH): New enum value and macro.
6922 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6924         [BZ #18185]
6925         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6926         sharing L2 cache to 2 for Knights Landing.
6928 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6930         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6931         (FTW_DP): Do not expect for [XPG3 || XPG4].
6932         (FTW_SL): Do not expect for [XPG3].
6933         (FTW_SLN): Likewise.
6934         (FTW_PHYS): Likewise.
6935         (FTW_MOUNT): Likewise.
6936         (FTW_DEPTH): Likewise.
6937         (FTW_CHDIR): Likewise.
6938         (nftw): Likewise.
6939         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6940         variable.
6942 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6944         * manual/errno.texi: Fix various typos & grammar errors.
6946 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6948         * manual/intro.texi: Fix duplicated typo.
6950 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #13304]
6953         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6954         <float.h>, <math_private.h> and <stdlib.h>.
6955         (add_split): New function.
6956         (mul_split): Likewise.
6957         (ext_val): New typedef.
6958         (store_ext_val): New function.
6959         (mul_ext_val): New function.
6960         (compare): New function.
6961         (add_split_ext): New function.
6962         (__fmal): After checking for Inf, NaN and zero, compute result as
6963         an exact sum of scaled double values in round-to-nearest before
6964         adding those up and adjusting for other rounding modes.
6965         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6966         tests of fma.
6967         * math/auto-libm-test-out: Regenerated.
6969 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6971         [BZ #20119]
6972         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6973         processor level type mask for CPUID with EAX == 11.
6975 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6977         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6978         logical threads if the HTT bit is 0.
6979         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6980         (index_cpu_HTT): Likewise.
6981         (reg_HTT): Likewise.
6983 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6985         [BZ #20115]
6986         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6987         Remove alignments on jump targets.
6989 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6991         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6992         (getpwent): Likewise.
6993         (setpwent): Likewise.
6994         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6995         variable.
6997         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6998         (remque): Likewise.
6999         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7000         variable.
7002 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7004         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7005         not being tested.
7007 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7010         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7011         call.
7012         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7013         (__condvar_cleanup1): Likewise.
7015 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7017         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7018         New
7019         (__pthread_unwind): Renamed to ...
7020         (PTHREAD_UNWIND): This.
7021         (__pthread_enable_asynccancel): Replace
7022         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7024 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7026         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7027         (CLONE_NEWCGROUP): New macro.
7029         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7030         (Q_GETNEXTQUOTA): New macro.
7032 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7034         [BZ #19907]
7035         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7036         buffer updated by the previous run.
7037         * string/test-memcpy.c (do_one_test): Likewise.
7038         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7039         * string/test-memmove.c (do_one_test): Likewise.
7041 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7043         [BZ #20094]
7044         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7045         not [__USE_XOPEN].
7046         (unlockpt): Likewise.
7047         (ptsname): Likewise.
7048         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7049         variable.
7051         [BZ #20076]
7052         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7053         instead of [__USE_UNIX98].
7054         (S_ISSOCK): Likewise.
7055         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7056         variable.
7058         [BZ #20074]
7059         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7060         [__USE_POSIX].
7061         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7062         variable.
7064         [BZ #20051]
7065         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7066         (ttyslot): Do not declare.
7067         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7068         (ttyslot): New prototype.
7069         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7070         variable.
7071         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7073 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7075         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7077 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7079         Fix race condition in tst-mallocfork2, use fewer resources.
7080         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7081         to current process group.
7082         (signal_sender): Yield in the non-sleeping case.
7084 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7086         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7087         (ecvt): Likewise.
7088         (fcvt): Likewise.
7089         (gcvt): Likewise.
7090         (getsubopt): Likewise.
7091         (grantpt): Likewise.
7092         (initstate): Likewise.
7093         (l64a): Likewise.
7094         (mktemp): Likewise.
7095         (mkstemp): Likewise.
7096         (ptsname): Likewise.
7097         (random): Likewise.
7098         (realpath): Likewise.
7099         (setstate): Likewise.
7100         (srandom): Likewise.
7101         (ttyslot): Likewise.
7102         (unlockpt): Likewise.
7103         (valloc): Likewise.
7105         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7106         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7107         variable.
7109 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7111         [BZ #20072]
7112         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7113         init_cpu_features only if SHARED is defined.
7114         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7116 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7118         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7119         non-inclusive caches on Intel processors.
7121 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7123         * malloc/malloc.c (dumped_main_arena_start)
7124         (dumped_main_arena_end): New variables.
7125         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7126         (do_check_chunk): Skip dumped fake mmapped chunks.
7127         (munmap_chunk): Likewise.
7128         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7129         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7130         mmapped chunks.
7131         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7132         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7133         and dumped_main_arena_end to cover the dumped heap.
7135 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7137         * conform/data/time.h-data (getdate_err): Do not expect for
7138         [XPG3].
7139         (getdate): Likewise.
7140         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7141         variable.
7143         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7144         (F_ULOCK): Likewise.
7145         (F_TEST): Likewise.
7146         (F_TLOCK): Likewise.
7147         (useconds_t): Likewise.
7148         (intptr_t): Do not expect for [XPG3] or [XPG4].
7149         (brk): Do not expect for [XPG3]
7150         (fchown): Likewise.
7151         (fchdir): Likewise.
7152         (ftruncate): Likewise.
7153         (getdtablesize): Likewise.
7154         (gethostid): Likewise.
7155         (getpagesize): Likewise.
7156         (getpgid): Likewise.
7157         (getsid): Likewise.
7158         (getwd): Likewise.
7159         (lchown): Likewise.
7160         (lockf): Likewise.
7161         (readlink): Likewise.
7162         (sbrk): Likewise.
7163         (setpgrp): Likewise.
7164         (setregid): Likewise.
7165         (setreuid): Likewise.
7166         (symlink): Likewise.
7167         (sync): Likewise.
7168         (truncate): Likewise.
7169         (ualarm): Likewise.
7170         (usleep): Likewise.
7171         (vfork): Likewise.
7172         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7173         variable.
7175         [BZ #20054]
7176         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7177         not [__USE_UNIX98].
7178         * conform/data/unistd.h-data (gethostname): Do not expect for
7179         [XPG3].
7181         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7182         [!POSIX] (S_IFBLK): Likewise.
7183         [!POSIX] (S_IFCHR): Likewise.
7184         [!POSIX] (S_IFIFO): Likewise.
7185         [!POSIX] (S_IFREG): Likewise.
7186         [!POSIX] (S_IFDIR): Likewise.
7187         [!POSIX] (S_IFLNK): Likewise.
7188         [!POSIX] (S_IFSOCK): Likewise.
7189         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7190         variable.
7191         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7193 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7195         * sysdeps/aarch64/memset.S (__memset):
7196         Rewrite of optimized memset.
7198 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7200         [BZ #19703]
7201         Partially async-signal-safe fork for single-threaded processes.
7202         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7203         variable.  Do not acquire and reset/release malloc and libio locks
7204         in single-threaded processes.
7205         * malloc/tst-mallocfork2.c: New file.
7206         * malloc/Makefile (tests): Add it.
7208 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7210         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7211         argument.  Use scratch buffer instead of extend_alloca.
7212         (gethosts): Use scratch buffer instead of extend_alloca.
7213         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7214         extend_alloca.
7215         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7217 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7219         [BZ #20055]
7220         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7221         instead of [__USE_UNIX98].
7222         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7223         [__USE_UNIX98].
7224         * conform/data/termios.h-data (tcgetsid): Do not expect for
7225         [XPG3].
7226         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7227         variable.
7228         (test-xfail-XPG4/termios.h/conform): Likewise.
7230 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7232         Do not use mcheck in localedef.
7233         * locale/programs/localedef.c (turn_on_mcheck)
7234         (__malloc_initialize_hook): Remove.
7236 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7238         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7239         * sysdeps/s390/s390-64/Makefile: Likewise.
7241 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7243         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7244         Remove ifunc-defines.sym.
7245         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7246         Likewise.
7247         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7248         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7249         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7250         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7251         rtld-global-offsets.sym.
7252         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7253         * sysdeps/x86/cpu-features-offsets.sym: This.
7254         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7255         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7257 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7259         [BZ #20073]
7260         * io/sys/stat.h (fchmod): Declare for
7261         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7262         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7263         variable.
7265         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7266         [XPG3] (S_IFSOCK): Likewise.
7267         [XPG3] (S_ISVTX): Likewise.
7268         [XPG3] (S_ISLNK): Likewise.
7269         [XPG3] (S_ISSOCK): Likewise.
7270         [XPG3] (fchmod): Likewise.
7271         [XPG3] (lstat): Likewise.
7272         [XPG3] (mknod): Likewise.
7274         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7275         [XPG3].  Expect type long and XFAIL for [XPG4].
7276         (st_blocks): Likewise.
7278         [BZ #20044]
7279         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7280         (pthread_atfork): New prototype.
7281         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7282         variable.
7284         [BZ #20043]
7285         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7286         prototype.
7288 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7290         [BZ #20017]
7291         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7292         gmtime.
7294 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7296         [BZ #19994]
7297         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7298         flag in _res.options.
7300 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7302         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7303         [XPG3 || XPG4].
7304         (blksize_t): Likewise.
7305         (clockid_t): Likewise.
7306         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7307         variable.
7308         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7310 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7312         * sysdeps/unix/sysv/linux/s390/init-first.c:
7313         Add VDSO_SYMBOL(getcpu).
7314         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7315         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7316         Add VDSO_SYMBOL(getcpu).
7317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7318         New define HAVE_GETCPU_VSYSCALL.
7319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7321 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7323         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7324         instead of <sysdeps/x86_64/cacheinfo.c>.
7325         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7326         * sysdeps/x86/cacheinfo.c: Here.
7328 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7330         * malloc/malloc-internal.h: Adjust header file guard.
7332 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7334         [BZ #19787]
7335         * inet/getnameinfo.c (check_sprintf_result): New function.
7336         (CHECKED_SNPRINTF): New macro.
7337         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7338         to the host buffer.
7339         (gni_host_local): Use checked_copy to copy the host name.
7340         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7341         (gni_serv_local): Use checked_copy to copy the service name.
7342         (getnameinfo): Remove unnecessary truncation of result buffers.
7344 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7346         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7347         in case of inet_ntop failure.
7349 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7351         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7352         avoid long lines.
7353         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7354         variables.
7355         (gni_host_inet, gni_host_local): Add comment.
7356         (gni_host): Add comment.  Use temporary to avoid long lines.
7358 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7360         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7361         registers specifiers where general purpose registers specifiers should
7362         have been used.
7364 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7366         [BZ #19779]
7367         CVE-2016-1234
7368         Avoid copying names of directory entries.
7369         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7370         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7371         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7372         (struct readdir_result): New type.
7373         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7374         (GL_READDIR): New macros.
7375         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7376         (convert_dirent, convert_dirent64): New functions.
7377         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7378         convert_dirent64.  Adjust references to the readdir result.
7379         * sysdeps/unix/sysv/linux/i386/glob64.c:
7380         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7381         * posix/bug-glob2.c (LONG_NAME): Define.
7382         (filesystem): Add LONG_NAME.
7383         (my_DIR): Increase the size of room_for_dirent.
7385 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7387         [BZ #20041]
7388         * misc/sys/select.h (__need_timespec): Only define if
7389         [__USE_XOPEN2K].
7390         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7391         variable.
7392         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7393         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7394         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7396 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7397             Segher Boessenkool  <segher@gcc.gnu.org>
7399         [BZ #20004]
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7401         (__novec_swapcontext): Add missing load.
7403 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7405         [BZ #20023]
7406         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7407         <time.h>.
7408         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7409         variable.
7410         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7412 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7415         flags CLONE_VM compare.
7417 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7419         [BZ #20031]
7420         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7421         completely empty.
7423 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7425         [BZ #19573]
7426         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7427         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7428         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7429         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7430         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7431         (hesiod_free_list): Mark as hidden.
7432         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7433         res_set, res_get.
7434         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7435         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7436         (hesiod_init): Remove obsolete res_ninit call.
7437         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7438         (hesiod_bind): Do not call init.
7439         (get_txt_records): Use res_mkquery, res_send instead of
7440         res_nmkquery, res_nsend.
7441         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7442         instead of _nss_hesiod_init.
7443         (_nss_hesiod_initgroups_dyn): Likewise.
7444         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7445         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7446         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7448 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7450         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7451         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7453 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7455         * hesiod/hesiod.h: Remove RCS keyword.
7456         * hesiod/hesiod_p.h: Likewise.
7458         * hesiod/hesiod.c: Likewise.
7460 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7462         [BZ #12450]
7463         * locale/iso-639.def: Add Samogitian/sgs.
7465 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7467         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7469         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7471 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7472             Carlos O'Donell  <carlos@redhat.com>
7474         [BZ #19072]
7475         * grp/Makefile (headers): Add grp-merge.h
7476         (routines): Add grp-merge.
7477         * grp/getgrgid_r.c: Include grp-merge.h.
7478         (DEEPCOPY_FN): Define.
7479         (MERGE_FN): Define.
7480         * grp/getgrname_r.c: Include grp-merge.h.
7481         (DEEPCOPY_FN): Define.
7482         (MERGE_FN): Define.
7483         * grp/grp-merge.c: New file.
7484         * grp/grp-merge.h: New file.
7485         * include/grp-merge.h: New file.
7486         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7487         __copy_grp@GLIBC_PRIVATE.
7488         * manual/nss.texi (Actions in the NSS configuration): Describe
7489         return, continue, and merge.
7490         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7491         (DEEPCOPY_FN): Define.
7492         (MERGE_FN): Define.
7493         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7494         (DEEPCOPY_FN): Define.
7495         (MERGE_FN): Define.
7496         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7497         [!MERGE_FN]: Define __merge_einval.
7498         (CHECK_MERGE): Define.
7499         (REENTRANT_NAME): Process merge if do_merge is true.
7500         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7501         (__nss_getent_r): Likewise.
7502         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7503         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7505 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7507         [BZ #20012]
7508         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7509         length to calculate the buffer to read.
7510         (fmemopen_write): Set the buffer position based on bytes written.
7511         (fmemopen_seek): Return EINVAL for invalid whence modes.
7513         [BZ #19957]
7514         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7515         tst-getpid2.
7516         (test): Add tst-clone2.
7517         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7518         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7519         pid/tid fields for CLONE_VM.
7520         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7521         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7522         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7523         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7524         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7525         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7526         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7527         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7529         Likewise.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7531         Likewise.
7532         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7533         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7534         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7535         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7536         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7537         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7538         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7539         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7541 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7543         [BZ #19642]
7544         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7545         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7546         (gni_serv_local, gni_serv): New functions extracted from
7547         getnameinfo.
7548         (getnameinfo): Call gni_host and gni_serv to perform the
7549         processing.  Always free scratch buffer.
7551 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7553         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7554         remaining bytes in the dest string, with zeros.
7556 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7558         [BZ #20010]
7559         CVE-2016-3706
7560         * sysdeps/posix/getaddrinfo.c
7561         (convert_hostent_to_gaih_addrtuple): New function.
7562         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7563         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7564         AF_INET data.
7566 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7568         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7569         callback function gl_readdir.
7570         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7571         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7572         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7573         memcpy to copy the name.
7574         * manual/pattern.texi (Calling Glob): Document requirements for
7575         implementations of the gl_readdir callback function.
7576         * manual/examples/mkdirent.c: New example.
7577         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7578         per the manual guidance.
7579         * posix/tst-gnuglob.c (my_readdir): Likewise.
7581 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #20014]
7584         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7585         not [__USE_POSIX].
7586         (getchar_unlocked): Likewise.
7587         (putc_unlocked): Likewise.
7588         (putchar_unlocked): Likewise.
7589         (flockfile): Likewise.
7590         (ftrylockfile): Likewise.
7591         (funlockfile): Likewise.
7592         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7593         variable.
7594         (test-xfail-XPG4/stdio.h/conform): Likewise.
7596         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7597         Expect constant.
7598         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7599         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7600         variable.
7601         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7602         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7604         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7605         [__USE_LARGEFILE64] (off64_t): Likewise.
7606         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7607         variable.
7609 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7611         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7615         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7616         * resolv/res_init.c: Likewise.
7617         * resolv/res_mkquery.c: Likewise.
7619 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7621         * resolv/res_init.c (isascii): Do not define.  Use definition in
7622         <ctype.h>.
7623         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7624         (LOG_AUTH): Remove.
7625         (SPRINTF): Remove, adjust caller.
7626         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7628 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7630         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7631         SUNSECURITY conditional.
7632         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7634 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7636         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7637         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7638         Remove BSD-related preprocessor conditionals.
7639         * conf/portability.h: Remove.
7641 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7643         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7644         * resolv/res_data.c: Likewise.
7646 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7648         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7649         * resolv/res_data.c: Remove code conditional on ultrix.
7651 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7653         * resolv/res_init.c (RFC1535): Do not define.  Remove
7654         RFC1535 preprocessor conditionals.
7655         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7656         because there configuration options which make the resolver
7657         behavior different.
7659 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7661         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7662         RESOLVSORT preprocessor conditionals.
7663         * resolv/nss_dns/dns-host.c: Likewise.
7664         * resolv/res_init.c: Likewise.
7666 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7668         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7669         is never defined.
7671 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7673         * inet/inet_lnaof.c: Remove SCSS keyword.
7674         * inet/inet_mkadr.c: Likewise.
7675         * inet/inet_net.c: Likewise.
7676         * inet/inet_netof.c: Likewise.
7677         * inet/rcmd.c: Likewise.
7678         * inet/rexec.c: Likewise.
7679         * inet/ruserpass.c: Likewise.
7681 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7683         * resolv/inet_addr.c: Remove _LIBC conditionals.
7684         * resolv/res_data.c: Likewise.
7685         * resolv/res_init.c: Likewise.
7686         * resolv/res_mkquery.c: Likewise.
7687         * resolv/res_libc.c: Update comment.
7688         * resolv/README: Update.
7690 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7692         * resolv/gethnamaddr.c: Remove SCSS keyword.
7693         * resolv/herror.c: Likewise.
7694         * resolv/inet_addr.c: Likewise.
7695         * resolv/inet_net_ntop.c: Likewise.
7696         * resolv/inet_net_pton.c: Likewise.
7697         * resolv/inet_neta.c: Likewise.
7698         * resolv/inet_ntop.c: Likewise.
7699         * resolv/inet_pton.c: Likewise.
7700         * resolv/ns_date.c: Remove RCS keyword.
7701         * resolv/ns_name.c: Likewise.
7702         * resolv/ns_netint.c: Likewise.
7703         * resolv/ns_parse.c: Likewise.
7704         * resolv/ns_print.c: Likewise.
7705         * resolv/ns_samedomain.c: Likewise.
7706         * resolv/ns_ttl.c: Likewise.
7707         * resolv/nsap_addr.c: Likewise.
7708         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7709         * resolv/res_data.c: Remove RCS keyword.
7710         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7711         * resolv/res_init.c: Likewise.
7712         * resolv/res_mkquery.c: Likewise.
7713         * resolv/res_query.c: Likewise.
7714         * resolv/res_send.c: Likewise.
7716 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7718         * conform/data/stdio.h-data (fdopen): Expect also for
7719         [XPG3 || XPG4].
7721         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7722         (fseeko): Likewise.
7723         (ftello): Likewise.
7724         (ftrylockfile): Likewise.
7725         (funlockfile): Likewise.
7726         (getc_unlocked): Likewise.
7727         (getchar_unlocked): Likewise.
7728         (putc_unlocked): Likewise.
7729         (putchar_unlocked): Likewise.
7731 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7733         [BZ #19868]
7734         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7735         DNS packet syntax checks (which were not needed before).  Skip
7736         over non-PTR records.
7738 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7740         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7741         definition.  Include <stddef.h> instead.
7743 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7745         [BZ #19831]
7746         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7747         function.
7748         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7749         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7751 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7753         [BZ #19862]
7754         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7755         (getanswer_r): Do not call syslog.
7756         (gaih_getanswer_slice): Likewise.
7757         * resolv/gethnamaddr.c (AskedForGot): Remove.
7758         (getanswer): Do not call syslog.
7759         (gethostbyaddr): Likewise.
7761 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7763         * conform/data/signal.h-data (union sigval): Expect also if
7764         [XOPEN2K].
7765         (struct sigevent): Likewise.
7766         (SIGEV_NONE): Likewise.
7767         (SIGEV_SIGNAL): Likewise.
7768         (SIGEV_THREAD): Likewise.
7769         (SIGRTMIN): Likewise.
7770         (SIGRTMAX): Likewise.
7771         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7772         variable.
7773         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7775 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7777         [BZ #19830]
7778         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7779         (gaih_getanswer_slice): Likewise.
7780         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7781         Also check for availability of RR metadata.
7783 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7785         [BZ #19825]
7786         * resolv/res_send.c (send_vc): Remove early *resplen2
7787         initialization.  Set *resplen2 on socket error.  Call
7788         close_and_return_error for other errors.
7790 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7792         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7793         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7794         (SCM_IUCV_TRGCLS): New define.
7796 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7798         [BZ #20005]
7799         * libio/fmemopen.c (fmemopen_write): Update internal position after
7800         write.
7801         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7802         * stdio-common/tst-fmemopen4.c: New file..
7804 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7806         [BZ #19996]
7807         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7808         not [__USE_XOPEN2K].
7809         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7810         variable.
7812         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7813         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7814         variable.
7816         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7817         [__USE_XOPEN2K8].
7818         [__USE_LARGEFILE64] (off64_t): Likewise.
7819         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7820         variable.
7822 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7824         [BZ #19989]
7825         * libio/stdio.h (cuserid): Do not declare if
7826         [__USE_XOPEN2K && !__USE_GNU].
7827         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7828         variable.
7830 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7832         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7833         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7835         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7836         ifunc'ed strcspn.
7837         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7838         [EALIGN]: Removed.
7839         [END]: Likewise
7840         [STRSPN]: Define instead of the above to control symbol name.
7841         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7842         New file.
7843         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7844         Likewise.
7845         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7846         Likewise.
7847         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7848         Likewise.
7849         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7850         [INITIAL_MASK]: New macro.
7851         [STRCSPN]: Likewise.
7852         [UPDATE_MASK]: Likewise.
7853         [USE_AS_STRCSPN]: Lisewise.
7855 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7857         [BZ #19931]
7858         * stdio-common/tst-vfprintf-width-prec.c: New file.
7859         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7860         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7861         (generated): Add mtrace-related files.
7862         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7863         (tst-%-mem.out): New pattern rule, replaces
7864         tst-printf-bz18872-mem.out.
7865         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7866         specifier, deallocate any previously allocated work buffer.
7868 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7870         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7871         Add nop before __startcontext, add explaining comments.
7873 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7875         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7876         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7877         completely different API.
7879         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7880         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7881         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7882         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7883         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7884         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7885         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7886         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7887         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7888         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7890 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7892         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7894 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7896         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7897         when it is the default of 0.
7899 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7901         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7902         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7903         (sysdep_routines): Add new strcasestr targets.
7904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7905         (__libc_ifunc_impl_list): Likewise.
7906         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7907         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7908         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7909         * sysdeps/powerpc/powerpc64/power8/Makefile:
7910         New file to add strcasestr-ppc64 to sysdep_routines.
7911         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7912         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7914 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7916         * benchtests/Makefile (wcsmbs-benchset): Include only for
7917         native builds and runs.
7918         (LOCALES): Likewise.
7919         (bench-build): Build timing-type here instead of the bench
7920         target.  Generate locale only for native builds.
7921         * benchtests/README: Add note for cross-building.
7923         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7925         * benchtests/README: Update README to include instructions on
7926         using bench-build.
7928         * Makefile.in (bench-build): New target.
7929         * Rules (PHONY): Add bench-build target.
7930         * benchtests/Makefile (bench): Depend on bench-build.
7931         (bench-build): New target.
7933 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7935         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7936         profil_reply_port.
7937         (profile_waiter): Do not initialize profil_reply_port.
7938         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7939         frequency instead of tick length in us.
7941 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7943         [BZ #18712]
7944         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7945         (__old_mempcpy_small): Likewise.
7946         (__old_strcpy_small): Likewise.
7947         (__old_stpcpy_small): Likewise.
7948         (__old_strpbrk_c2): Fix compat symbol name.
7949         (__old_strpbrk_c3): Likewise.
7950         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7951         (__mempcpy_small): Remove.
7952         (__strcpy_small): Remove.
7953         (__stpcpy_small): Remove.
7955 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7957         [BZ #19400]
7958         * locale/iso-639.def: Add the Talossan/tzl language.
7960 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7962         [BZ #16983]
7963         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7964         comment.  Add "ln" to strchr check on postal_fmt.
7966 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7968         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7969         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7970         tel_dom_fmt.
7972 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7974         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7975         (sysdep_routines): Added __strlen_power8.
7976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7977         __strlen_power8 entry.
7978         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7979         Implementation for POWER8.
7980         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7981         for __strlen_power8.
7982         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7983         Implementation for POWER8.
7985 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7987         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7989 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7991         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7992         Goldmont and Airmont processors.
7994 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7996         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7997         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7998         (__STRING2_SMALL_GET32): Remove.
7999         (memset): Remove.
8000         (__memset_1): Remove.
8001         (__memset_gc): Remove.
8002         (__mempcpy): Remove.
8003         (mempcpy): Remove.
8004         (__mempcpy_args): Remove.
8005         (strchr): Remove.
8006         (strcpy): Remove.
8007         (strcpy_args): Remove.
8008         (__stpcpy_args): Remove.
8009         (__strcmp_cc): Remove.
8010         (__strcmp_gc): Remove.
8011         (strstr): Remove.
8013 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8015         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8016         * nis/nis_call.c (nis_server_cache_add): Likewise.
8018 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8020         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8022 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8024         * malloc/arena.c (__malloc_fork_lock_parent)
8025         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8026         internal_function attribute.
8028 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8030         * stdio-common/printf_fp.c (__printf_fp_l):
8031         Rename ___printf_fp_l to __printf_fp_l and
8032         remove strong alias. Use libc_hidden_def instead
8033         of ldbl_hidden_def macro.
8035 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8037         Remove malloc hooks from fork handler.  They are no longer needed
8038         because malloc runs right before fork, and no malloc calls from
8039         other fork handlers are not possible anymore.
8040         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8041         declarations.
8042         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8043         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8044         (atfork_recursive_cntr): Remove.
8045         (__malloc_fork_lock_parent): Do not override malloc hooks and
8046         thread_arena.
8047         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8048         thread_arena.
8049         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8050         thread_arena instead of save_arena.
8052 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8054         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8055         (thread_atfork, thread_atfork_static): Remove.
8056         * sysdeps/mach/hurd/malloc-machine.h:
8057         (thread_atfork, thread_atfork_static): Remove.
8059 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8061         [BZ #19431]
8062         Run the malloc fork handler as late as possible to avoid deadlocks.
8063         * malloc/malloc-internal.h: New file.
8064         * malloc/malloc.c: Include it.
8065         * malloc/arena.c (ATFORK_MEM): Remove.
8066         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8067         Update comment.
8068         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8069         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8070         Remove outdated comment.
8071         (ptmalloc_init): Do not call thread_atfork.  Remove
8072         thread_atfork_static.
8073         * malloc/tst-malloc-fork-deadlock.c: New file.
8074         * Makefile (tests): Add tst-malloc-fork-deadlock.
8075         (tst-malloc-fork-deadlock): Link against libpthread.
8076         * manual/memory.texi (Aligned Memory Blocks): Update safety
8077         annotation comments.
8078         * sysdeps/nptl/fork.c (__libc_fork): Call
8079         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8080         __malloc_fork_unlock_child.
8081         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8083 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8085         [BZ #19613]
8086         Remove union wait.
8087         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8088         (w_stopsig, w_stopval): Remove.
8089         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8090         stat_loc argument.
8091         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8092         (__WAIT_STATUS_DEFN): Remove.
8093         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8094         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8095         (wait, wait3, wait4): Use int * for the stat_loc argument.
8096         * posix/wait.c (__wait): Likewise.
8097         * posix/wait3.c (__wait3): Likewise.
8098         * posix/wait4.c (__wait4): Likewise.
8099         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8100         (__WAIT_STATUS_DEFN): Remove.
8101         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8102         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8103         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8104         argument.
8105         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8106         * sysdeps/posix/wait3.c (__wait3): Likewise.
8107         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8108         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8109         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8110         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8111         stat_loc argument.
8112         * manual/process.texi (BSD Wait Functions): Remove union wait.
8114 2016-04-13  Andreas Schwab  <schwab@suse.de>
8116         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8117         (test-extras): Add tst-tlsalign-vars.
8118         * math/Makefile: Wrap long lines.
8119         (libm-vec-test-wrappers): Define.
8120         (test-extras): Add $(libm-vec-test-wrappers).
8121         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8122         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8123         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8124         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8125         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8126         (extra-test-objs): Add corresponding objects.
8128 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8130         [BZ #19928]
8131         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8132         New.
8133         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8134         times of shared cache size.
8135         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8136         (VMOVNT): New.
8137         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8138         (VMOVNT): Likewise.
8139         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8140         (VMOVNT): Likewise.
8141         (VMOVU): Changed to movups for smaller code sizes.
8142         (VMOVA): Changed to movaps for smaller code sizes.
8143         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8144         comments.
8145         (PREFETCH): New.
8146         (PREFETCH_SIZE): Likewise.
8147         (PREFETCHED_LOAD_SIZE): Likewise.
8148         (PREFETCH_ONE_SET): Likewise.
8149         Rewrite to use forward and backward loops, which move 4 vector
8150         registers at a time, to support overlapping addresses and use
8151         non temporal store if size is above the threshold and there is
8152         no overlap between destination and source.
8154 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8156         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8157         Include dl-vdso.
8158         * sysdeps/unix/sysv/linux/mips/Versions: Add
8159         __vdso_clock_gettime.
8160         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8161         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8162         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8163         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8164         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8165         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8166         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8167         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8168         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8170 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8172         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8173         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8175         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8176         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8177         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8180         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8181         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8182         syscalls generation.
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8184         [__NR_pwrite64] (__NR_write): Remove define.
8185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8186         [__NR_pwrite64] (__NR_write): Remove define.
8187         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8188         Remove define.
8189         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8190         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8191         Remove define.
8192         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8193         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8194         Linux implementation as base.
8195         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8197         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8198         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8203         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8205         syscall generation.
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8207         [__NR_pread64] (__NR_pread): Remove define.
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8209         [__NR_pread64] (__NR_pread): Likewise.
8210         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8211         define.
8212         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8213         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8214         Remove define.
8215         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8216         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8217         Linux implementation as base.
8218         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8219         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8220         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8222         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8223         definition.
8224         (__ALIGNMENT_COUNT): Likewise.
8225         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8226         (__ALIGNMENT_COUNT): Likewise.
8227         (SYSCALL_LL): New define.
8228         (SYSCALL_LL64): Likewise.
8229         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8230         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8231         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8232         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8234         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8235         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8237         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8238         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8239         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8241 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8243         [BZ #19865]
8244         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8245         original buffer before retry.
8247 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8249         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8250         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8251         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8252         GLRO(dl_auxv) list.
8253         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8254         including <ldsodefs.h>.
8255         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8257 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8259         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8260         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8261         $(CPPFLAGS).
8263 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8265         [BZ #17950]
8266         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8267         Add -mfpmath=387.
8269 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8271         * sysdeps/i386/configure.ac: Change == to = when calling test.
8272         * sysdeps/x86_64/configure.ac: Likewise.
8273         * sysdeps/i386/configure: Regenerated.
8274         * sysdeps/x86_64/configure: Likewise.
8276 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8278         [BZ #16137]
8279         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8280         * benchtests/bench-strcoll.c (input_files): Likewise.
8281         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8282         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8283         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8285 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8287         [BZ #19929]
8288         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8289         [__USE_XOPEN2K8 && !__USE_GNU].
8290         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8291         variable.
8293         [BZ #19925]
8294         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8295         define if [!__USE_MISC && __USE_XOPEN2K].
8296         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8297         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8298         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8299         Likewise.
8300         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8301         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8302         variable.
8303         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8305 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8307         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8308         (sysdep_routines): Add new strspn targets.
8309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8310         (__libc_ifunc_impl_list): Add strspn.
8311         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8312         New file.
8313         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8314         Likewise.
8315         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8316         Likewise.
8317         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8318         Likewise.
8320 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8322         * misc/hsearch_r.c: Include <limits.h>.
8324 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8326         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8328 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8330         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8331         (MEMCPY_SYMBOL): New.
8332         (MEMPCPY_SYMBOL): Likewise.
8333         (MEMMOVE_CHK_SYMBOL): Likewise.
8334         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8335         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8336         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8337         Provide alias for memcpy in libc.a and ld.so.
8339 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8341         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8342         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8343         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8344         Disabled fro now.
8345         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8346         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8348 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8350         * benchtests/Makefile (string-benchset): Add memcpy-large,
8351         memmove-large and memset-large.
8352         * benchtests/bench-memcpy-large.c: New file.
8353         * benchtests/bench-memmove-large.c: Likewise.
8354         * benchtests/bench-memmove-large.c: Likewise.
8355         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8357 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8359         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8360         32-bit displacement to avoid long nop between instructions.
8362 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8364         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8365         a comment on VMOVU and VMOVA.
8367 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8369         [BZ #19633]
8370         Use specified locale for number formatting in strfmon_l.
8371         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8372         (__nl_lookup_word): New inline functions.
8373         * include/printf.h (__print_fp_l): Declare.
8374         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8375         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8376         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8377         (___printf_fp): New function.
8378         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8379         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8380         * stdlib/tst-strfmon_l.c (do_test): New test.
8381         * stdlib/Makefile (tests): Add kt.
8382         (LOCALES): Build additional locales.
8383         (tst-strfmon_l.out): Require locales.
8385 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8387         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8388         if not in libc.
8389         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8390         Likewise.
8391         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8392         Likewise.
8393         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8394         Likewise.
8396 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8398         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8399         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8400         with unaligned_erms.
8401         (__memmove_erms): Skip if source == destination.
8402         (__memmove_unaligned_erms): Don't check source == destination
8403         first.
8405 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8407         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8408         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8410 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8412         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8413         * string/strspn.c (strspn): Likewise.
8415 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8417         * benchtests/bench-memset.c (do_test): Support 64-byte
8418         alignment.
8419         (test_main): Test 64-byte alignment.
8421 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8423         * benchtests/bench-memmove.c (test_main): Test 64-byte
8424         alignment.
8426 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8428         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8430 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8432         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8433         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8434         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8436         * string/strpbrk.c (strpbrk): Rewrite function.
8437         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8438         (__strpbrk_c2): Likewise.
8439         (__strpbrk_c3): Likewise.
8440         * string/string-inlines.c
8441         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8442         Likewise.
8443         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8444         Likewise.
8446         * string/strspn.c (strcspn): Rewrite function.
8447         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8448         (__strspn_c1): Remove inline function.
8449         (__strspn_c2): Likewise.
8450         (__strspn_c3): Likewise.
8451         * string/string-inlines.c
8452         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8453         compatibility symbol.
8454         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8455         Likewise.
8456         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8457         Likewise.
8458         * string/string-inlines.c: Include generic version.
8460 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8461             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8463         * string/Version (libc): Add GLIBC_2.24.
8464         * string/strcspn.c (strcspn): Rewrite function.
8465         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8466         (__strcspn_c1): Remove inline function.
8467         (__strcspn_c2): Likewise.
8468         (__strcspn_c3): Likewise.
8469         * string/string-inline.c
8470         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8471         compatibility symbol.
8472         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8473         Likewise.
8474         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8475         Likewise.
8476         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8478 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8480         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8481         Use ahi instead of aghi to adjust stack pointer.
8483 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8485         [BZ #19853]
8486         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8487         TEST to take significant digits as second parameter.
8488         [TEST]: Redefine in terms of TEST_N taking 30
8489         significant digits.
8490         (do_test): Add test case to demonstrate precision
8491         failure in the ldbl-128ibm printf.
8492         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8493         (__mpn_extract_long_double): Carry 7 extra intermediate
8494         bits of precision to aide computing difference when
8495         signs differ.
8497 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8499         [BZ #19881]
8500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8501         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8502         memset-avx512-unaligned-erms.
8503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8504         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8505         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8506         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8507         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8508         __memset_sse2_unaligned_erms, __memset_erms,
8509         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8510         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8511         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8512         file.
8513         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8514         Likewise.
8515         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8516         Likewise.
8517         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8518         Likewise.
8520 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8522         [BZ #19776]
8523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8524         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8525         memmove-avx512-unaligned-erms.
8526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8527         (__libc_ifunc_impl_list): Test
8528         __memmove_chk_avx512_unaligned_2,
8529         __memmove_chk_avx512_unaligned_erms,
8530         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8531         __memmove_chk_sse2_unaligned_2,
8532         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8533         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8534         __memmove_avx512_unaligned_erms, __memmove_erms,
8535         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8536         __memcpy_chk_avx512_unaligned_2,
8537         __memcpy_chk_avx512_unaligned_erms,
8538         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8539         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8540         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8541         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8542         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8543         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8544         __mempcpy_chk_avx512_unaligned_erms,
8545         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8546         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8547         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8548         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8549         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8550         __mempcpy_erms.
8551         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8552         file.
8553         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8554         Likwise.
8555         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8556         Likwise.
8557         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8558         Likwise.
8560 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8562         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8563         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8564         (La_s390_64_regs): Likewise.
8565         (La_s390_32_retval): Append vector register lrv_v24.
8566         (La_s390_64_retval): Likeweise.
8567         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8568         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8569         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8570         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8572 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8574         [BZ #19916]
8575         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8576         to create a non-vector/vector version for _dl_runtime_resolve and
8577         _dl_runtime_profile. Move implementation to ...
8578         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8579         (_dl_runtime_resolve) Save and restore fpr/vrs.
8580         (_dl_runtime_profile) Save and restore vrs and fix some issues
8581         if _dl_call_pltexit is called.
8582         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8583         Choose the correct resolver function if running on a machine with vx.
8584         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8585         to create a non-vector/vector version for _dl_runtime_resolve and
8586         _dl_runtime_profile. Move implementation to ...
8587         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8588         (_dl_runtime_resolve) Save and restore fpr/vrs.
8589         (_dl_runtime_profile) Save and restore vrs and fix some issues
8590         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8591         Choose the correct resolver function if running on a machine with vx.
8593 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8595         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8597 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8599         [BZ #19509]
8600         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8601         skip_map != NULL.
8602         * elf/tst-dlsym-error.c: New file.
8603         * elf/Makefile (tests): Add tst-dlsym-error.
8604         (tst-dlsym-error): Link against libdl.
8606 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8609         (__ASSUME_FUTIMESAT): Remove macro.
8610         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8612 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8614         [BZ #19879]
8615         CVE-2016-3075
8616         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8617         copy name.
8619 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8621         [BZ #19837]
8622         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8623         error if parse_line fails.
8625 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8627         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8628         (index_cpu_ERMS): Likewise.
8629         (reg_ERMS): Likewise.
8631 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8633         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8634         PER_LINUX_FDPIC): Add.
8636 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8639         memcpy-avx512-no-vzeroupper.
8640         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8641         to ...
8642         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8643         (MEMCPY): Don't define.
8644         (MEMCPY_CHK): Likewise.
8645         (MEMPCPY): Likewise.
8646         (MEMPCPY_CHK): Likewise.
8647         (MEMPCPY_CHK): Renamed to ...
8648         (__mempcpy_chk_avx512_no_vzeroupper): This.
8649         (MEMPCPY_CHK): Renamed to ...
8650         (__mempcpy_chk_avx512_no_vzeroupper): This.
8651         (MEMCPY_CHK): Renamed to ...
8652         (__memmove_chk_avx512_no_vzeroupper): This.
8653         (MEMCPY): Renamed to ...
8654         (__memmove_avx512_no_vzeroupper): This.
8655         (__memcpy_avx512_no_vzeroupper): New alias.
8656         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8658 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8660         [BZ #18858]
8661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8662         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8663         and mempcpy-avx512-no-vzeroupper.
8664         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8665         New.
8666         (MEMPCPY): Likewise.
8667         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8668         (MEMPCPY_CHK): New.
8669         (MEMPCPY): Likewise.
8670         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8671         (MEMPCPY): Likewise.
8672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8673         (MEMPCPY): Likewise.
8674         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8675         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8676         Likewise.
8677         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8678         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8680 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8681              Amit Pawar  <Amit.Pawar@amd.com>
8683         [BZ #19583]
8684         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8685         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8686         processors.  Set Fast_Copy_Backward for AMD Excavator
8687         processors.
8688         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8689         New.
8690         (index_arch_Fast_Unaligned_Copy): Likewise.
8691         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8692         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8694 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8696         [BZ #19791]
8697         * resolv/res_send.c (close_and_return_error): New function.
8698         (send_dg): Initialize *resplen2 after reopen failure.  Call
8699         close_and_return_error for error returns.  On error paths without
8700         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8701         successful return.
8703 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8705         [BZ# 19860]
8706         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8707         zero if the compiler does not provide the AVX512F bit.
8709 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8711         [BZ #19848]
8712         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8713         from 8 to 4.
8714         (__ieee754_powl): Compare integer exponent against 4 not 8.
8715         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8716         from 8 to 4.
8717         (__ieee754_powl): Compare integer exponent against 4 not 8.
8718         * math/auto-libm-test-in: Add more tests of pow.
8719         * math/auto-libm-test-out: Regenerated.
8720         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8725         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8726         Make code unconditional.
8727         [!__NR_utimensat]: Remove conditional code.
8728         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8729         Make code unconditional.
8730         [!__NR_utimensat]: Remove conditional code.
8731         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8732         Make code unconditional.
8733         [!__NR_utimensat]: Remove conditional code.
8735 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8737         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8738         Make code unconditional.
8740 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8742         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8743         call-clobbered %eax on retry path.
8744         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8746 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8748         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8749         Don't set %rcx twice before "rep movsb".
8751 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8753         [BZ #19583]
8754         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8755         inline.  Check family before setting family, model and
8756         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8757         bits here.
8758         (init_cpu_features): Replace HAS_CPU_FEATURE and
8759         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8760         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8761         for Intel processors with usable AVX2.  Call get_common_indeces
8762         for other processors with family == NULL.
8763         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8764         (CPU_FEATURES_ARCH_P): Likewise.
8765         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8766         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8768 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8770         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8771         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8772         $(shared-thread-library) instead of hardcoding the path to libpthread.
8774 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8776         * sysdeps/unix/sysv/linux/kernel-features.h
8777         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8778         * sysdeps/unix/sysv/linux/getdents.c
8779         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8780         [!have_no_getdents64_defined]: Likewise.
8781         (__GETDENTS): Remove __have_no_getdents64 conditional.
8783 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8786         Remove macro.
8787         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8788         <kernel-features.h>.
8789         (signalfd) [__NR_signalfd4]: Make code unconditional.
8790         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8792 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8794         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8795         style.
8797 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8799         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8800         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8801         __pthread_unwind.
8802         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8803         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8804         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8805         (__condvar_cleanup1): Likewise.
8807 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8809         [BZ #19822]
8810         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8811         move it to the final $@ location.
8813 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8815         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8816         access where posix_spawn success and pid argument is null.
8817         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8818         success case.
8820 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8822         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8824         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8826         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8827         and __fcntl.
8828         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8829         __fcntl only.
8830         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8831         adding attribute_hidden to __open and __fcntl.
8833         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8834         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8835         depend on libc-modules.h,
8836         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8838 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8841         Remove macro.
8842         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8843         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8844         entry.
8846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8847         Remove macro.
8848         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8849         include <kernel-features.h>.
8850         [!__ASSUME_FALLOCATE]: Remove conditional code.
8851         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8853 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8855         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8856         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8857         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8858         (_ZGVdN4v_cos_avx2): Likewise.
8859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8860         (_ZGVdN4v_cos): Likewise.
8861         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8862         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8863         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8864         (_ZGVdN4v_exp_avx2): Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8866         (_ZGVdN4v_exp): Likewise.
8867         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8868         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8869         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8870         (_ZGVdN4v_log_avx2): Likewise.
8871         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8872         (_ZGVdN4v_log): Likewise.
8873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8874         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8876         (_ZGVdN4vv_pow_avx2): Likewise.
8877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8878         (_ZGVdN4vv_pow): Likewise.
8879         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8880         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8882         (_ZGVdN4v_sin_avx2): Likewise.
8883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8884         (_ZGVdN4v_sin): Likewise.
8885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8886         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8888         (_ZGVdN4vvv_sincos_avx2): Likewise.
8889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8890         (_ZGVdN4vvv_sincos): Likewise.
8891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8892         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8893         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8894         (_ZGVbN4v_cosf_sse4): Likewise.
8895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8896         (_ZGVdN8v_cosf_avx2): Likewise.
8897         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8898         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8899         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8900         (_ZGVbN4v_expf_sse4): Likewise.
8901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8902         (_ZGVdN8v_expf_avx2): Likewise.
8903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8904         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8906         (_ZGVbN4v_logf_sse4): Likewise.
8907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8908         (_ZGVdN8v_logf_avx2): Likewise.
8909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8910         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8912         (_ZGVbN4vv_powf_sse4): Likewise.
8913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8914         (_ZGVdN8vv_powf_avx2): Likewise.
8915         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8916         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8918         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8920         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8922         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8924         (_ZGVbN4v_sinf_sse4): Likewise.
8925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8926         (_ZGVdN8v_sinf_avx2): Likewise.
8927         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8928         Use JUMPTARGET to call callee.
8929         (WRAPPER_IMPL_SSE2_ff): Likewise.
8930         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8931         (WRAPPER_IMPL_AVX): Likewise.
8932         (WRAPPER_IMPL_AVX_ff): Likewise.
8933         (WRAPPER_IMPL_AVX_fFF): Likewise.
8934         (WRAPPER_IMPL_AVX512): Likewise.
8935         (WRAPPER_IMPL_AVX512_ff): Likewise.
8936         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8937         Likewise.
8938         (WRAPPER_IMPL_SSE2_ff): Likewise.
8939         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8940         (WRAPPER_IMPL_AVX): Likewise.
8941         (WRAPPER_IMPL_AVX_ff): Likewise.
8942         (WRAPPER_IMPL_AVX_fFF): Likewise.
8943         (WRAPPER_IMPL_AVX512): Likewise.
8944         (WRAPPER_IMPL_AVX512_ff): Likewise.
8945         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8947 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8949         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8950         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8951         qualifier.
8952         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8953         internal_function qualifiers.
8955 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8957         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8958         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8959         * math/atest-exp.c (exp_mpn): Mark chk unused.
8960         * math/atest-exp2.c (exp_mpn): Likwise.
8961         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8962         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8964 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8967         Remove macro.
8968         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8969         <kernel-features.h>.
8970         [__NR_ppoll]: Make code unconditional.
8971         [!__ASSUME_PPOLL]: Remove conditional code.
8973         * sysdeps/unix/sysv/linux/kernel-features.h
8974         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8975         (__ASSUME_ACCEPT4): Likewise.
8976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8977         Define.
8978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8979         Likewise.
8980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8981         Likewise.
8982         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8983         Likewise.
8984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8985         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8987         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8988         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8991         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8992         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8993         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8994         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8995         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8996         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8998         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8999         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9000         Likewise.
9001         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9002         Likewise.
9003         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9004         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9005         0x040300].
9006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9007         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9008         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9009         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9010         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9011         0x030300].
9012         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9013         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9014         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9015         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9016         0x040300].
9017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9018         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9019         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9020         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9022         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9023         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9024         0x030300].
9025         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9026         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9027         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9028         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9030         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9031         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9033         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9034         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9035         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9036         0x040300].
9037         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9039         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9040         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9041         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9043         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9044         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9045         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9049         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9051         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9052         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9053         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9054         Likewise.
9055         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9056         Likewise.
9058 2016-03-15  Andreas Schwab  <schwab@suse.de>
9060         [BZ #19257]
9061         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9062         statp->_u._ext.nscount as loop count.
9064 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9066         * math/test-signgam-finite-c99.c: Also #undef
9067         __LIBC_INTERNAL_MATH_INLINES.
9068         * math/test-signgam-main.c: Likewise.
9070 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9072         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9073         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9074         (MADV_FREE): Likewise.
9075         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9076         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9077         EPOLLEXCLUSIVE.
9079 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9081         * timezone/README: Remove mention of checktab.awk. Mention wiki
9082         SharedSourceFiles.
9084 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9086         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9087         WUNTRACED.
9089 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9091         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9092         order to match the type of p when calling atomic_exchange_acq().
9094 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9096         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9097         cfi_offset calls.
9098         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9099         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9100         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9101         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9102         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9104 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9106         * timezone/checktab.awk: Removed.
9108 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9110         * manual/math.texi (Errors in Math Functions): Document relaxed
9111         accuracy goals for IBM long double.
9112         * math/libm-test.inc (test_exceptions): Always allow spurious
9113         "underflow" and "inexact" exceptions for IBM long double.
9115 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9117         [BZ #19762]
9118         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9119         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9120         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9121         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9122         (bit_arch_*): This for feature array.
9123         (bit_*): Renamed to ...
9124         (bit_cpu_*): This for cpu array.
9125         (index_*): Renamed to ...
9126         (index_arch_*): This for feature array.
9127         (index_*): Renamed to ...
9128         (index_cpu_*): This for cpu array.
9129         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9130         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9131         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9132         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9133         bit_##name with index_cpu_##name and bit_cpu_##name.
9134         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9135         bit_##name with index_arch_##name and bit_arch_##name.
9137 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9139         [BZ #19792]
9140         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9141         Terminate FDE before return label.
9143 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9145         [BZ #19790]
9146         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9147         (rintl): Define as macro.
9148         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9149         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9150         of fesetround.  Ensure results are evaluated before end of scope.
9151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9152         USE_AS_NEARBYINTL and include s_rintl.c.
9153         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9154         Disable exception traps in new environment.
9155         (libc_feholdsetround_ppc_ctx): Likewise.
9157 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9159         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9160         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9161         (tst_audit10_aux) [__AVX512F__]: ... here.
9163 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9165         * include/sys/auxv.h: New file.
9167 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9169         [BZ #19759]
9170         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9172 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9174         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9175         operand modifier.
9176         (feclearexcept): Likewise.
9178 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9180         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9181         to reflect the entire 32-bit HWCAP.
9182         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9183         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9185 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9187         [BZ #19783]
9188         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9189         $(test-via-rtld-prefix).
9190         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9192 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9194         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9195         union wait.  Report any non-zero exit status as error.
9197 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9199         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9200         configured with --enable-hardcoded-path-in-tests.
9202 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9204         [BZ #19677]
9205         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9206         (__ieee754_remainderl): Put zero low parts in canonical form.
9207         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9208         file.  Based on
9209         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9210         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9211         with wrapper round test-fmodrem-ldbl-128ibm.c.
9212         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9213         file.
9214         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9215         Likewise.
9216         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9217         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9219 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9221         [BZ #19610]
9222         * elf/ldconfig.c (opt_link): Update comment.
9223         (options): Update help string for option -X.
9224         (search_dir): Unlink stale symbolic link only if updating symbolic
9225         links.
9226         * elf/tst-ldconfig-X.sh: New file.
9227         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9228         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9230 2016-03-07  Andreas Schwab  <schwab@suse.de>
9232         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9233         needed arguments.
9235 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9237         [BZ #15333]
9238         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9239         to lstat64.
9241 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9243         * libio/filedoalloc.c (isatty): Remove.
9244         (local_isatty): Add comment.  Call __isatty directly.
9245         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9246         * libio/wfiledoalloc.c (isatty): Remove.
9247         (_IO_wfile_doallocate): Update comment.
9249 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9251         [BZ #19269]
9252         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9253         tst-audit4-aux.o.
9254         (tst-audit10): Depend on tst-audit10-aux.o.
9255         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9256         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9257         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9258         instead of inline AVX code.
9259         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9260         instead of inline AVX512 code.
9261         * sysdeps/x86_64/tst-audit4-aux.c: New file
9262         * sysdeps/x86_64/tst-audit10-aux.c: New file
9264         [BZ #19648]
9265         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9267 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9269         [BZ #14750]
9270         [BZ #10354]
9271         [BZ #18433]
9272         * include/sched.h (__clone): Add hidden prototype.
9273         (__clone2): Likewise.
9274         * include/unistd.h (__dup): Likewise.
9275         * posix/Makefile (tests): Add tst-spawn2.
9276         * posix/tst-spawn2.c: New file.
9277         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9278         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9279         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9280         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9281         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9282         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9283         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9284         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9285         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9286         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9287         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9289         Likewise.
9290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9291         Likewise.
9292         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9293         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9294         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9295         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9296         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9297         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9298         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9299         * sysdeps/unix/sysv/linux/nptl-signals.h
9300         (____nptl_is_internal_signal): New function.
9301         * sysdeps/unix/sysv/linux/spawni.c: New file.
9303         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9304         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9305         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9306         * posix/tst-execvp2.c (do_test): Likewise.
9307         * posix/tst-execvp3.c (do_test): Likewise.
9308         * posix/tst-execvp4.c (do_test): Likewise.
9309         * posix/tst-execvpe1.c: New file.
9310         * posix/tst-execvpe2.c: Likewise.
9311         * posix/tst-execvpe3.c: Likewise.
9312         * posix/tst-execvpe4.c: Likewise.
9313         * posix/tst-execvpe5.c: Likewise.
9314         * posix/tst-execvpe6.c: Likewise.
9316         [BZ #19534]
9317         * posix/execl.c (execl): Remove dynamic memory allocation.
9318         * posix/execle.c (execle): Likewise.
9319         * posix/execlp.c (execlp): Likewise.
9321 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9323         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9324         Replace .text with .text.avx512.
9325         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9326         Likewise.
9328 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9330         * sysdeps/generic/libnsl.abilist: New file.
9331         * sysdeps/generic/libutil.abilist: New file.
9333 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9335         [BZ #19762]
9336         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9337         HAS_ARCH_FEATURE with Fast_Rep_String.
9338         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9339         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9340         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9341         Likewise.
9342         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9343         Likewise.
9344         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9345         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9346         Likewise.
9347         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9348         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9349         Likewise.
9351 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9353         [BZ #19745]
9354         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9355         with *%rax in call.
9357 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9359         [BZ #19745]
9360         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9361         with *__libc_start_main@GOTPCREL(%rip) in call.
9363 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9365         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9366         inside conditional for nonempty $(CXX).
9368         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9369         nonempty.
9371         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9372         to test for empty $(CXX) rather than $(CXX) of "no".
9374 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9376         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9378 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9379             H.J. Lu  <hongjiu.lu@intel.com>
9381         [BZ #18880]
9382         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9383         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9384         enable __memcpy_ssse3_back.
9386 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9388         [BZ #19758]
9389         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9390         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9392 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9394         [BZ #19490]
9395         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9396         (__fentry__): Likewise.
9398 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9400         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9401         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9403 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9405         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9406         __mcount_internal directly.
9407         (C_LABEL(__fentry__)): Likewise.
9408         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9409         directly.
9411 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9413         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9414         (__start_context): Call __setcontext directly.
9416 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9419         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9420         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9421         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9424         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9425         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9426         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9427         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9428         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9429         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9430         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9431         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9432         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9433         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9434         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9436         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9437         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9438         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9440         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9441         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9442         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9443         Remove conditional code.
9444         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9445         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9446         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9447         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9448         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9449         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9450         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9451         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9452         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9453         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9455         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9457 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9459         * NEWS (2.23): Fix typo in bug 19048 text.
9461 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9463         [BZ #14259]
9464         * Makeconfig: Rename msgcatdir to localedir.
9465         Rename inst_msgcatdir to inst_localedir.
9466         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9467         * config.make.in: Add localedir.
9468         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9469         (ldd-rewrite): Likewise.
9470         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9471         (install-others): Use inst_localedir.
9472         (CPPFLAGS): Use localedir.
9473         * locale/Makefile (locale-CPPFLAGS): Likewise.
9474         * po/Makefile (mo-installed): Use inst_localedir.
9476         [BZ #19575]
9477         * localedata/charmaps/GB18030: Update comments regarding PAU to
9478         non-PUA mappings.
9480 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9482         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9483         test for header.
9484         * sysdeps/unix/sysv/linux/configure: Regenerated.
9485         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9486         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9487         Remove conditional code.
9488         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9490         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9491         Define to 3.2.0.
9492         (arch_minimum_kernel): Likewise.
9493         * sysdeps/unix/sysv/linux/configure: Regenerated.
9494         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9495         Define to 2.6.32.
9496         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9497         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9498         (arch_minimum_kernel): Define to 2.6.32.
9499         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9500         * README: Document Linux 3.2 requirement.
9501         * manual/install.texi (Linux): Document Linux 3.2 headers
9502         requirement.
9503         * INSTALL: Regenerated.
9505 2016-02-24  Andreas Schwab  <schwab@suse.de>
9507         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9508         if !NO_LONG_DOUBLE.
9510 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9512         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9513         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9515 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9517         [BZ #19512]
9518         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9520 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9522         * posix/tst-dir.c: Include libc-internal.h.
9524 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9526         [BZ #19056]
9527         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9528         * manual/filesys.texi (Reading/Closing Directory): Mention
9529         deprecaion.
9530         * posix/tst-dir.c (main): Disable deprecation warning in test.
9532 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9534         [BZ #19679]
9535         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9536         Renamed to ...
9537         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9538         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9539         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9540         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9541         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9542         * sysdeps/x86_64/dl-trampoline.h
9543         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9544         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9546 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9548         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9550 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9552         * elf/elf.h (R_386_GOT32X): New.
9553         (R_386_NUM): Update.
9554         (R_X86_64_GOTPCRELX: New.
9555         (R_X86_64_REX_GOTPCRELX): New.
9556         (R_X86_64_NUM): Update.
9558 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9560         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9562 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9564         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9565         assign attr->stackaddr to it, and adjust it down when
9566         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9567         [_STACK_GROWS_UP]: Delete assert.
9568         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9569         Implement stack grows up logic.
9570         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9571         stack grows up logic.
9573 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9575         * NEWS: Update with 2.24 template.
9577 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9579         [BZ #19678]
9580         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9581         Ensure +0.0 is returned when taking the next value below the least
9582         positive value.
9584 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9586         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9587         available.  Do not define NO_THREADS.
9588         * malloc/malloc.c: Do not check NO_THREADS.
9589         * malloc/arena.c: Likewise.
9591 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9593         * malloc/malloc.c (__libc_mallinfo): Update comment.
9594         (struct malloc_par): Remove max_total_mem member, it was always 0.
9595         (int_mallinfo): Store 0 into usmblks (no functional change).
9596         * malloc/hooks.c (struct malloc_state): Document that
9597         max_total_mem is always 0.
9598         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9599         always 0.
9600         * manual/memory.texi (Statistics of Malloc): Likewise.
9602 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9604         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9605         * malloc/arena.c (arena_max): Remove.
9606         (heap_trim, _int_new_arena): Do not update arena_max.
9608 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9610         * resolv/res_init.c (res_ninit): Update comment.
9612 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9614         [BZ #19505]
9615         * posix/spawn_int.h: Add headers and include guard.
9616         (__spawn_valid_fd): New function.
9617         * posix/spawn_faction_addopen.c
9618         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9619         * posix/spawn_faction_addclose.c
9620         (posix_spawn_file_actions_addclose): Likewise.
9621         * posix/spawn_faction_adddup2.c
9622         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9623         second file descriptor.
9624         * posix/spawn_valid_fd.c: New file.
9625         * posix/tst-posix_spawn-fd.c: New file.
9626         * posix/Makefile (routines): Add spawn_valid_fd.
9627         (tests): Add tst-posix_spawn-fd.
9629 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9631         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9632         (do_test): Limit the number of arenas, so that we can use fewer
9633         outer threads.  Limit timeout to 3 seconds, in preparation for a
9634         larger TIMEOUT value.
9636 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9638         [BZ #19674]
9639         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9640         sign in overflowing and underflowing results when overflow or
9641         underflow is detected early.  Include sign in result before rather
9642         than after scaling.
9644         [BZ #19603]
9645         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9646         (__ieee754_remainderl): Adjust sign of integer version of low part
9647         when taking absolute value of high part.
9648         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9649         * math/libm-test.inc (remainder_test_data): Add another test.
9650         (remquo_test_data): Likewise.
9652 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9654         [BZ #19602]
9655         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9656         equal high parts and both low parts zero specially.
9657         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9658         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9659         Add test-fmodl-ldbl-128ibm.
9661         [BZ #19595]
9662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9663         common logic for all cases of shifting subnormal results.  Do not
9664         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9665         exponent to ldbl_insert_mantissa in subnormal case.
9667         [BZ #19594]
9668         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9669         on high and low parts then adjust result and use
9670         ldbl_canonicalize_int if needed.
9672         [BZ #19593]
9673         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9674         on high part and __floor or __ceil on low part then use
9675         ldbl_canonicalize_int if needed.
9677         [BZ #19592]
9678         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9679         high and low parts then use ldbl_canonicalize_int if needed.
9681         [BZ #17899]
9682         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9683         New function.
9684         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9685         on high and low parts then use ldbl_canonicalize_int if needed.
9687 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9689         * configure: Regenerated.
9691         * po/libc.pot: Regenerated.
9693         * po/be.po: Updated translation.
9694         * po/bg.po: Likewise.
9695         * po/ca.po: Likewise.
9696         * po/cs.po: Likewise.
9697         * po/da.po: Likewise.
9698         * po/el.po: Likewise.
9699         * po/eo.po: Likewise.
9700         * po/es.po: Likewise.
9701         * po/fi.po: Likewise.
9702         * po/fr.po: Likewise.
9703         * po/gl.po: Likewise.
9704         * po/hr.po: Likewise.
9705         * po/hu.po: Likewise.
9706         * po/ia.po: Likewise.
9707         * po/id.po: Likewise.
9708         * po/it.po: Likewise.
9709         * po/ja.po: Likewise.
9710         * po/lt.po: Likewise.
9711         * po/nb.po: Likewise.
9712         * po/nl.po: Likewise.
9713         * po/pt_BR.po: Likewise.
9714         * po/rw.po: Likewise.
9715         * po/sk.po: Likewise.
9716         * po/sl.po: Likewise.
9717         * po/sv.po: Likewise.
9718         * po/tr.po: Likewise.
9719         * po/zh_CN.po: Likewise.
9720         * po/zh_TW.po: Likewise.
9722         * version.h (RELEAES): Set to "development".
9723         (VERSION): Set to 2.23.90.
9725         * version.h (RELEASE): Set to "stable".
9726         (VERSION): Set to 2.23.
9727         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9729         * NEWS: Updated fixed bugs.
9731 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9732             Wilco Dijkstra  <wdijkstr@arm.com>
9734         [BZ #19462]
9735         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9736         (_STRING_INLINE_unaligned): This.
9737         * include/string.h: Include <string_private.h>.
9738         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9739         _STRING_INLINE_unaligned.
9740         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9741         (_STRING_INLINE_unaligned): New.
9742         * sysdeps/aarch64/string_private.h: New file.
9743         * sysdeps/generic/string_private.h: Likewise.
9744         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9745         * sysdeps/s390/string_private.h: Likewise.
9746         * sysdeps/x86/string_private.h: Likewise.
9747         * sysdeps/m68k/m680x0/m68020/bits/string.h
9748         (_STRING_ARCH_unaligned): Renamed to ...
9749         (_STRING_INLINE_unaligned): This.
9750         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9751         to ...
9752         (_STRING_INLINE_unaligned): This.
9753         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9754         to ...
9755         (_STRING_INLINE_unaligned): This.
9756         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9757         to ...
9758         (_STRING_INLINE_unaligned): This.
9760 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9761             H.J. Lu  <hongjiu.lu@intel.com>
9763         [BZ #19590]
9764         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9765         relocation.
9767 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9769         [BZ #18665]
9770         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9771         *herrno_p.
9772         (gaih_getanswer): Document functional behviour. Return tryagain
9773         if any result is tryagain.
9774         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9775         when freed.
9776         * resolv/res_send.c: Add copyright text.
9777         (__libc_res_nsend): Document that MAXPACKET is expected.
9778         (send_vc): Document. Remove buffer reuse.
9779         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9780         size of the buffer. Add Dprint for truncated UDP buffer.
9782 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9784         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9785         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9786         * INSTALL: Regenerate.
9788 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9789             Jonathan Wakely  <jwakely@redhat.com>
9790             Carlos O'Donell  <carlos@redhat.com>
9792         [BZ 19439]
9793         * math/Makefile (tests): Add test-math-isinff.
9794         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9795         * math/bits/mathcalls.h [__USE_MISC]: Use
9796         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9797         functions not in C++11 and which don't conflict e.g. isinff,
9798         isinfl etc.
9799         * math/test-math-isinff.cc: New file.
9801 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9803         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9805 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9807         [BZ #19529]
9808         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9810 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9812         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9814 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9816         [BZ #19550]
9817         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9818         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9819         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9820         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9821         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9822         New syscall entry.
9823         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9824         New syscall entry.
9825         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9826         syscall entry.
9828 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9830         [BZ #18240]
9831         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9832         unsigned int wraparound.
9834 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9836         [BZ #18240]
9837         * misc/bug18240.c: New test.
9838         * misc/Makefile (tests): Add it.
9840 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9841             Joseph Myers  <joseph@codesourcery.com>
9843         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9844         load in branch delay slot when less than a word of input left.
9846 2016-01-27  Andreas Schwab  <schwab@suse.de>
9848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9849         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9850         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9851         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9853 2016-01-26  David S. Miller  <davem@davemloft.net>
9855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9857 2016-01-25  David S. Miller  <davem@davemloft.net>
9859         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9860         __sqrtl_finite.
9861         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9862         instead using versioned_symbol.
9863         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9864         of entries.
9866         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9867         __sqrtl_finite to GLIBC_2.23
9869 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9871         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9873 2016-01-25  Andreas Schwab  <schwab@suse.de>
9875         [BZ #17514]
9876         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9877         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9878         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9879         * nptl/tst-mutex-errorcheck.c: New file.
9881 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9883         [BZ #18560]
9884         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9885         (IPCOP_semop): Likewise.
9886         (IPCOP_semget): Likewise.
9887         (IPCOP_semctl): Likewise.
9888         (IPCOP_msgsnd): Likewise.
9889         (IPCOP_msgrcv): Likewise.
9890         (IPCOP_msgget): Likewise.
9891         (IPCOP_msgctl): Likewise.
9892         (IPCOP_shmat): Likewise.
9893         (IPCOP_shmdt): Likewise.
9894         (IPCOP_shmget): Likewise.
9895         (IPCOP_shmctl): Likewise.
9897 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9899         * string/tst-endian.c: Include <libc-internal.h>.
9900         (do_test): Ignore tautological-compare warnings around
9901         "htobeXX (beXXtoh (i)) != i" and
9902         "htoleXX (leXXtoh (i)) != i" if-statements.
9904 2016-01-24  David S. Miller  <davem@davemloft.net>
9906         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9907         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9908         alias.
9909         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9910         __sqrtl_finite.
9912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9914 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9916         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9917         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9918         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9920 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9922         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9923         (thread_func): Use new function to simplify barrier check.
9924         (do_test): Use new function to simplify checking barrier exit
9925         code, and actually join the child thread.
9927 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9929         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9930         semicolon.
9931         (__libc_tend): Likewise.
9932         (__libc_tabort): Likewise.
9934 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9936         * sysdeps/nios2/libm-test-ulps: Update.
9937         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9938         (__gtsf2): Likewise.
9939         (__unorddf2): Likewise.
9940         (__unordsf2): Likewise.
9941         (__ledf2): Likewise.
9943 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9945         * nis/nis_table.c (__follow_path): Disable diagnostic for
9946         uninitialized variable that is a false positive for gcc 4.7.
9947         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9949 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9951         * sysdeps/nacl/lowlevellock-futex.h
9952         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9953         Always evaluate PRIVATE argument.
9955 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9957         [BZ #19490]
9958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9959         (pthread_cond_broadcast): Use ENTRY/END
9960         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9961         (pthread_cond_signal): Likewise.
9962         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9963         Likewise.
9964         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9965         Likewise.
9966         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9967         Likewise.
9969 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9971         * sysdeps/ieee754/dbl-64/s_finite.c
9972         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9973         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9974         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9975         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9976         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9979         (__gtsf2): Add as optional for libc.so.
9980         (__unordsf2): Likewise.
9981         (__signbit): Remove for libc.so.
9982         (__signbitl): Likewise.
9984 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9986         * iconvdata/bug-iconv11.c (test_ibm93x):
9987         Use %zu printf format specifier for size_t argument.
9989 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9991         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9992         already-recorded ulps.
9993         * sysdeps/arm/libm-test-ulps: Regenerated.
9994         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9995         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9996         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9998 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9999             Paul Pluzhnikov  <ppluzhnikov@google.com>
10001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10002         assembler not supporting AVX-512.
10004 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10006         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10008 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10010         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10011         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10013         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10015         * sysdeps/arm/libm-test-ulps: Regenerated.
10017 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10019         [BZ #19451]
10020         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10022 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10024         [BZ #19486]
10025         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10026         * sysdeps/generic/fix-fp-int-convert-overflow.h
10027         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10028         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10029         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10030         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10031         Likewise.
10032         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10033         Avoid conversions to long int where inexact exceptions
10034         could be raised.
10035         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10036         Likewise.
10037         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10038         Avoid conversions to long long int where inexact exceptions
10039         could be raised.
10040         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10041         Likewise.
10043 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10045         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10046         * configure: Regenerated.
10048 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10050         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10052 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10054         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10055         outside of comment.
10057 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10059         * nptl/tst-barrier1.c: Add description on first line.
10060         * nptl/tst-barrier2.c: Likewise.
10061         * nptl/tst-barrier3.c: Likewise.
10062         * nptl/tst-barrier4.c: Likewise.
10063         * nptl/tst-barrier5.c: Likewise.
10065 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10067         [BZ #18868]
10068         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10070 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10074         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10075         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10076         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10077         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10078         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10079         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10080         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10081         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10082         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10084 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10086         [BZ #13065]
10087         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10088         new implementation.
10089         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10090         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10091         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10092         (BARRIER_IN_THRESHOLD): New macro.
10093         * nptl/pthread_barrierattr_setpshared.c
10094         (pthread_barrierattr_setpshared): Clean up.
10095         * nptl/tst-barrier4.c: Correct comment.
10096         * nptl/tst-barrier5.c: New file.
10097         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10098         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10099         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10100         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10101         * nptl/lowlevelbarrier.sym: Remove.
10102         * nptl/DESIGN-barrier.txt: Remove.
10103         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10104         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10105         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10106         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10107         error.
10108         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10109         implementation.
10111 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10113         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10114         (do_child): Mask SIGRTMIN while thr is running.
10116 2016-01-15  Martin Sebor  <msebor@redhat.com>
10118         [BZ #19432]
10119         * iconvdata/Makefile: Add bug-iconv11.
10120         * iconvdata/bug-iconv11.c: New test.
10121         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10122         * iconvdata/ibm933.c: Same.
10123         * iconvdata/ibm935.c: Same.
10124         * iconvdata/ibm937.c: Same.
10125         * iconvdata/ibm939.c: Same.
10127 2016-01-15  Martin Sebor  <msebor@redhat.com>
10129         [BZ #19443]
10130         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10131         [DEBUG] (_ufc_set_bits): Declare used.
10132         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10133         [DEBUG] (print_all): Declare used.
10134         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10135         operands of the ternary ?: expression to target type.
10136         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10137         calling the undeclared abort.
10138         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10140 2016-01-15  Martin Sebor  <msebor@redhat.com>
10142         [BZ #18755]
10143         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10144         warnings.
10145         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10146         (__gai_create_helper_thread): Same.
10147         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10148         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10149         to suppress -Wmaybe-uninitialized warnings.
10151 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10153         [BZ #19465]
10154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10155         inside if.
10156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10157         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10158         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10160 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10162         [BZ #19466]
10163         * time/tst-mktime2.c (time_t_max): Removed.
10164         (time_t_min): Likewise.
10165         (TYPE_SIGNED): New.
10166         (TYPE_MINIMUM): Likewise.
10167         (TYPE_MAXIMUM): Likewise.
10168         (TIME_T_MIN): Likewise.
10169         (TIME_T_MAX): Likewise.
10170         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10171         and TIME_T_MIN.
10172         (do_test): Likewise.
10174 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10176         [BZ #19467]
10177         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10178         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10180 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10182         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10184 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10186         * benchtests/Makefile (PYTHON): Define.
10187         (bench-func): Use $(PYTHON) to run python scripts.
10188         ($(objpfx)bench-%.c): Likewise.
10190 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10192         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10193         leading slash when `file_name' is "/".
10195 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10197         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10198         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10199         Likewise.
10200         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10201         Likewise.
10202         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10203         Likewise.
10204         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10205         enum constant and macro.
10206         (PTRACE_SETSIGMASK): Likewise.
10207         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10208         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10209         (PTRACE_GETSIGMASK): Likewise.
10210         (PTRACE_SETSIGMASK): Likewise.
10211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10212         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10213         Likewise.
10214         (PTRACE_SETSIGMASK): Likewise.
10215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10216         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10217         (PTRACE_GETSIGMASK): Likewise.
10218         (PTRACE_SETSIGMASK): Likewise.
10219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10220         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10221         Likewise.
10222         (PTRACE_SETSIGMASK): Likewise.
10223         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10225         Likewise.
10226         (PTRACE_SETSIGMASK): Likewise.
10227         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10228         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10229         Likewise.
10230         (PTRACE_SETSIGMASK): Likewise.
10231         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10233 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10234             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10236         [BZ #19439]
10237         * math/bits/mathcalls.h
10238         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10239         prototype.
10240         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10242 2016-01-11  Andreas Schwab  <schwab@suse.de>
10244         [BZ #19253]
10245         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10246         cache when TZDEFRULES was used.
10247         * time/tst-tzname.c: New file.
10248         * time/Makefile (test): Add tst-tzname.
10249         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10250         * timezone/Makefile (test-zones): Add $(posixrules-file).
10251         ($(testdata)/$(posixrules-file)): New rule.
10253 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10255         Fix doc quoting problems with Texinfo 5
10256         Without this change, in the info file output, Texinfo 5 quotes code
10257         in text with undirected single quotes 'like this' and generates
10258         code examples that with many PDF readers cannot be cut out of PDFs
10259         and pasted into code.
10260         * manual/libc.texinfo: Configure the libc manual like the GNU
10261         Emacs manual, by using @documentencoding and setting
10262         txicodequoteundirected and txicodequotebacktick.  This way,
10263         Texinfo 5 quotes code in text with directed single quotes ‘like
10264         this’ and produces examples that can be cut out of PDFs.  This
10265         change causes Texinfo 5 to generate info files that contain UTF-8
10266         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10267         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10269 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10271         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10272         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10273         barriers to their respective compiler built-ins.
10274         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10275         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10276         * sysdeps/powerpc/sysdep.h: Likewise.
10277         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10278         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10279         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10281 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10283         * scripts/config.guess: Revert previous shebang change.
10284         * scripts/config.sub: Likewise.
10285         * scripts/mkinstalldirs: Likewise.
10287 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10289         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10290         PPC_FEATURE2_HAS_IEEE128.
10291         * sysdeps/powerpc/dl-procinfo.c:
10292         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10294 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10296         [BZ #19415]
10297         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10298         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10299         (_dl_lookup_address): Rewrite using function resolver trampoline.
10300         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10301         two bits in address.
10303 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10305         * longlong.h: Change !__SHMEDIA__ to
10306         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10307         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10309 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10310             Joseph Myers  <joseph@codesourcery.com>
10311             Mark Shinwell  <shinwell@codesourcery.com>
10312             Andrew Stubbs  <ams@codesourcery.com>
10313             Rich Felker <dalias@libc.org>
10315         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10317 2016-01-07  Richard Henderson  <rth@redhat.com>
10319         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10321 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10323         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10324         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10325         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10326         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10327         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10329 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10330             Joseph Myers  <joseph@codesourcery.com>
10332         * timezone/private.h: Update from tzcode 2015g.
10333         * timezone/tzfile.h: Likewise.
10334         * timezone/tzselect.ksh: Likewise.
10335         * timezone/zdump.c: Likewise.
10336         * timezone/zic.c: Likewise.
10337         * timezone/ialloc.c: Remove file.
10338         * timezone/scheck.c: Likewise.
10339         * timezone/Makefile (extra-objs): Remove variable.
10340         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10341         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10342         -Wno-maybe-uninitialized.
10343         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10344         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10345         (CFLAGS-ialloc.c): Remove variable.
10346         (CFLAGS-scheck.c): Likewise.
10347         * timezone/README: Update list of files from tzcode.
10349 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10351         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10352         instead of __fxprintf when _LIBC is undefined.
10354 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10356         * catgets/test-gencat.sh: Remove space after shebang.
10357         * conform/GlibcConform.pm: Likewise.
10358         * conform/check-header-lists.sh: Likewise.
10359         * conform/conformtest.pl: Likewise.
10360         * conform/linknamespace.pl: Likewise.
10361         * conform/list-header-symbols.pl: Likewise.
10362         * debug/catchsegv.sh: Likewise.
10363         * elf/genrtldtbl.awk: Likewise.
10364         * elf/tst-pathopt.sh: Likewise.
10365         * elf/tst-rtld-load-self.sh: Likewise.
10366         * grp/tst_fgetgrent.sh: Likewise.
10367         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10368         * iconvdata/gen-8bit-gap.sh: Likewise.
10369         * iconvdata/gen-8bit.sh: Likewise.
10370         * iconvdata/run-iconv-test.sh: Likewise.
10371         * intl/tst-gettext.sh: Likewise.
10372         * intl/tst-gettext2.sh: Likewise.
10373         * intl/tst-gettext4.sh: Likewise.
10374         * intl/tst-gettext6.sh: Likewise.
10375         * intl/tst-translit.sh: Likewise.
10376         * io/ftwtest-sh: Likewise.
10377         * libio/test-freopen.sh: Likewise.
10378         * locale/gen-translit.pl: Likewise.
10379         * malloc/tst-mtrace.sh: Likewise.
10380         * manual/check-safety.sh: Likewise.
10381         * manual/libc-texinfo.sh: Likewise.
10382         * manual/tsort.awk: Likewise.
10383         * manual/xtract-typefun.awk: Likewise.
10384         * nptl/tst-cancel-wrappers.sh: Likewise.
10385         * nptl/tst-tls6.sh: Likewise.
10386         * posix/globtest.sh: Likewise.
10387         * posix/tst-getconf.sh: Likewise.
10388         * posix/wordexp-tst.sh: Likewise.
10389         * scripts/check-c++-types.sh: Likewise.
10390         * scripts/check-local-headers.sh: Likewise.
10391         * scripts/config.guess: Likewise.
10392         * scripts/config.sub: Likewise.
10393         * scripts/cpp: Likewise.
10394         * scripts/cross-test-ssh.sh: Likewise.
10395         * scripts/documented.sh: Likewise.
10396         * scripts/evaluate-test.sh: Likewise.
10397         * scripts/gen-libc-abis: Likewise.
10398         * scripts/gen-sorted.awk: Likewise.
10399         * scripts/list-fixed-bugs.py: Likewise.
10400         * scripts/merge-test-results.sh: Likewise.
10401         * scripts/mkinstalldirs: Likewise.
10402         * scripts/rellns-sh: Likewise.
10403         * scripts/test-installation.pl: Likewise.
10404         * scripts/update-copyrights: Likewise.
10405         * stdio-common/tst-printf.sh: Likewise.
10406         * stdio-common/tst-unbputc.sh: Likewise.
10407         * stdlib/tst-fmtmsg.sh: Likewise.
10408         * stdlib/tst-setcontext3.sh: Likewise.
10409         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10410         * sysdeps/unix/make-syscalls.sh: Likewise.
10412 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10414         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10415         asm stw with atomic_exchange_rel.  Add explanatory comment.
10416         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10417         Likewise.
10419 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10421         [BZ #19122]
10422         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10423         * sysdeps/generic/dl-unistd.h: New file.
10424         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10426 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10428          [BZ #19122]
10429          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10430          * sysdeps/generic/dl-mman.h: New file.
10431          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10433 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10435         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10436         trailing whitespace removed.
10437         * scripts/config.guess: Update to version 2016-01-01.
10438         * scripts/config.sub: Update to version 2016-01-01.
10439         * scripts/move-if-change: Update from gnulib.
10441 2016-01-04  Anton Blanchard  <anton@samba.org>
10443         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10444         for array indices.
10445         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10447 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10449         * NEWS: Update copyright dates.
10450         * catgets/gencat.c (print_version): Likewise.
10451         * csu/version.c (banner): Likewise.
10452         * debug/catchsegv.sh: Likewise.
10453         * debug/pcprofiledump.c (print_version): Likewise.
10454         * debug/xtrace.sh (do_version): Likewise.
10455         * elf/ldconfig.c (print_version): Likewise.
10456         * elf/ldd.bash.in: Likewise.
10457         * elf/pldd.c (print_version): Likewise.
10458         * elf/sotruss.sh: Likewise.
10459         * elf/sprof.c (print_version): Likewise.
10460         * iconv/iconv_prog.c (print_version): Likewise.
10461         * iconv/iconvconfig.c (print_version): Likewise.
10462         * locale/programs/locale.c (print_version): Likewise.
10463         * locale/programs/localedef.c (print_version): Likewise.
10464         * login/programs/pt_chown.c (print_version): Likewise.
10465         * malloc/memusage.sh (do_version): Likewise.
10466         * malloc/memusagestat.c (print_version): Likewise.
10467         * malloc/mtrace.pl: Likewise.
10468         * manual/libc.texinfo: Likewise.
10469         * nptl/version.c (banner): Likewise.
10470         * nscd/nscd.c (print_version): Likewise.
10471         * nss/getent.c (print_version): Likewise.
10472         * nss/makedb.c (print_version): Likewise.
10473         * posix/getconf.c (main): Likewise.
10474         * scripts/test-installation.pl: Likewise.
10475         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10477         * All files with FSF copyright notices: Update copyright dates
10478         using scripts/update-copyrights.
10479         * intl/plural.c: Regenerated.
10480         * locale/programs/charmap-kw.h: Likewise.
10481         * locale/programs/locfile-kw.h: Likewise.
10483 2016-01-02  Helge Deller  <deller@gmx.de>
10485         [BZ #19285]
10486         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10487         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10488         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10489         (MADV_xxK_PAGES): Remove.
10491 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10493         [BZ #15421]
10494         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10495         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10496         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10497         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10499 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10501         [BZ #19408]
10502         * sysdeps/unix/sysv/linux/personality.c: New file.
10503         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10504         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10505         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10506         (sysdep_routines): Add personality.
10507         (tests): Add tst-personality.
10508         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10509         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10510         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10511         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10512         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10513         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10514         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10515         Likewise.
10516         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10517         Likewise.
10518         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10519         Likewise.
10520         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10521         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10522         Likewise.
10524 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10526         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10527         (PATH_ARM_SYSTYPE): Remove.
10528         (PATH_CPUINFO): Likewise.
10529         (IO_BASE_FOOTBRIDGE): Likewise.
10530         (IO_SHIFT_FOOTBRIDGE): Likewise.
10531         (struct platform): Likewise.
10532         (init_iosys): Remove compatibility code for 2.4 kernels.
10533         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10535 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10537         * malloc/tst-malloc-thread-fail.c: New file.
10538         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10539         (tst-malloc-thread-fail): Link against libpthread.
10541 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10543         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10544         (get_parser): New function.
10545         (main): New function.
10547 2015-12-29  Rob Wu  <rob@robwu.nl>
10549         [BZ #19369]
10550         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10552 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10554         [BZ #19270]
10555         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10557 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10559         [BZ #15421]
10560         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10562 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10564         [BZ #13690]
10565         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10566         after releasing it.
10567         (__lll_robust_unlock): Likewise.
10568         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10570         (lll_robust_unlock): Likewise.
10571         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10572         Prevent warnings in callers.
10574 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10576         * malloc/arena.c (list_lock): Update comment.
10578 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10580         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10581         __parse_hwcap_and_convert_at_platform to libc.a.
10583 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10585         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10586         platform and feature support for POWER9.
10587         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10588         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10589         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10590         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10591         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10592         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10593         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10594         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10596 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10598         Harmonize generic stdio-lock support with nptl
10600         This fixes build when _IO_funlockfile is a macro, fixes build where
10601         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10602         stack unwind.
10604         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10605         _IO_release_lock ): Use cleanup attribute on new
10606         _IO_acquire_lock_file variable instead of assuming that
10607         _IO_release_lock will be called.
10608         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10609         _IO_acquire_lock_needs_exceptions_enabled.
10610         (_IO_acquire_lock_clear_flags2): New macro.
10612 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10614         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10616 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10618         [BZ #19182]
10619         * malloc/arena.c (list_lock): Document lock ordering requirements.
10620         (free_list_lock): New lock.
10621         (ptmalloc_lock_all): Comment on free_list_lock.
10622         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10623         (detach_arena): Update comment.  free_list_lock is now needed.
10624         (_int_new_arena): Use free_list_lock around detach_arena call.
10625         Acquire arena lock after list_lock.  Add comment, including FIXME
10626         about incorrect synchronization.
10627         (get_free_list): Switch to free_list_lock.
10628         (reused_arena): Acquire free_list_lock around detach_arena call
10629         and attached threads counter update.  Add two FIXMEs about
10630         incorrect synchronization.
10631         (arena_thread_freeres): Switch to free_list_lock.
10632         * malloc/malloc.c (struct malloc_state): Update comments to
10633         mention free_list_lock.
10635 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10637         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10638         Remove functions.
10639         (sloww, sloww1): Accept argument to offset quadrant.
10640         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10641         quadrant.
10642         (__sin, __cos): Consolidate common code into new functions.
10643         (reduce_sincos_1, do_sincos_1): New functions.
10644         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10647         code to new functions.
10648         (reduce_sincos_2, do_sincos_2): New functions.
10649         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10651         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10652         common code for sincos.
10653         (__cos) [!IN_SINCOS]: Likewise.
10654         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10655         New function.
10656         (__sincos): Use it.
10658 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10660         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10661         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10662         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10664 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10666         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10669         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10670         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10671         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10672         index_Prefer_No_VZEROUPPER): New feature.
10673         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10674         Prefer_No_VZEROUPPER for Knights Landing.
10676 015-12-18  Torvald Riegel  <triegel@redhat.com>
10678         * math/atest-exp2.c (mp_exp_m1): Remove.
10680 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10682         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10683         syscalls.
10684         (__SYSCALL0): New macro.
10685         (__SYSCALL1): Likewise.
10686         (__SYSCALL2): Likewise.
10687         (__SYSCALL3): Likewise.
10688         (__SYSCALL4): Likewise.
10689         (__SYSCALL5): Likewise.
10690         (__SYSCALL6): Likewise.
10691         (__SYSCALL_CONCAT_X): Likewise.
10692         (__SYSCALL_CONCAT): Likewise.
10693         (__SYSCALL_DIST): Likewise.
10694         (__SYSCALL_CALL): Likewise.
10696 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10698         [BZ #19363]
10699         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10701 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10703         [BZ #19375]
10704         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10705         negative subnormals.
10707 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10710         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10711         (INTERNAL_SYSCALL_NCS): Use it.
10712         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10714 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10716         [BZ #19243]
10717         * malloc/arena.c (get_free_list): Remove assert and adjust
10718         reference count handling.  Add comment about reused_arena
10719         interaction.
10720         (reused_arena): Add comments abount get_free_list interaction.
10721         * malloc/tst-malloc-thread-exit.c: New file.
10722         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10723         (tst-malloc-thread-exit): Link against libpthread.
10725 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10727         [BZ #19367]
10728         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10729         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10730         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10731         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10732         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10734 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10736         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10737         Silvermont optimizations for Knights Landing.
10739 2015-12-15  Andreas Schwab  <schwab@suse.de>
10741         [BZ #17197]
10742         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10743         immediately after emitting SI.
10744         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10745         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10746         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10747         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10748         * iconvdata/bug-iconv10.c: New file.
10749         * iconvdata/Makefile (tests): Add bug-iconv10.
10750         ($(objpfx)bug-iconv10.out): New rule.
10752 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10754         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10755         aliasing violation.
10757 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #18472]
10760         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10761         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10762         conditionals for them.
10763         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10764         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10766         sys/kdaemon.h.
10767         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10768         compat-only syscall, obsoleted in glibc 2.23.
10769         (create_module): Likewise.
10770         (get_kernel_syms): Likewise.
10771         (query_module): Likewise.
10772         (uselib): Likewise.
10773         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10775 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10777         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10778         <linux/version.h>.
10779         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10780         conditional code.
10781         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10782         and ioshift_name initialization.
10784 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10786         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10787         Fix indentation.
10789 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10791         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10793 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10795         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10797 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10798             Jakub Wilk  <jwilk@debian.org>
10800         [BZ #19347]
10801         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10802         to change the group of the device to the tty group.
10804 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10806         Split large string section; add truncation advice
10807         * manual/examples/strncat.c: Remove.
10808         This example was misleading, as the code would have undefined
10809         behavior if "hello" was longer than SIZE.  Anyway, the manual
10810         shouldn't encourage strncpy+strncat for this sort of thing.
10811         * manual/string.texi (Copying Strings and Arrays): Split into
10812         three sections Copying Strings and Arrays, Concatenating Strings,
10813         and Truncating Strings, as this section was way too long.  All
10814         cross-referenced changed.  Add advice about string-truncation
10815         functions.  Remove misleading strncat example.
10817 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10819         * manual/nss.texi (NSS Modules Interface): Document
10820         NSS_STATUS_NOTFOUND and SUCCESS.
10822 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10824         [BZ 18568]
10825         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10826         201505L, for Unicode 8.
10828 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10830         * locale/C-translit.h: Regenerate.
10832 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10834         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10835         and U+0153.
10837 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10839         [BZ #19351]
10840         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10841         expanding log(1+z), compare z rather than its square with epsilon
10842         to determine when to avoid evaluating the expansion.
10844         [BZ #19350]
10845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10846         Increase overflow threshold.
10848         [BZ #19349]
10849         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10850         when small.
10852         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10854         New macro.
10855         [__LINUX_KERNEL_VERSION >= 0x040300]
10856         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10858         Likewise.
10859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10860         Likewise.
10861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10862         Likewise.
10863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10864         Likewise.
10865         [__LINUX_KERNEL_VERSION >= 0x040300]
10866         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10867         [__LINUX_KERNEL_VERSION >= 0x040300]
10868         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10869         [__LINUX_KERNEL_VERSION >= 0x040300]
10870         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10871         [__LINUX_KERNEL_VERSION >= 0x040300]
10872         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10873         [__LINUX_KERNEL_VERSION >= 0x040300]
10874         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10875         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10876         Likewise.
10877         [__LINUX_KERNEL_VERSION >= 0x040300]
10878         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10880         Likewise.
10881         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10882         Likewise.
10883         [__LINUX_KERNEL_VERSION >= 0x040300]
10884         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10885         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10886         Likewise.
10887         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10888         Likewise.
10889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10891         Likewise.
10892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10893         Likewise.
10894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10895         Likewise.
10896         [__LINUX_KERNEL_VERSION >= 0x040300]
10897         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10899         Likewise.
10900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10901         Likewise.
10902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10903         Likewise.
10904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10905         Likewise.
10906         [__LINUX_KERNEL_VERSION >= 0x040300]
10907         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10908         [__LINUX_KERNEL_VERSION >= 0x040300]
10909         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10910         [__LINUX_KERNEL_VERSION >= 0x040300]
10911         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10912         [__LINUX_KERNEL_VERSION >= 0x040300]
10913         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10914         [__LINUX_KERNEL_VERSION >= 0x040300]
10915         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10917         Likewise.
10918         [__LINUX_KERNEL_VERSION >= 0x040300]
10919         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10921         Likewise.
10922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10923         Likewise.
10924         [__LINUX_KERNEL_VERSION >= 0x040300]
10925         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10927         Likewise.
10928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10931         (__ASSUME_SOCKET_SYSCALL): Likewise.
10932         (__ASSUME_BIND_SYSCALL): Likewise.
10933         (__ASSUME_CONNECT_SYSCALL): Likewise.
10934         (__ASSUME_LISTEN_SYSCALL): Likewise.
10935         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10936         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10937         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10938         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10939         (__ASSUME_SEND_SYSCALL): Likewise.
10940         (__ASSUME_SENDTO_SYSCALL): Likewise.
10941         (__ASSUME_RECV_SYSCALL): Likewise.
10942         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10943         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10944         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10945         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10946         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10947         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10948         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10949         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10950         Likewise.
10951         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10952         Likewise.
10953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10954         Likewise.
10955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10956         Likewise.
10957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10958         Likewise.
10959         [__LINUX_KERNEL_VERSION >= 0x020625]
10960         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10961         [__LINUX_KERNEL_VERSION >= 0x020625]
10962         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10963         [__LINUX_KERNEL_VERSION >= 0x020625]
10964         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10965         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10966         Likewise.
10967         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10968         Likewise.
10969         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10970         Likewise.
10971         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10972         Likewise.
10973         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10974         Likewise.
10975         [__LINUX_KERNEL_VERSION >= 0x020625]
10976         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10977         [__LINUX_KERNEL_VERSION >= 0x020625]
10978         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10979         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10980         Likewise.
10981         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10982         Likewise.
10984 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10986         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10987         record the current if the current ABI and CPU support the FP64
10988         extension.
10989         (has-modd-spreg): Define to record the current if the current ABI and
10990         CPU support 32-bit floating point values in odd FPU registers.
10991         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10992         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10993         $(has-modd-spreg) equals yes.
10994         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10995         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10996         $(has-modd-spreg) equal yes.
10998 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11000         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11001         basename.
11003 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11005         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11006         (bench-string): ... here.
11007         (bench): Add bench-string.
11008         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11009         to *-benchset to reflect what they are.
11010         (benchset): Adjust.
11012         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11013         cos-inputs.
11015 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11017         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11018         __attribute__ ((__simd__)) for vector math function declarations.
11020 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11022         Fix typo in strncat, wcsncat manual entries
11023         * manual/string.texi (Copying and Concatenation): Fix typos in
11024         sample implementations of strncat and wcsncat, by having them use
11025         the old value of the destination length, not the new one.
11027 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11029         [BZ #16961]
11030         [BZ #16962]
11031         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11032         string on the stack for strtod.
11033         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11034         a string on the stack for strtof.
11035         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11036         constructing a string on the stack for strtold.
11037         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11038         __strtold_nan to GLIBC_PRIVATE.
11039         * math/test-nan-overflow.c: New file.
11040         * math/test-nan-payload.c: Likewise.
11041         * math/Makefile (tests): Add test-nan-overflow and
11042         test-nan-payload.
11044 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11046         Consistency about byte vs character in string.texi
11047         * manual/string.texi (String and Array Utilities):
11048         Distinguish more carefully among bytes, multibyte characters,
11049         and wide characters.  Use "byte" when talking about C 'char',
11050         to distinguish it more clearly from multibyte characters.
11051         Say "wide character" or "multibyte character" instead of
11052         "character", when a wide or multibyte character is intended.
11053         Similarly for "multibyte string" versus "string".
11054         Define these terms more carefully.
11056 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11058         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11059         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11060         Likewise.
11061         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11062         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11063         * sysdeps/sh/math_private.h: New file.
11064         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11065         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11066         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11067         long double function name.
11068         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11069         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11074         Remove __finitel, __isinfl, and __isnanl.
11075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11079         Remove __finitel.
11080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11081         Likewise.
11082         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11084 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11086         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11087         installed libmvec_nonshared.a.
11089 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11091         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11092         (sysdep_routines): Likewise.
11093         (sysdep-rtld-routines): Likewise.
11094         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11095         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11096         * sysdeps/powerpc/Versions: Added new
11097         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11098         * sysdeps/powerpc/hwcapinfo.c: New file.
11099         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11100         and parse hwcap, hwcap2 and platform number information.
11101         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11102         to store HWCAP+HWCAP2 and platform number.
11103         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11104         for HWCAP+HWCAP2 and platform number in the TCB.
11105         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11106         the HWCAP, HWCAP2 and platform number in the TCB.
11107         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11108         (TLS_INIT_TP): Included calls to add the hwcap and
11109         at_platform values in the TCB in TP initialization.
11110         (TLS_DEFINE_INIT_TP): Likewise.
11111         (THREAD_GET_HWCAP): New macro.
11112         (THREAD_SET_HWCAP): Likewise.
11113         (THREAD_GET_AT_PLATFORM): Likewise.
11114         (THREAD_SET_AT_PLATFORM): Likewise.
11115         * sysdeps/powerpc/powerpc32/dl-machine.h:
11116         (dl_platform_init): New function that calls
11117         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11118         powerpc32.
11119         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11120         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11121         this functionality, static linking case.
11122         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11123         linking case.
11124         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11125         __parse_hwcap_and_convert_at_platform for the static linking case.
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11127         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11128         ABI list for GLIBC 2.23.
11129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11130         Likewise.
11131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11132         Likewise.
11134 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11136         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11137         * configure: Regenerate.
11138         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11139         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11141 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11143         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11144         * iconvdata/ibm933.c: Likewise.
11145         * iconvdata/ibm935.c: Likewise.
11146         * iconvdata/ibm937.c: Likewise.
11147         * iconvdata/ibm939.c: Likewise.
11149 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11151         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11152         pthread_join.
11153         * nptl/tst-cancel21.c (tf): Likewise.
11155 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11157         [BZ #19313]
11158         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11159         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11160         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11161         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11162         Likewise.
11163         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11164         Likewise.
11165         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11166         Likewise.
11167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11170         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11171         unsigned long int with __CPU_MASK_TYPE.
11173 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11175         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11177 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11179         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11180         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11181         t512.x.
11182         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11184 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11186         [BZ #19214]
11187         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11188         argument to return extended model.  Update family and model
11189         with extended family and model when family == 0x0f.
11190         (init_cpu_features): Updated.
11192 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11194         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11195         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11197         * sysdeps/mach/hurd/mmap64.c: New file.
11199 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11201         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11202         rights for its main user thread in NEWTASK.
11204 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11206         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11207         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11209 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11211         [BZ #14259]
11212         * Makeconfig: Rename localedir to complocaledir.
11213         Rename inst_localedir to inst_complocaledir.
11214         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11215         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11216         * configure.ac: Use libc_cv_complocaledir.
11217         * configure: Regenerate.
11218         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11219         -DCOMPLOCALEDIR.
11220         * locale/findlocale.c: Use COMPLOCALEDIR.
11221         * locale/loadarchive.c: Likewise.
11222         * locale/programs/locale.c: Likewise.
11223         * locale/programs/localedef.c: Likewise.
11224         * locale/programs/locarchive.c: Likewise.
11225         * localedata/Makefile: Use inst_complocaledir.
11226         * sysdeps/gnu/configure: Regenerate.
11227         * sysdeps/hppa/configure: Regenerate.
11228         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11229         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11231         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11232         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11233         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11234         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11236 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11238         [BZ #19058]
11239         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11240         AS_NEEDED.
11241         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11242         workaround.
11243         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11244         libmvec-static-only-routines): Added new file.
11245         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11247 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11249         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11250         of interrupted RPC instead of restoring it.
11252         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11253         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11254         libc_hidden_def.
11255         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11256         into initialized data instead of common. Define rtld_hidden_data_def.
11257         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11258         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11259         libc_hidden_def.
11260         (if_freenameindex): Add libc_hidden_weak.
11261         (if_nameindex): Add libc_hidden_weak.
11262         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11263         __open64.
11264         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11265         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11266         * sysdeps/mach/nanosleep.c: Include <time.h>
11267         (__nanosleep): Rename to __libc_nanosleep.
11268         (__nanosleep): Add weak_alias.
11269         (nanosleep): Update alias.
11271 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11273         * stdlib/strtod_nan.c: New file.
11274         * stdlib/strtod_nan_double.h: Likewise.
11275         * stdlib/strtod_nan_float.h: Likewise.
11276         * stdlib/strtod_nan_main.c: Likewise.
11277         * stdlib/strtod_nan_narrow.h: Likewise.
11278         * stdlib/strtod_nan_wide.h: Likewise.
11279         * stdlib/strtof_nan.c: Likewise.
11280         * stdlib/strtold_nan.c: Likewise.
11281         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11282         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11283         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11284         * wcsmbs/wcstod_nan.c: Likewise.
11285         * wcsmbs/wcstof_nan.c: Likewise.
11286         * wcsmbs/wcstold_nan.c: Likewise.
11287         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11288         strtold_nan.
11289         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11290         wcstof_nan.
11291         * include/stdlib.h (__strtof_nan): Declare and use
11292         libc_hidden_proto.
11293         (__strtod_nan): Likewise.
11294         (__strtold_nan): Likewise.
11295         (__wcstof_nan): Likewise.
11296         (__wcstod_nan): Likewise.
11297         (__wcstold_nan): Likewise.
11298         * include/wchar.h (____wcstoull_l_internal): Declare.
11299         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11300         (____strtoull_l_internal): Remove declaration.
11301         (STRTOF_NAN): Define macro.
11302         (SET_MANTISSA): Remove macro.
11303         (STRTOULL): Likewise.
11304         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11305         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11306         (STRTOF_NAN): Define macro.
11307         (SET_MANTISSA): Remove macro.
11308         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11309         (SET_MANTISSA): Remove macro.
11310         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11311         macro.
11312         (SET_MANTISSA): Remove macro.
11313         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11314         macro.
11315         (SET_MANTISSA): Remove macro.
11316         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11317         (SET_MANTISSA): Remove macro.
11318         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11319         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11320         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11322         [BZ #19266]
11323         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11324         upper case and lower case letters inside NAN(), not using TOLOWER.
11325         * stdlib/tst-strtod-nan-locale-main.c: New file.
11326         * stdlib/tst-strtod-nan-locale.c: Likewise.
11327         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11328         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11329         Depend on $(gen-locales).
11330         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11331         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11332         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11333         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11334         Depend on $(gen-locales).
11335         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11337 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11339         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11341         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11343         __finitel, __isinfl, and __isnanl.
11344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11345         Likewise.
11346         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11348         __finitel.
11349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11353 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11355         * malloc/memusage.c (me): Remove redundant getenv call.
11357 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11359         [BZ #19143]
11360         [BZ #19164]
11361         * nptl/check-cpuset.h: Remove.
11362         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11363         Remove CPU set size check.
11364         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11365         Likewise.
11366         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11367         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11368         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11369         (__pthread_setaffinity_new): Remove CPU set size check.
11370         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11371         (__kernel_cpumask_size): Remove.
11372         (__sched_setaffinity_new): Remove CPU set size check.
11373         * manual/threads.texi (Default Thread Attributes): Remove stale
11374         reference to check_cpuset_attr, determine_cpumask_size in comment.
11375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11376         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11377         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11378         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11379         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11380         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11381         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11382         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11383         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11384         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11385         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11386         skeleton test file.
11387         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11388         tst-affinity-pid.
11390 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11392         * scripts/update-abilist.sh: New file.
11393         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11394         * Makerules (update-all-abi-%, update-all-abi)
11395         (subdir_update-all-abi): New targets.
11396         * elf/Makefile (update-all-abi): New target.
11398 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11400         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11401         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11402         (__libc_lock_define_initialized): Use it.
11403         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11404         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11405         * malloc/malloc.c (main_arena): Likewise.
11406         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11407         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11409 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11411         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11412         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11413         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11414         (PTRACE_O_MASK): Update value.
11415         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11416         New value in enum __ptrace_setoptions.
11417         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11418         (PTRACE_O_MASK): Update value.
11419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11420         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11421         (PTRACE_O_MASK): Update value.
11422         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11423         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11424         (PTRACE_O_MASK): Update value.
11425         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11426         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11427         (PTRACE_O_MASK): Update value.
11428         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11429         New value in enum __ptrace_setoptions.
11430         (PTRACE_O_MASK): Update value.
11431         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11432         New value in enum __ptrace_setoptions.
11433         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11434         (PTRACE_O_MASK): Update value.
11436         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11437         New macro.
11438         (PACKET_AUXDATA): Likewise.
11439         (PACKET_ORIGDEV): Likewise.
11440         (PACKET_VERSION): Likewise.
11441         (PACKET_HDRLEN): Likewise.
11442         (PACKET_RESERVE): Likewise.
11443         (PACKET_TX_RING): Likewise.
11444         (PACKET_LOSS): Likewise.
11445         (PACKET_VNET_HDR): Likewise.
11446         (PACKET_TX_TIMESTAMP): Likewise.
11447         (PACKET_TIMESTAMP): Likewise.
11448         (PACKET_FANOUT): Likewise.
11449         (PACKET_TX_HAS_OFF): Likewise.
11450         (PACKET_QDISC_BYPASS): Likewise.
11451         (PACKET_ROLLOVER_STATS): Likewise.
11452         (PACKET_FANOUT_DATA): Likewise.
11453         (PACKET_MR_UNICAST): Likewise.
11455         [BZ #19242]
11456         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11457         (TOUPPER): Likewise.
11458         * stdlib/tst-strtol-locale-main.c: New file.
11459         * stdlib/tst-strtol-locale.c: Likewise.
11460         * stdlib/Makefile (tests): Add tst-strtol-locale.
11461         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11462         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11463         Depend on $(gen-locales).
11464         * wcsmbs/tst-wcstol-locale.c: New file.
11465         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11466         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11467         tr_TR.ISO-8859-9.
11468         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11469         Depend on $(gen-locales).
11471 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11473         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11474         __glibc_likely instead of __builtin_expect.  After falling back to
11475         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11476         system interface to register the code pages as occupied.
11478 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11480         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11481         [!ARM_MATH_PRIVATE_H].
11482         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11483         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11484         [!HPPA_MATH_PRIVATE_H].
11485         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11486         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11487         to [!I386_MATH_PRIVATE_H].
11488         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11489         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11490         Change guard to [!M68K_MATH_PRIVATE_H].
11491         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11492         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11493         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11494         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11495         macro.
11496         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11497         [!MIPS_MATH_PRIVATE_H].
11498         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11499         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11500         [!NIO2_MATH_PRIVATE_H].
11501         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11502         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11503         [!TILE_MATH_PRIVATE_H].
11504         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11506         [BZ #15421]
11507         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11508         initialize with 0 and define as weak alias of __signgam.
11509         * include/math.h [!_ISOMAC] (__signgam): Declare.
11510         * math/Makefile (libm-calls): Add w_lgamma_compat.
11511         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11512         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11513         test-signgam-ullong-init.
11514         (tests-static): Add test-signgam-uchar-static,
11515         test-signgam-uchar-init-static, test-signgam-uint-static,
11516         test-signgam-uint-init-static, test-signgam-ullong-static and
11517         test-signgam-ullong-init-static.
11518         (CFLAGS-test-signgam-uchar.c): New variable.
11519         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11520         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11521         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11522         (CFLAGS-test-signgam-uint.c): Likewise.
11523         (CFLAGS-test-signgam-uint-init.c): Likewise.
11524         (CFLAGS-test-signgam-uint-static.c): Likewise.
11525         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11526         (CFLAGS-test-signgam-ullong.c): Likewise.
11527         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11528         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11529         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11530         * math/Versions (libm): Add GLIBC_2.23.
11531         * math/lgamma-compat.h: New file.
11532         * math/test-signgam-main.c: Likewise.
11533         * math/test-signgam-uchar-init-static.c: Likewise.
11534         * math/test-signgam-uchar-init.c: Likewise.
11535         * math/test-signgam-uchar-static.c: Likewise.
11536         * math/test-signgam-uchar.c: Likewise.
11537         * math/test-signgam-uint-init-static.c: Likewise.
11538         * math/test-signgam-uint-init.c: Likewise.
11539         * math/test-signgam-uint-static.c: Likewise.
11540         * math/test-signgam-uint.c: Likewise.
11541         * math/test-signgam-ullong-init-static.c: Likewise.
11542         * math/test-signgam-ullong-init.c: Likewise.
11543         * math/test-signgam-ullong-static.c: Likewise.
11544         * math/test-signgam-ullong.c: Likewise.
11545         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11546         wrapper of w_lgamma_main.c.
11547         * math/w_lgamma_compat.c: New file.
11548         * math/w_lgamma_compatf.c: Likewise.
11549         * math/w_lgamma_compatl.c: Likewise.
11550         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11551         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11552         defining compatibility symbols.
11553         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11554         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11555         wrapper of w_lgammaf_main.c.
11556         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11557         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11558         defining compatibility symbols.
11559         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11560         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11561         wrapper of w_lgammal_main.c.
11562         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11563         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11564         defining compatibility symbols.
11565         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11566         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11567         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11568         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11569         <lgamma-compat.h>.
11570         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11571         (__ieee754_gamma): Define as alias.
11572         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11573         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11574         <lgamma-compat.h>.
11575         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11576         (__ieee754_gammaf): Define as alias.
11577         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11578         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11579         <lgamma-compat.h>.
11580         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11581         (__ieee754_gammal): Define as alias.
11582         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11583         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11584         <math/w_lgamma_compat.c>.
11585         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11586         Define as alias of __lgamma_compat and use in defining lgammal.
11587         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11588         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11589         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11590         (USE_AS_COMPAT): New macro.
11591         (LGAMMA_OLD_VER): Undefine and redefine.
11592         (lgammal): Do not define here.
11593         (gammal): Only define here if [GAMMA_ALIAS].
11594         * conform/linknamespace.pl (@whitelist): Remove signgam.
11595         * sysdeps/nacl/libm.abilist: Update.
11596         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11609         Likewise.
11610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11611         Likewise.
11612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11613         Likewise.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11615         Likewise.
11616         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11622         Likewise.
11623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11624         Likewise.
11625         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11626         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11627         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11629 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11631         [BZ #16364]
11632         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11633         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11635 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11637         * sysdeps/s390/fpu/bits/mathinline.h:
11638         Use __asm__ [__volatile__] instead of asm [volatile].
11639         * sysdeps/s390/abort-instr.h: Likewise.
11640         * sysdeps/s390/atomic-machine.h: Likewise.
11641         * sysdeps/s390/bits/string.h: Likewise.
11642         * sysdeps/s390/dl-tls.h: Likewise.
11643         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11644         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11645         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11646         * sysdeps/s390/fpu/fesetround.c: Likewise.
11647         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11648         * sysdeps/s390/fpu/s_fma.c: Likewise.
11649         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11650         * sysdeps/s390/memusage.h: Likewise.
11651         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11652         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11653         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11654         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11655         * sysdeps/s390/nptl/tls.h: Likewise.
11656         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11657         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11658         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11659         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11660         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11661         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11662         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11663         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11664         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11665         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11666         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11667         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11668         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11669         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11670         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11671         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11672         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11673         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11674         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11676         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11678         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11680 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11681             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11683         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11684         Add lwarx hint, and use macro for acquire instruction.
11685         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11686         Likewise.
11687         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11688         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11689         update to use new atomic macros.
11691 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11693         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11694         (__lll_trylock_elision): Fix setting of adapt_count.
11695         * sysdeps/unix/sysv/linux/powerpc/htm.h
11696         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11697         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11698         (_ABORT_SYSCALL): Renumber, and clarify definition.
11699         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11701 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11703         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11704         after system headers to prevent MIN/MAX redefinition.  Define
11705         HAVE_ALLOCA to preserve builtin alloca usage.
11707 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11710         static and don't set or restore rounding.
11711         (__cos)[IN_SINCOS]: Likewise.
11712         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11713         (__sincos): Set and restore rounding mode.  Remove check for infinite
11714         or NaN input.
11716         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11718         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11719         as used.
11721 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11723         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11725 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11727         * config.make.in (have-glob-dat-reloc): New.
11728         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11729         target supports GLOB_DAT relocaton. AC_SUBST.
11730         * configure: Regenerated.
11731         * elf/Makefile (tests): Add tst-prelink.
11732         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11733         (tst-prelink-ENV): New.
11734         ($(objpfx)tst-prelink-conflict.out): Likewise.
11735         ($(objpfx)tst-prelink-cmp.out): Likewise.
11736         * sysdeps/x86/tst-prelink.c: Moved to ...
11737         * elf/tst-prelink.c: Here.
11738         * sysdeps/x86/tst-prelink.exp: Moved to ...
11739         * elf/tst-prelink.exp: Here.
11740         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11741         (tst-prelink-ENV): Removed.
11742         ($(objpfx)tst-prelink-conflict.out): Likewise.
11743         ($(objpfx)tst-prelink-cmp.out): Likewise.
11744         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11746 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11748         [BZ #14551]
11749         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11750         (__mpn_construct_long_double): If high part overflows to infinity,
11751         set errno and recompute overflowed result of the correct sign.
11752         * sysdeps/ieee754/ldbl-128ibm/Makefile
11753         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11754         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11755         $(libm).
11756         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11758 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11760         [BZ #15479]
11761         [BZ #19238]
11762         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11763         floating-point state after first operation on input.  Restore full
11764         state rather than just rounding mode.
11765         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11766         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11767         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11769         [BZ #19235]
11770         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11771         add 0.5 to integer arguments.
11772         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11773         Likewise.
11774         (.LC2): New object.
11776 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11778         * scripts/pylintrc (reports): Set to no.
11780 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11782         * elf/dl-load.c (open_verify): Take new argument FD.
11783         Skip __open call if passed FD is not -1.
11784         (_dl_map_object, open_path): Update callers.
11785         * elf/dl-sysdep-open.h: New file.
11786         * elf/dl-load.c: Include it.
11787         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11788         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11789         * sysdeps/nacl/dl-sysdep-open.h: New file.
11790         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11791         from libc to rtld.
11793 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11795         [BZ #19228]
11796         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11797         and restore full floating-point state.
11798         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11799         Likewise.
11800         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11801         Likewise.
11802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11803         Likewise.
11804         * math/test-nearbyint-except-2.c: New file.
11805         * math/Makefile (tests): Add test-nearbyint-except-2.
11807 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11809         [BZ #19178]
11810         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11811         (tst-prelink-ENV): New.
11812         ($(objpfx)tst-prelink-conflict.out): Likewise.
11813         ($(objpfx)tst-prelink-cmp.out): Likewise.
11814         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11815         * sysdeps/x86/tst-prelink.c: New file.
11816         * sysdeps/x86/tst-prelink.exp: Likewise.
11818 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11820         * math/auto-libm-test-in: Add another test of pow.
11821         * math/auto-libm-test-out: Regenerated.
11822         * math/libm-test.inc (pow_test_data): Add another test.
11824 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11826         [BZ #19219]
11827         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11828         weak_alias to nearbyintl.
11830 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11832         * sysdeps/aarch64/bits/string.h: New file.
11833         (_STRING_ARCH_unaligned): Define.
11835 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11837         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11838         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11839         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11840         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11843 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11845         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11846         for original name of the DSO.  Add it to the name list of the DSO
11847         if it is actually given.
11848         (_dl_map_object): Keep track of whether an audit module rewrote
11849         the file name.  If yes, pass the original name to
11850         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11851         debugging is enabled, log the change of the file name.
11852         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11853         _dl_map_object_from_fd.
11854         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11855         * elf/tst-audit11.c: New file
11856         * elf/tst-auditmod11.c: New file.
11857         * elf/tst-audit11mod1.c: New file.
11858         * elf/tst-audit11mod2.c: New file.
11859         * elf/tst-audit11mod2.map: New file.
11860         * elf/tst-audit12.c: New file
11861         * elf/tst-auditmod12.c: New file.
11862         * elf/tst-audit12mod1.c: New file.
11863         * elf/tst-audit12mod2.c: New file.
11864         * elf/tst-audit12mod2.map: New file.
11865         * elf/tst-audit12mod3.c: New file.
11867 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11869         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11870         Don't create weak aliases,
11871         because versioned symbols are created later.
11872         * sysdeps/s390/s390-32/setjmp.S
11873         (setjmp, _setjmp): Remove weak and rename to an unique name
11874         in SHARED case due to existing versioned symbols.
11875         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11876         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11877         (getcontext): Create weak alias only in non SHARED case.
11878         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11880 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11882         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11883         (__ASSUME_*_SYSCALL) Define new macros.
11884         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11885         Remove socketcall syscalls.
11886         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11887         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11888         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11889         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11890         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11891         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11893 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11895         [BZ #12926]
11896         Terminate process on invalid netlink response.
11897         * sysdeps/unix/sysv/linux/netlinkaccess.h
11898         (__netlink_assert_response): Declare.
11899         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11900         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11901         (sysdep_routines): Add netlink_assert_response.
11902         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11903         __netlink_assert_response.
11904         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11905         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11906         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11907         __netlink_assert_response.
11909 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11911         [BZ #19178]
11912         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11913         (RTYPE_CLASS_PLT): Likewise.
11914         (RTYPE_CLASS_COPY): Likewise.
11915         (RTYPE_CLASS_TLS): Likewise.
11916         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11917         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11918         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11919         DL_DEBUG_PRELINK.
11921 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11923         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11924         calls with argument -0.5.
11925         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11927         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11928         (libc_cv_z_nodlopen): Likewise.
11929         (libc_cv_z_initfirst): Likewise.
11930         * configure: Regenerated.
11932 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11934         Simplify abilist format to be line-based.
11935         * scripts/abilist.awk: Collect descriptors in the descs variable.
11936         (emit): Write descs variable and sort it
11937         externally, with sort.
11938         * sysdeps/**/*.abilist: Convert to new format.
11940 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11942         [BZ #11460]
11943         * io/Makefile (routines): Add fts64.
11944         (tests): Add tst-fts and tst-fts-lfs.
11945         (CFLAGS-fts64.c): New.
11946         * io/Versions (GLIBC_2.23): New.
11947         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11948         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11949         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11950         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11951         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11952         (FTSENT64): Likewise.
11953         (fts64_children): Likewise.
11954         (fts64_close): Likewise.
11955         (fts64_open): Likewise.
11956         (fts64_read): Likewise.
11957         (fts64_set): Likewise.
11958         * io/fts64.c: New file.
11959         * io/tst-fts.c: New test.
11960         * io/tst-fts-lfs.c: Likewise.
11961         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11962         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11963         fts64_set.
11964         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11980         Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11993         * sysdeps/wordsize-64/fts.c: New file.
11994         * sysdeps/wordsize-64/fts64.c: Likewise.
11995         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11996         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11997         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11998         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12000 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12002         * math/libm-test.inc (NON_FINITE): New macro.
12003         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12004         * math/gen-libm-test.pl (show_exceptions): Add argument
12005         $non_finite.
12006         (parse_args): Update call to show_exceptions.
12007         * math/test-math-finite.h: New file.
12008         * math/test-math-no-finite.h: Likewise.
12009         * math/test-double-finite.c: Likewise.
12010         * math/test-float-finite.c: Likewise.
12011         * math/test-ldouble-finite.c: Likewise.
12012         * math/test-double.c: Include "test-math-no-finite.h".
12013         * math/test-float.c: Include "test-math-no-finite.h".
12014         * math/test-ldouble.c: Include "test-math-no-finite.h".
12015         * math/test-math-inline.h (TEST_FINITE): New macro.
12016         * math/test-math-vector.h (TEST_FINITE): Likewise.
12017         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12018         (libm-tests): Add test-float-finite and test-double-finite.
12019         ($(objpfx)test-float-finite.o): New dependency on
12020         $(objpfx)libm-test.stmp.
12021         ($(objpfx)test-double-finite.o): Likewise.
12022         ($(objpfx)test-ldouble-finite.o): Likewise.
12023         (libm-test-no-inline-cflags): New variable.
12024         (libm-test-finite-cflags): Likewise.
12025         (CFLAGS-test-float-finite.c): Likewise.
12026         (CFLAGS-test-double-finite.c): Likewise.
12027         (CFLAGS-test-ldouble-finite.c): Likewise.
12028         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12029         (CFLAGS-test-double.c): Likewise.
12030         (CFLAGS-test-ldouble.c): Likewise.
12032 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12034         * io/fcntl.c (__fcntl): Add ... to prototype.
12035         * misc/ioctl.c (__ioctl): Likewise.
12036         * misc/syscall.c (syscall): Likewise.
12038 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12040         * scripts/list-fixed-bugs.py: New file.
12042         [BZ #19213]
12043         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12044         returned for argument 1.
12045         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12046         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12047         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12048         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12049         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12050         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12052         [BZ #19211]
12053         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12054         __USE_XOPEN], not if [!__USE_ISOC99].
12055         (lgammaf): Likewise.
12056         (lgammal): Likewise.
12057         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12058         (gammaf): Likewise.
12059         (gammal): Likewise.
12060         * math/test-signgam-finite-c11.c: New file.
12061         * math/test-signgam-finite-c99.c: Likewise.
12062         * math/test-signgam-finite.c: Likewise.
12063         * math/Makefile (tests): Add test-signgam-finite,
12064         test-signgam-finite-c99 and test-signgam-finite-c11.
12065         (CFLAGS-test-signgam-finite.c): New variable.
12066         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12067         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12069         [BZ #19212]
12070         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12071         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12072         500].
12073         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12074         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12075         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12076         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12077         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12078         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12079         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12080         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12081         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12082         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12084         [BZ #19209]
12085         * math/bits/math-finite.h (ldexp): Remove declaration.
12086         (ldexpf): Likewise.
12087         (ldexpl): Likewise.
12089         [BZ #19205]
12090         * math/bits/math-finite.h (acosf): Condition declaration on
12091         [__USE_ISOC99].
12092         (acosl): Likewise.
12093         (acoshf): Likewise.
12094         (acoshl): Likewise.
12095         (asinf): Likewise.
12096         (asinl): Likewise.
12097         (atan2f): Likewise.
12098         (atan2l): Likewise.
12099         (atanhf): Likewise.
12100         (atanhl): Likewise.
12101         (coshf): Likewise.
12102         (coshl): Likewise.
12103         (expf): Likewise.
12104         (expl): Likewise.
12105         (fmodf): Likewise.
12106         (fmodl): Likewise.
12107         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12108         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12109         (j0l): Likewise.
12110         (y0f): Likewise.
12111         (y0l): Likewise.
12112         (j1f): Likewise.
12113         (j1l): Likewise.
12114         (y1f): Likewise.
12115         (y1l): Likewise.
12116         (jnf): Likewise.
12117         (jnl): Likewise.
12118         (ynf): Likewise.
12119         (ynl): Likewise.
12120         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12121         (lgammal_r): Likewise.
12122         (__lgamma_r_finite): New declaration.
12123         (__lgammaf_r_finite): Likewise.
12124         (__lgammal_r_finite): Likewise.
12125         (lgamma): Use __lgamma_r_finite.
12126         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12127         __lgammaf_r_finite.
12128         (lgammal): Condition definition on [__USE_ISOC99].  Use
12129         __lgammal_r_finite.
12130         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12131         __lgamma_r_finite.
12132         (gammaf): Condition definition on [__USE_ISOC99].  Use
12133         __lgammaf_r_finite.
12134         (gammal): Condition definition on [__USE_ISOC99].  Use
12135         __lgammal_r_finite.
12136         (logf): Condition declaration on [__USE_ISOC99].
12137         (logl): Likewise.
12138         (log10f): Likewise.
12139         (log10l): Likewise.
12140         (ldexpf): Likewise.
12141         (ldexpl): Likewise.
12142         (powf): Likewise.
12143         (powl): Likewise.
12144         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12145         __USE_ISOC99].
12146         (remainderf): Condition declaration on [__USE_ISOC99].
12147         (remainderl): Likewise.
12148         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12149         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12150         (scalbl): Likewise.
12151         (sinhf): Condition declaration on [__USE_ISOC99].
12152         (sinhl): Likewise.
12153         (sqrtf): Likewise.
12154         (sqrtl): Likewise.
12156 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12158         * sysdeps/arm/atomic-machine.h
12159         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12160         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12161         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12162         Remove conditional code.
12163         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12164         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12165         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12166         Change conditional to [__ASSEMBLER__].
12167         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12168         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12169         [!__ASSEMBLER__].
12170         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12171         code.
12172         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12173         conditional macro definitions.
12174         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12175         (__arch_compare_and_exchange_val_16_acq): Likewise.
12176         (__arch_compare_and_exchange_val_32_acq): Likewise.
12177         (atomic_exchange_and_add): Likewise.
12178         (atomic_add): Likewise.
12179         (atomic_add_negative): Likewise.
12180         (atomic_add_zero): Likewise.
12181         (atomic_bit_set): Likewise.
12182         (atomic_bit_test_set): Likewise.
12183         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12184         code unconditional.
12185         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12187         * math/test-math-errno.h: New file.
12188         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12189         empty.
12190         (TEST_ERRNO): New macro.
12191         (TEST_EXCEPTIONS): Likewise.
12192         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12193         (TEST_EXCEPTIONS): Likewise.
12194         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12195         * math/test-double.c: Include "test-math-errno.h".
12196         * math/test-float.c: Likewise.
12197         * math/test-ldouble.c: Likewise.
12198         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12199         code unconditional.
12200         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12201         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12202         unconditional.
12203         (test_errno): Only run code if TEST_ERRNO.
12204         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12206 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12208         * nptl/tst-once5.cc: Remove attribution.
12210 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12212         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12213         sqrt, tan, tanh, y0, y1 and yn.
12214         * math/auto-libm-test-out: Regenerated.
12215         * math/libm-test.inc (scalb_test_data): Add more tests.
12216         (scalbn_test_data): Likewise.
12217         (scalbln_test_data): Likewise.
12218         (signbit_test_data): Likewise.
12219         (sin_test_data): Likewise.
12220         (sincos_test_data): Likewise.
12221         (sinh_test_data): Likewise.
12222         (sqrt_test_data): Likewise.
12223         (tan_test_data): Likewise.
12224         (tanh_test_data): Likewise.
12225         (tgamma_test_data): Likewise.
12226         (y0_test_data): Likewise.
12227         (y1_test_data): Likewise.
12228         (yn_test_data): Likewise.
12229         (significand_test_data): Likewise.
12230         * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 2015-11-03  David Kastrup  <dak@gnu.org>
12234         [BZ #18604]
12235         * assert/assert.h (assert): Don't macro-expand failed assertion
12236         expression in error message.
12237         * malloc/malloc.c (assert): Likewise.
12239 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12241         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12242         test.
12243         * configure: Regenerated.
12245 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12247         * math/libm-test.inc (modf_test_data): Add more tests.
12248         (nearbyint_test_data): Likewise.
12249         (nextafter_test_data): Likewise.
12250         (nexttoward_test_data): Likewise.
12251         (pow_test_data): Likewise.
12252         (remainder_test_data): Likewise.
12253         (remquo_test_data): Likewise.
12254         (rint_test_data): Likewise.
12256         [BZ #19201]
12257         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12258         Check for zero remainder in case of large exponents and ensure
12259         correct sign of result in that case.
12260         * math/libm-test.inc (remainder_test_data): Add more tests.
12262         [BZ #6799]
12263         * math/s_nextafter.c: Include <errno.h>.
12264         (__nextafter): Set errno on overflow and underflow.
12265         * math/s_nexttowardf.c: Include <errno.h>.
12266         (__nexttowardf): Set errno on overflow and underflow.
12267         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12268         (__nextafterl): Set errno on overflow and underflow.
12269         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12270         (__nexttoward): Set errno on overflow and underflow.
12271         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12272         (__nexttowardf): Set errno on overflow and underflow.
12273         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12274         (__nextafterf): Set errno on overflow and underflow.
12275         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12276         (__nextafterl): Set errno on overflow and underflow.
12277         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12278         (__nexttoward): Set errno on overflow and underflow.
12279         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12280         (__nexttowardf): Set errno on overflow and underflow.
12281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12282         (__nextafterl): Set errno on overflow and underflow.
12283         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12284         (__nexttoward): Set errno on overflow and underflow.
12285         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12286         (__nexttowardf): Set errno on overflow and underflow.
12287         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12288         (__nexttoward): Set errno on overflow and underflow.
12289         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12290         (__nexttowardf): Set errno on overflow and underflow.
12291         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12292         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12293         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12294         (__nextafterl): Set errno on overflow and underflow.
12295         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12296         setting to be missing on overflow.  Add more tests.
12297         (nexttoward_test_data): Likewise.
12299         * configure.ac (libc_cv_initfini_array): Remove configure test.
12300         * configure: Regenerated.
12302 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12304         [BZ #19189]
12305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12306         non-finite argument handle arguments with negative sign.
12308         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12309         result from infinite argument.
12310         (j1_test_data): Likewise.
12311         (jn_test_data): Likewise.
12312         (y0_test_data): Likewise.
12313         (y1_test_data): Likewise.
12314         (yn_test_data): Likewise.
12316         [BZ #16171]
12317         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12318         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12319         * math/w_remainderf.c (dremf): Define as weak alias of
12320         __remainderf.
12321         * math/w_remainderl.c (dreml): Define as weak alias of
12322         __remainderl.
12323         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12324         __remainder.
12325         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12326         __remainderf.
12327         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12328         __remainderl.
12329         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12330         weak alias of remainderl.
12331         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12332         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12333         alias of __remainder.
12334         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12335         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12336         strong alias of __remainderl.
12337         (dreml): Use long_double_symbol.
12338         * math/Makefile (libm-calls): Remove w_drem.
12339         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12340         (CFLAGS-nldbl-drem.c): Remove variable.
12341         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12342         * math/w_drem.c: Remove file.
12343         * math/w_dremf.c: Likewise.
12344         * math/w_dreml.c: Likewise.
12345         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12346         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12347         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12349         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12350         * sysdeps/i386/configure: Regenerated.
12351         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12352         * sysdeps/x86_64/configure: Regenerated.
12354         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12355         test.
12356         (libc_cv_visibility_attribute): Likewise.
12357         (libc_cv_protected_data): Test unconditionally.
12358         (libc_cv_broken_visibility_attribute): Remove configure test.
12359         (libc_cv_have_sdata_section): Test unconditionally.
12360         * configure: Regenerated.
12362         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12363         * include/scratch_buffer.h: Include <stddef.h> instead of
12364         <libc-internal.h>.
12365         (struct scratch_buffer): Use max_align_t instead of
12366         libc_max_align_t.
12368 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12370         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12371         instead of extend_alloca.  Change control flow to avoid a goto.
12372         Remove assert which is trivially always true.
12374 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12376         [BZ #16068]
12377         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12378         (FE_ALL_EXCEPT_X86): New macro.
12379         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12380         FE_ALL_EXCEPT.  Ensure precision control is included in
12381         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12382         handle "denormal operand exception" and clear FZ and DAZ bits.
12383         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12384         (FE_ALL_EXCEPT_X86): New macro.
12385         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12386         FE_ALL_EXCEPT.  Ensure precision control is included in
12387         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12388         handle "denormal operand exception" and clear FZ and DAZ bits.
12389         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12390         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12391         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12392         test-fenv-x87 and test-fenv-sse-2.
12393         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12395         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12396         * math/test-double.h (BUILD_COMPLEX): New macro.
12397         * math/test-float.h (BUILD_COMPLEX): Likewise.
12398         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12400         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12401         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12402         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12403         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12404         instead of DBL_DENORM_MIN in comment.
12405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12406         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12407         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12408         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12409         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12410         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12412 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12414         [BZ# 19048]
12415         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12416         attached_threads member.
12417         (main_arena): Initialize attached_threads.
12418         * malloc/arena.c (list_lock): Update comment.
12419         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12420         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12421         (deattach_arena): New function.
12422         (_int_new_arena): Initialize arena reference count and deattach
12423         replaced arena.
12424         (get_free_list, reused_arena): Update reference count and deattach
12425         replaced arena.
12426         (arena_thread_freeres): Update arena reference count and only put
12427         unreferenced arenas on the free list.
12429 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12431         [BZ #19181]
12432         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12433         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12434         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12435         * math/test-fenv-clear-main.c: New file.
12436         * math/test-fenv-clear.c: Likewise.
12437         * math/Makefile (tests): Add test-fenv-clear.
12438         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12439         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12440         test-fenv-clear-sse.
12441         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12443         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12444         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12445         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12447 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12449         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12450         static libc.
12452 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12454         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12455         test.
12456         * sysdeps/i386/configure: Regenerated.
12457         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12458         test.
12459         * sysdeps/x86_64/configure: Regenerated.
12460         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12462         memset-avx2 unconditionally instead of conditionally on
12463         [$(config-cflags-avx2) = yes].
12464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12465         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12466         unconditional.
12467         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12468         * sysdeps/x86_64/multiarch/memset_chk.S
12469         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12470         to [IS_IN (libc) && SHARED].
12472 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12474         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12475         configure test.
12476         * sysdeps/arm/configure: Regenerated.
12477         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12478         Define variable if not already defined.
12480         [BZ #17404]
12481         * sysdeps/mips/atomic-machine.h
12482         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12483         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12484         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12486         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12487         unconditional.
12488         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12489         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12490         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12491         unconditional.
12492         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12493         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12494         unconditional.
12495         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12496         * stdlib/setenv.c
12497         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12498         code unconditional.
12499         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12500         Remove conditional code.
12501         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12502         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12503         unconditional.
12504         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12505         code.
12506         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12507         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12508         unconditional.
12509         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12510         code.
12511         * sysdeps/ieee754/ldbl-128/k_tanl.c
12512         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12513         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12514         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12515         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12516         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12517         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12518         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12519         unconditional.
12520         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12521         code.
12522         * sysdeps/ieee754/ldbl-96/k_tanl.c
12523         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12524         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12526         * nptl/tst-initializers1-c11.c: New file.
12527         * nptl/tst-initializers1-gnu11.c: Likewise.
12528         * nptl/Makefile (tests): Add these new tests.
12529         (CFLAGS-tst-initializers1-c11.c): New variable.
12530         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12532         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12533         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12534         instead of -std=gnu99.
12535         * configure.ac (systemtap): Test with -std=gnu11 instead of
12536         -std=gnu99.
12537         * configure: Regenerated.
12538         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12539         in compilation command in comment.
12541         * sysdeps/nptl/configure.ac: Remove file.
12542         * sysdeps/nptl/configure: Remove generated file.
12543         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12544         * configure: Regenerated.
12545         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12546         * config.make.in (have-forced-unwind): Remove variable.
12547         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12548         unconditional.
12549         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12550         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12551         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12552         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12553         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12554         unconditional.
12556 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12558         [BZ #19174]
12559         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12560         .skip_lock_out_of_tbegin_retries.
12561         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12562         (__lll_lock_elision): Likewise, and respect a value of
12563         try_tbegin <= 0.
12565 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12567         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12568         statement.
12570 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12572         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12573         variable.
12574         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12575         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12577         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12578         of -std=c1x -D_ISOC11_SOURCE.
12580         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12581         * configure: Regenerated.
12582         * manual/install.texi (Tools for Compilation): Document
12583         requirement for GCC 4.7 or later.
12584         * INSTALL: Regenerated.
12586 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12588         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12589         on CNT to a conditional jump to 'puntdata'.
12591 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12593         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12594         (libc_cv_gcc_tls_model_attr): Likewise.
12595         * configure: Regenerated.
12597         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12598         * configure: Regenerated.
12599         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12601 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12603         * configure.ac (old_glibc_headers): Remove configure test.
12604         * configure: Regenerated.
12605         * config.make.in (old-glibc-headers): Remove variable.
12606         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12607         (install): Remove dependency on remove-old-headers.
12608         (headers2_0): Remove variable.
12609         (remove-old-headers): Remove rule.
12611         * configure.ac (libc_cv_dot_text): Remove configure test.
12612         (libc_cv_asm_set_directive): Use .text instead of
12613         ${libc_cv_dot_text} in configure test.
12614         * configure: Regenerated.
12616 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12618         [BZ #19168]
12619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12621 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12623         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12624         not support static linking.
12625         * configure: Regenerate.
12627 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12629         * math/libm-test.inc (check_float_internal): Do not special-case
12630         errors up to 0.5 ulp.
12632         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12633         log2.
12634         * math/auto-libm-test-out: Regenerated.
12635         * math/libm-test.inc (MAX_EXP): New macro.
12636         (ilogb_test_data): Add more tests.
12637         (isfinite_test_data): Likewise.
12638         (isgreater_test_data): Likewise.
12639         (isgreaterequal_test_data): Likewise.
12640         (isinf_test_data): Likewise.
12641         (isless_test_data): Likewise.
12642         (islessequal_test_data): Likewise.
12643         (islessgreater_test_data): Likewise.
12644         (isnan_test_data): Likewise.
12645         (isnormal_test_data): Likewise.
12646         (issignaling_test_data): Likewise.
12647         (isunordered_test_data): Likewise.
12648         (j0_test_data): Likewise.
12649         (j1_test_data): Likewise.
12650         (jn_test_data): Likewise.
12651         (lgamma_test_data): Likewise.
12652         (log_test_data): Likewise.
12653         (log10_test_data): Likewise.
12654         (log1p_test_data): Likewise.
12655         (log2_test_data): Likewise.
12656         (logb_test_data): Likewise.
12657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12659         [BZ #18611]
12660         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12661         avoid excess range and precision on underflow.
12662         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12663         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12664         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12665         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12666         underflow.
12667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12669         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12671         * math/auto-libm-test-in: Do not allow missing errno setting for
12672         tests of j1 and jn.
12673         * math/auto-libm-test-out: Regenerated.
12675 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12677         [BZ #15491]
12678         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12679         floating-point environment instead of clearing all exceptions.
12680         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12681         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12682         merging in "invalid" exceptions from frndint.
12683         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12684         * math/test-nearbyint-except.c: New file.
12685         * math/Makefile (tests): Add test-nearbyint-except.
12687 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12689         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12691         * sysdeps/tile/libm-test-ulps: Regenerated.
12693 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12696         (__NR_sync_file_range2): Assume it is always defined.
12697         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12698         (__NR_sync_file_range): Assume it is always defined.
12700 2015-10-22  Andreas Schwab  <schwab@suse.de>
12702         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12703         INTERNAL_SYSCALL_ERRNO.
12704         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12705         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12706         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12707         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12708         Likewise.
12709         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12711 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12713         * io/tst-fcntl.c (fd): New static variable.
12714         (do_prepare): Open temporary file here....
12715         (do_test): ...not here.
12717         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12719 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12721         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12722         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12723         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12724         Moved before "#ifdef __ASSEMBLER__".
12726 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12728         [BZ #19156]
12729         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12730         arguments very close to 0.
12732 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12734         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12735         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12737 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12739         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12740         New.  Defined for GCC 5 and above when not compiling for
12741         profiling.
12742         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12744         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12745         Renamed to ...
12746         (CFLAGS-epoll_pwait.o): This.
12747         (CFLAGS-mmap.c): Renamed to ...
12748         (CFLAGS-mmap.o): This.
12749         (CFLAGS-mmap64.c): Renamed to ...
12750         (CFLAGS-mmap64.o): This.
12751         (CFLAGS-epoll_pwait.os): New.
12752         (CFLAGS-mmap.os): Likewise.
12753         (CFLAGS-mmap64.os): Likewise.
12754         (CFLAGS-semtimedop.os): Likewise.
12755         (CFLAGS-semtimedop.c): Renamed to ...
12756         (CFLAGS-semtimedop.o): This.
12758 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12760         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12761         warning message.
12763 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12765         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12766         * Makefile ($(objpfx)c++-types-check.out): Filter out
12767         $(+gccwarn-c) instead of -Wstrict-prototypes.
12769         * io/fts.c (fts_open): Convert to prototype-style function
12770         definition.
12771         * malloc/mcheck.c (mcheck): Likewise.
12772         (mcheck_pedantic): Likewise.
12773         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12774         internal_function.
12775         (re_search_internal): Likewise.
12776         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12777         prototype-style function definition.
12778         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12779         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12780         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12781         (xdr_utmpptr): Likewise.
12782         (xdr_utmparr): Likewise.
12783         (xdr_utmpidle): Likewise.
12784         (xdr_utmpidleptr): Likewise.
12785         (xdr_utmpidlearr): Likewise.
12787         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12788         log, log10 and log2.
12789         * math/auto-libm-test-out: Regenerated.
12790         * math/libm-test.inc (fmod_test_data): Add more tests.
12791         (fpclassify_test_data): Likewise.
12792         (frexp_test_data): Likewise.
12793         (hypot_test_data): Likewise.
12794         (ilogb_test_data): Likewise.
12796 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12798         * debug/fortify_fail.c (__fortify_fail): Convert to
12799         prototype-style function definition.  Use internal_function.
12800         * libio/genops.c (save_for_backup): Convert to prototype-style
12801         function definition.
12802         * libio/wgenops.c (save_for_wbackup): Likewise.
12803         * login/grantpt.c (grantpt): Likewise.
12804         * login/ptsname.c (ptsname): Likewise.
12805         (__ptsname_r): Likewise.
12806         * login/unlockpt.c (unlockpt): Likewise.
12807         * mach/msgserver.c (__mach_msg_server): Likewise.
12808         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12809         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12810         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12811         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12812         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12813         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12814         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12815         Likewise.
12816         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12817         internal_function.
12818         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12819         prototype-style function definition.
12820         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12821         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12822         (__pthread_create_2_0): Likewise.
12823         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12824         * nptl/register-atfork.c (__register_atfork): Likewise.
12825         * posix/glob.c (glob): Likewise.
12826         * posix/regcomp.c (re_comp): Likewise.
12827         * posix/regexec.c (re_exec): Likewise.
12828         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12829         [!__STDC__]: Remove conditional code.
12830         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12831         [!__STDC__]: Remove conditional code.
12832         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12833         [!__STDC__]: Remove conditional code.
12834         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12835         [!__STDC__]: Remove conditional code.
12836         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12837         [!__STDC__]: Remove conditional code.
12838         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12839         [!__STDC__]: Remove conditional code.
12840         * stdlib/mul.c [__STDC__]: Make code unconditional.
12841         [!__STDC__]: Remove conditional code.
12842         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12843         [!__STDC__]: Remove conditional code.
12844         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12845         [!__STDC__]: Remove conditional code.
12846         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12847         function definition.
12848         (STRTOF): Likewise.
12849         * stdlib/strtod_l.c (__STRTOF): Likewise.
12850         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12851         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12852         (__strtol_l): Likewise.
12853         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12854         [!__STDC__]: Remove conditional code.
12855         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12856         definition.
12857         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12858         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12859         type.
12860         (__strcasecmp): Convert to prototype-style function definition.
12861         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12862         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12863         type.
12864         (__strncasecmp): Convert to prototype-style function definition.
12865         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12866         * sunrpc/xdr.c (xdr_union): Likewise.
12867         * sunrpc/xdr_array.c (xdr_array): Likewise.
12868         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12869         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12870         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12871         Likewise.
12872         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12873         Likewise.
12874         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12875         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12876         Likewise.
12877         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12878         (LOCALE_PARAM_PROTO): Likewise.
12879         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12880         argument type.
12881         (ut_argument_spec): Remove macro.
12882         (ut_argument_spec_iso): Rename to ut_argument_spec.
12883         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12884         prototype-style function definition.
12885         (memcpy_uppcase): Likewise.
12886         (__strftime_internal): Likewise.
12887         (my_strftime): Likewise.
12888         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12889         (LOCALE_PARAM_DECL): Likewise.
12890         [_LIBC] (LOCALE_PARAM): Include argument type.
12891         (__strptime_internal): Convert to prototype-style function
12892         definition.
12893         (strptime): Likewise.
12894         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12895         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12896         type.
12897         (__wcscasecmp): Convert to prototype-style function definition.
12898         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12900         type.
12901         (__wcsncasecmp): Convert to prototype-style function definition.
12903         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12904         function definition.
12905         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12906         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12907         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12908         * elf/dl-minimal.c (_itoa): Likewise.
12909         * hurd/hurdmalloc.c (malloc): Likewise.
12910         (free): Likewise.
12911         (realloc): Likewise.
12912         * inet/inet6_option.c (inet6_option_space): Likewise.
12913         (inet6_option_init): Likewise.
12914         (inet6_option_append): Likewise.
12915         (inet6_option_alloc): Likewise.
12916         (inet6_option_next): Likewise.
12917         (inet6_option_find): Likewise.
12918         * io/ftw.c (FTW_NAME): Likewise.
12919         (NFTW_NAME): Likewise.
12920         (NFTW_NEW_NAME): Likewise.
12921         (NFTW_OLD_NAME): Likewise.
12922         * libio/iofwide.c (_IO_fwide): Likewise.
12923         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12924         (_IO_str_init_static): Likewise.
12925         (_IO_str_init_readonly): Likewise.
12926         (_IO_str_overflow): Likewise.
12927         (_IO_str_underflow): Likewise.
12928         (_IO_str_count): Likewise.
12929         (_IO_str_seekoff): Likewise.
12930         (_IO_str_pbackfail): Likewise.
12931         (_IO_str_finish): Likewise.
12932         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12933         (_IO_wstr_overflow): Likewise.
12934         (_IO_wstr_underflow): Likewise.
12935         (_IO_wstr_count): Likewise.
12936         (_IO_wstr_seekoff): Likewise.
12937         (_IO_wstr_pbackfail): Likewise.
12938         (_IO_wstr_finish): Likewise.
12939         * locale/programs/localedef.c (normalize_codeset): Likewise.
12940         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12941         (add_locales_to_archive): Likewise.
12942         (delete_locales_from_archive): Likewise.
12943         * malloc/malloc.c (__libc_mallinfo): Likewise.
12944         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12945         * misc/tsearch.c (__tfind): Likewise.
12946         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12947         * nptl/pthread_attr_getdetachstate.c
12948         (__pthread_attr_getdetachstate): Likewise.
12949         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12950         Likewise.
12951         * nptl/pthread_attr_getinheritsched.c
12952         (__pthread_attr_getinheritsched): Likewise.
12953         * nptl/pthread_attr_getschedparam.c
12954         (__pthread_attr_getschedparam): Likewise.
12955         * nptl/pthread_attr_getschedpolicy.c
12956         (__pthread_attr_getschedpolicy): Likewise.
12957         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12958         Likewise.
12959         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12960         Likewise.
12961         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12962         Likewise.
12963         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12964         Likewise.
12965         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12966         (__pthread_attr_init_2_0): Likewise.
12967         * nptl/pthread_attr_setdetachstate.c
12968         (__pthread_attr_setdetachstate): Likewise.
12969         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12970         Likewise.
12971         * nptl/pthread_attr_setinheritsched.c
12972         (__pthread_attr_setinheritsched): Likewise.
12973         * nptl/pthread_attr_setschedparam.c
12974         (__pthread_attr_setschedparam): Likewise.
12975         * nptl/pthread_attr_setschedpolicy.c
12976         (__pthread_attr_setschedpolicy): Likewise.
12977         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12978         Likewise.
12979         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12980         Likewise.
12981         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12982         Likewise.
12983         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12984         Likewise.
12985         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12986         Likewise.
12987         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12988         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12989         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12990         use internal_function.
12991         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12992         prototype-style function definition.
12993         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12994         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12995         internal_function.
12996         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12997         Convert to prototype-style function definition.
12998         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12999         Likewise.
13000         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13001         Likewise.
13002         (__pthread_mutex_unlock): Likewise.
13003         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13004         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13005         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13006         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13007         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13008         * nss/makedb.c (process_input): Likewise.
13009         * posix/fnmatch.c (__strchrnul): Likewise.
13010         (__wcschrnul): Likewise.
13011         (fnmatch): Likewise.
13012         * posix/fnmatch_loop.c (FCT): Likewise.
13013         * posix/glob.c (globfree): Likewise.
13014         (__glob_pattern_type): Likewise.
13015         (__glob_pattern_p): Likewise.
13016         * posix/regcomp.c (re_compile_pattern): Likewise.
13017         (re_set_syntax): Likewise.
13018         (re_compile_fastmap): Likewise.
13019         (regcomp): Likewise.
13020         (regerror): Likewise.
13021         (regfree): Likewise.
13022         * posix/regexec.c (regexec): Likewise.
13023         (re_match): Likewise.
13024         (re_search): Likewise.
13025         (re_match_2): Likewise.
13026         (re_search_2): Likewise.
13027         (re_search_stub): Likewise.  Use internal_function
13028         (re_copy_regs): Likewise.
13029         (re_set_registers): Convert to prototype-style function
13030         definition.
13031         (prune_impossible_nodes): Likewise.  Use internal_function.
13032         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13033         prototype-style function definition.
13034         (inet_net_pton_ipv4): Likewise.
13035         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13036         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13037         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13038         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13039         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13040         Make variadic.
13041         * time/strptime_l.c (localtime_r): Convert to prototype-style
13042         function definition.
13043         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13044         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13045         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13046         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13048         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13049         definition.
13050         (_ufc_doit_r): Likewise.
13051         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13052         (_ufc_output_conversion_r): Likewise.
13053         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13054         * inet/rcmd.c (rcmd_af): Likewise.
13055         (rcmd): Likewise.
13056         (ruserok_af): Likewise.
13057         (ruserok): Likewise.
13058         (ruserok2_sa): Likewise.
13059         (ruserok_sa): Likewise.
13060         (iruserok_af): Likewise.
13061         (iruserok): Likewise.
13062         (__ivaliduser): Likewise.
13063         (__validuser2_sa): Likewise.
13064         * inet/rexec.c (rexec_af): Likewise.
13065         (rexec): Likewise.
13066         * inet/ruserpass.c (ruserpass): Likewise.
13067         * locale/programs/xmalloc.c (xcalloc): Likewise.
13068         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13069         * math/w_drem.c (__drem): Likewise.
13070         * math/w_dremf.c (__dremf): Likewise.
13071         * math/w_dreml.c (__dreml): Likewise.
13072         * misc/daemon.c (daemon): Likewise.
13073         * resolv/res_debug.c (p_fqnname): Likewise.
13074         * stdlib/div.c (div): Likewise.
13075         * string/memcmp.c (memcmp_bytes): Likewise.
13076         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13077         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13079         * crypt/cert.c (main): Convert to prototype-style function
13080         definition.
13081         * io/pipe.c (__pipe): Likewise.
13082         * io/pipe2.c (__pipe2): Likewise.
13083         * misc/futimesat.c (futimesat): Likewise.
13084         * misc/utimes.c (__utimes): Likewise.
13085         * posix/execve.c (__execve): Likewise.
13086         * posix/execvp.c (execvp): Likewise.
13087         * posix/execvpe.c (__execvpe): Likewise.
13088         * posix/fexecve.c (fexecve): Likewise.
13089         * socket/socketpair.c (socketpair): Likewise.
13090         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13091         * stdlib/erand48.c (erand48): Likewise.
13092         * stdlib/erand48_r.c (__erand48_r): Likewise.
13093         * stdlib/jrand48.c (jrand48): Likewise.
13094         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13095         * stdlib/lcong48.c (lcong48): Likewise.
13096         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13097         * stdlib/nrand48.c (nrand48): Likewise.
13098         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13099         * stdlib/seed48.c (seed48): Likewise.
13100         * stdlib/seed48_r.c (__seed48_r): Likewise.
13101         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13102         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13103         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13105 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13107         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13108         * configure: Regenerated.
13109         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13110         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13111         unconditional.
13112         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13113         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13114         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13115         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13116         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13117         unconditional.
13118         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13120         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13121         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13123         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13124         function definition.
13125         * crypt/crypt_util.c (__encrypt_r): Likewise.
13126         * libio/genops.c (_IO_no_init): Likewise.
13127         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13128         (_IO_old_fopencookie): Likewise.
13129         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13130         * libio/iogetline.c (_IO_getline): Likewise.
13131         (_IO_getline_info): Likewise.
13132         * libio/iogetwline.c (_IO_getwline): Likewise.
13133         (_IO_getwline_info): Likewise.
13134         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13135         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13136         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13137         (find_entry): Likewise.
13138         (iterate_table): Likewise.
13139         (lookup): Likewise.
13140         * login/forkpty.c (forkpty): Likewise.
13141         * misc/hsearch_r.c (__hsearch_r): Likewise.
13142         * misc/select.c (__select): Likewise.
13143         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13144         Likewise.
13145         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13146         Likewise.
13147         * nptl/old_pthread_cond_timedwait.c
13148         (__pthread_cond_timedwait_2_0): Likewise.
13149         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13150         * nptl/pthread_barrierattr_getpshared.c
13151         (pthread_barrierattr_getpshared): Likewise.
13152         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13153         Likewise.
13154         * nptl/pthread_mutex_setprioceiling.c
13155         (pthread_mutex_setprioceiling): Likewise.
13156         * nptl/pthread_mutexattr_getprioceiling.c
13157         (pthread_mutexattr_getprioceiling): Likewise.
13158         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13159         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13160         Likewise.
13161         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13162         Likewise.
13163         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13164         Likewise.
13165         * socket/recvfrom.c (__recvfrom): Likewise.
13166         * socket/sendto.c (__sendto): Likewise.
13167         * socket/setsockopt.c (__setsockopt): Likewise.
13168         * stdio-common/_itoa.c (_itoa): Likewise.
13169         * stdio-common/_itowa.c (_itowa): Likewise.
13170         * stdio-common/reg-printf.c (__register_printf_specifier):
13171         Likewise.
13172         (__register_printf_function): Likewise.
13173         * stdio-common/tempname.c (__path_search): Likewise.
13174         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13175         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13176         * stdlib/random_r.c (__initstate_r): Likewise.
13177         * stdlib/setenv.c (__add_to_environ): Likewise.
13178         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13179         * streams/getpmsg.c (getpmsg): Likewise.
13180         * streams/putmsg.c (putmsg): Likewise.
13181         * streams/putpmsg.c (putpmsg): Likewise.
13182         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13183         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13184         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13185         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13186         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13187         * sunrpc/svc_udp.c (cache_get): Likewise.
13188         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13189         * sysdeps/mach/hurd/getcwd.c
13190         (__canonicalize_directory_name_internal): Likewise.
13191         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13192         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13193         * sysdeps/mach/hurd/select.c (__select): Likewise.
13194         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13195         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13196         * sysdeps/sparc/nptl/pthread_barrier_init.c
13197         (__pthread_barrier_init): Likewise.
13198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13199         (__pthread_cond_timedwait): Likewise.
13200         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13201         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13204         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13205         Likewise.
13206         * sysvipc/semtimedop.c (semtimedop): Likewise.
13207         * time/setitimer.c (__setitimer): Likewise.
13208         * time/strftime_l.c (emacs_strftime): Likewise.
13210 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13212         * config.make.in (have-ssp): Delete.
13213         (stack-protector): New variable.
13214         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13215         cache test for -fstack-protector-strong.  Export stack_protector to
13216         the best ssp flag.
13217         * configure: Regenerated.
13218         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13219         * nscd/Makefile (CFLAGS-nscd): Likewise.
13220         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13222 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13224         [BZ #19122]
13225         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13226         attribute_hidden.
13228 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13230         [BZ #18743]
13231         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13232         code to...
13233         (ELIDE_LOCK): ...here.
13234         (__get_new_count): New function with part of the code from
13235         __elide_lock that updates the value of adapt_count after a
13236         transaction abort.
13237         (__elided_trylock): Moved this code to...
13238         (ELIDE_TRYLOCK): ...here.
13240 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13242         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13243         * configure: Regenerate.
13244         * INSTALL: Regenerate.
13245         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13246         and tweak grammar.
13248 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13250         * login/programs/pt_chown.c: Include signal.h
13251         (main): Clear any signal mask from the parent process.
13253 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13255         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13256         * configure: Regenerated.
13257         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13258         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13259         $(gnu89-inline-CFLAGS).
13261         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13262         test.
13263         (libc_cv_asm_weakext_directive): Likewise.
13264         * configure: Regenerated.
13265         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13266         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13267         * include/libc-symbols.h
13268         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13269         #error.
13270         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13271         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13273         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13274         prototype-style function definition.
13275         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13276         * sysdeps/i386/ffs.c (__ffs): Likewise.
13277         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13278         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13279         Likewise.
13280         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13281         Likewise.
13282         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13283         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13284         Likewise.
13285         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13286         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13287         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13288         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13289         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13290         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13291         * sysdeps/mach/hurd/access.c (__access): Likewise.
13292         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13293         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13294         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13295         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13296         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13297         (cthread_getspecific): Likewise.
13298         (cthread_setspecific): Likewise.
13299         (__libc_getspecific): Likewise.
13300         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13301         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13302         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13303         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13304         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13305         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13306         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13307         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13308         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13309         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13310         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13311         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13312         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13313         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13314         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13315         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13316         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13317         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13318         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13319         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13320         * sysdeps/mach/hurd/link.c (__link): Likewise.
13321         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13322         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13323         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13324         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13325         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13326         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13327         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13328         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13329         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13330         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13331         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13332         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13333         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13334         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13335         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13336         * sysdeps/mach/hurd/send.c (__send): Likewise.
13337         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13338         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13339         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13340         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13341         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13342         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13343         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13344         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13345         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13346         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13347         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13348         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13349         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13350         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13351         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13352         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13353         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13354         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13355         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13356         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13357         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13358         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13359         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13360         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13361         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13362         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13363         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13364         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13365         * sysdeps/posix/alarm.c (alarm): Likewise.
13366         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13367         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13368         * sysdeps/posix/dup.c (__dup): Likewise.
13369         * sysdeps/posix/dup2.c (__dup2): Likewise.
13370         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13371         (main): Likewise.
13372         * sysdeps/posix/flock.c (__flock): Likewise.
13373         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13374         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13375         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13376         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13377         * sysdeps/posix/isatty.c (__isatty): Likewise.
13378         * sysdeps/posix/killpg.c (killpg): Likewise.
13379         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13380         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13381         * sysdeps/posix/raise.c (raise): Likewise.
13382         * sysdeps/posix/remove.c (remove): Likewise.
13383         * sysdeps/posix/rename.c (rename): Likewise.
13384         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13385         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13386         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13387         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13388         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13389         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13390         * sysdeps/posix/sigset.c (sigset): Likewise.
13391         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13392         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13393         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13394         * sysdeps/posix/time.c (time): Likewise.
13395         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13396         (ttyname): Likewise.
13397         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13398         * sysdeps/posix/utime.c (utime): Likewise.
13399         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13400         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13401         Likewise.
13402         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13403         (pthread_spin_trylock): Likewise.
13404         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13405         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13406         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13407         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13408         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13409         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13410         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13411         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13412         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13413         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13414         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13415         * sysdeps/s390/ffs.c (__ffs): Likewise.
13416         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13417         Likewise.
13418         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13419         Likewise.
13420         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13421         Likewise.
13422         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13423         (pthread_barrier_destroy): Likewise.
13424         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13425         (__pthread_barrier_wait): Likewise.
13426         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13427         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13428         (__pthread_barrier_wait): Likewise.
13429         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13430         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13431         (memcmp_not_common_alignment): Likewise.
13432         (MEMCMP): Likewise.
13433         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13434         (_wordcopy_fwd_dest_aligned): Likewise.
13435         (_wordcopy_bwd_aligned): Likewise.
13436         (_wordcopy_bwd_dest_aligned): Likewise.
13437         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13438         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13439         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13440         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13441         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13442         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13443         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13444         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13445         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13446         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13447         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13448         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13449         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13450         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13451         * sysdeps/unix/stime.c (stime): Likewise.
13452         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13453         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13454         Likewise.  Use internal_function.
13455         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13456         Convert to prototype-style function definition.
13457         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13458         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13459         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13460         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13461         Likewise.  Use internal_function.
13462         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13463         prototype-style function definition
13464         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13465         Likewise.
13466         (__getlogin_r): Likewise.
13467         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13468         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13469         (__pthread_cond_broadcast): Likewise.
13470         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13471         (__pthread_cond_destroy): Likewise.
13472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13473         (__pthread_cond_init): Likewise.
13474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13475         (__pthread_cond_signal): Likewise.
13476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13477         (__pthread_cond_wait): Likewise.
13478         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13479         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13480         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13481         Likewise.
13482         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13483         Likewise.
13484         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13485         Likewise.
13486         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13487         Likewise.
13488         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13490         (__ftruncate64): Likewise.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13492         (truncate64): Likewise.
13493         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13494         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13495         (pthread_getcpuclockid): Likewise.
13496         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13497         Likewise.
13498         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13499         Likewise.
13500         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13505         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13506         (__libc_sigaction): Likewise.
13507         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13508         Likewise.
13509         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13510         (__sigprocmask): Likewise.
13511         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13512         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13513         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13514         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13515         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13516         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13517         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13518         Likewise.
13519         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13520         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13521         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13522         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13523         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13524         Likewise.
13525         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13526         (__sigprocmask): Likewise.
13527         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13528         (cfgetispeed): Likewise.
13529         (cfsetospeed): Likewise.
13530         (cfsetispeed): Likewise.
13531         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13532         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13533         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13534         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13535         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13536         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13537         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13538         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13539         Likewise.
13540         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13541         Likewise.
13542         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13543         Likewise.
13544         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13545         Likewise.
13546         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13548 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13550         sunrpc: Rewrite with explicit TLS access using __thread.
13551         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13552         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13553         directly.
13554         (__rpc_thread_variables): Access thread_rpc_vars directly.
13555         Eliminate redundant assignment of the tvp variable.
13557 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13559         malloc: Rewrite with explicit TLS access using __thread.
13560         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13561         (tsd_setspecific, tsd_getspecific): Remove.
13562         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13563         (tsd_setspecific, tsd_getspecific): Likewise.
13564         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13565         (tsd_setspecific, tsd_getspecific): Likewise.
13566         * malloc/arena.c (thread_arena): New TLS variable.
13567         (arena_key): Remove variable.
13568         (arena_get): Use thread_arena.
13569         (arena_lookup): Remove macro.
13570         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13571         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13572         (_int_new_arena, get_free_list, reused_arena)
13573         (arena_thread_freeres): Use thread_arena.
13574         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13575         tsd_getspecific, tsd_setspecific from safety annotations.
13576         (Allocating Cleared Space): Remove arena_lookup from safety
13577         annotations.
13579 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13581         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13582         struct scratch_buffer instead of extend_alloca.
13584 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13586         * sysdeps/unix/sysv/linux/kernel-features.h
13587         (__ASSUME_SOCK_CLOEXEC): Remove.
13588         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13589         (__have_paccept): Remove unused macro.
13590         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13591         * misc/syslog.c (openlog_internal): Remove fallback code for
13592         !__ASSUME_SOCK_CLOEXEC.
13593         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13594         missing SOCK_CLOEXEC.
13595         * nscd/connections.c (have_sock_cloexec): Remove definition.
13596         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13597         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13598         !__ASSUME_SOCK_CLOEXEC.
13599         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13600         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13601         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13602         definition.
13603         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13604         code for !__ASSUME_SOCK_CLOEXEC.
13606 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13608         [BZ #18982]
13609         * manual/stdio.texi (Variable Arguments Output): Add portability
13610         note, explaining that vfprintf clobbers the va_list pointer.
13612 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13614         * math/libm-test.inc (fabs_test_data): Add more tests.
13615         (fdim_test_data): Likewise.
13616         (fma_test_data): Likewise.
13617         (fmax_test_data): Likewise.
13618         (fmin_test_data): Likewise.
13619         (fmod_test_data): Likewise.
13621 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13623         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13624         data.
13626 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13628         * math/libm-test.inc (ceil_test_data): Add more tests and more
13629         expectations for "inexact".
13630         (floor_test_data): Add more tests.
13631         (round_test_data): Likewise.
13632         (trunc_test_data): Likewise.
13634         * crypt/cert.c (good_bye): Convert to prototype-style function
13635         definition.
13636         (get8): Likewise.
13637         (put8): Likewise.
13638         * crypt/crypt-entry.c (crypt): Likewise.
13639         (__fcrypt): Likewise.
13640         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13641         (_ufc_set_bits): Likewise.
13642         (_ufc_clearmem): Likewise.
13643         (__init_des_r): Likewise.
13644         (shuffle_sb): Likewise.
13645         (shuffle_sb): Likewise.
13646         (_ufc_setup_salt_r): Likewise.
13647         (_ufc_mk_keytab_r): Likewise.
13648         (_ufc_dofinalperm_r): Likewise.
13649         (encrypt): Likewise.
13650         (__setkey_r): Likewise.
13651         (setkey): Likewise.
13652         * crypt/md5.c (md5_init_ctx): Likewise.
13653         (md5_read_ctx): Likewise.
13654         (md5_finish_ctx): Likewise.
13655         (md5_stream): Likewise.
13656         (md5_buffer): Likewise.
13657         (md5_process_bytes): Likewise.
13658         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13659         (__sha256_finish_ctx): Likewise.
13660         (__sha256_process_bytes): Likewise.
13661         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13662         (__sha512_finish_ctx): Likewise.
13663         (__sha512_process_bytes): Likewise.
13664         * ctype/isctype.c (__isctype): Likewise.
13665         * debug/backtrace.c (__backtrace): Likewise.
13666         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13667         * debug/fgets_chk.c (__fgets_chk): Likewise.
13668         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13669         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13670         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13671         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13672         * debug/memset_chk.c (__memset_chk): Likewise.
13673         * debug/strcat_chk.c (__strcat_chk): Likewise.
13674         * debug/strncat_chk.c (__strncat_chk): Likewise.
13675         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13676         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13677         * dirent/dirfd.c (dirfd): Likewise.
13678         * dirent/getdents.c (__getdirentries): Likewise.
13679         * dirent/getdents64.c (getdirentries64): Likewise.
13680         * dirent/rewinddir.c (__rewinddir): Likewise.
13681         * dirent/seekdir.c (seekdir): Likewise.
13682         * dirent/telldir.c (telldir): Likewise.
13683         * elf/sln.c (makesymlinks): Likewise.
13684         (makesymlink): Likewise.
13685         * gmon/gmon.c (__moncontrol): Likewise.
13686         (__monstartup): Likewise.
13687         (write_hist): Likewise.
13688         (write_call_graph): Likewise.
13689         (write_bb_counts): Likewise.
13690         * grp/setgroups.c (setgroups): Likewise.
13691         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13692         * inet/inet_net.c (inet_network): Likewise.
13693         * inet/inet_netof.c (inet_netof): Likewise.
13694         * inet/rcmd.c (rresvport_af): Likewise.
13695         (rresvport): Likewise.
13696         * io/access.c (__access): Likewise.
13697         * io/chdir.c (__chdir): Likewise.
13698         * io/chmod.c (__chmod): Likewise.
13699         * io/chown.c (__chown): Likewise.
13700         * io/close.c (__close): Likewise.
13701         * io/creat.c (creat): Likewise.
13702         * io/creat64.c (creat64): Likewise.
13703         * io/dup.c (__dup): Likewise.
13704         * io/dup2.c (__dup2): Likewise.
13705         * io/dup3.c (__dup3): Likewise.
13706         * io/euidaccess.c (__euidaccess): Likewise.
13707         * io/faccessat.c (faccessat): Likewise.
13708         * io/fchmod.c (__fchmod): Likewise.
13709         * io/fchmodat.c (fchmodat): Likewise.
13710         * io/fchown.c (__fchown): Likewise.
13711         * io/fchownat.c (fchownat): Likewise.
13712         * io/fcntl.c (__fcntl): Likewise.
13713         * io/flock.c (__flock): Likewise.
13714         * io/fts.c (fts_load): Likewise.
13715         (fts_close): Likewise.
13716         (fts_read): Likewise.
13717         (fts_set): Likewise.
13718         (fts_children): Likewise.
13719         (fts_build): Likewise.
13720         (fts_stat): Likewise.
13721         (fts_sort): Likewise.
13722         (fts_alloc): Likewise.
13723         (fts_lfree): Likewise.
13724         (fts_palloc): Likewise.
13725         (fts_padjust): Likewise.
13726         (fts_maxarglen): Likewise.
13727         (fts_safe_changedir): Likewise.
13728         * io/getwd.c (getwd): Likewise.
13729         * io/isatty.c (__isatty): Likewise.
13730         * io/lchown.c (__lchown): Likewise.
13731         * io/link.c (__link): Likewise.
13732         * io/linkat.c (linkat): Likewise.
13733         * io/lseek.c (__libc_lseek): Likewise.
13734         * io/mkdir.c (__mkdir): Likewise.
13735         * io/mkdirat.c (mkdirat): Likewise.
13736         * io/mkfifo.c (mkfifo): Likewise.
13737         * io/mkfifoat.c (mkfifoat): Likewise.
13738         * io/open.c (__libc_open): Likewise.
13739         * io/open64.c (__libc_open64): Likewise.
13740         * io/readlink.c (__readlink): Likewise.
13741         * io/readlinkat.c (readlinkat): Likewise.
13742         * io/rmdir.c (__rmdir): Likewise.
13743         * io/symlink.c (__symlink): Likewise.
13744         * io/symlinkat.c (symlinkat): Likewise.
13745         * io/ttyname.c (ttyname): Likewise.
13746         * io/ttyname_r.c (__ttyname_r): Likewise.
13747         * io/umask.c (__umask): Likewise.
13748         * io/unlink.c (__unlink): Likewise.
13749         * io/unlinkat.c (unlinkat): Likewise.
13750         * io/utime.c (utime): Likewise.
13751         * libio/clearerr.c (clearerr): Likewise.
13752         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13753         * libio/feof.c (_IO_feof): Likewise.
13754         * libio/feof_u.c (feof_unlocked): Likewise.
13755         * libio/ferror.c (_IO_ferror): Likewise.
13756         * libio/ferror_u.c (ferror_unlocked): Likewise.
13757         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13758         * libio/fileno.c (__fileno): Likewise.
13759         * libio/fputc.c (fputc): Likewise.
13760         * libio/fputc_u.c (fputc_unlocked): Likewise.
13761         * libio/fputwc.c (fputwc): Likewise.
13762         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13763         * libio/freopen.c (freopen): Likewise.
13764         * libio/freopen64.c (freopen64): Likewise.
13765         * libio/fseek.c (fseek): Likewise.
13766         * libio/fseeko.c (fseeko): Likewise.
13767         * libio/fseeko64.c (fseeko64): Likewise.
13768         * libio/ftello.c (__ftello): Likewise.
13769         * libio/ftello64.c (ftello64): Likewise.
13770         * libio/fwide.c (fwide): Likewise.
13771         * libio/genops.c (_IO_un_link): Likewise.
13772         (_IO_link_in): Likewise.
13773         (_IO_least_marker): Likewise.
13774         (_IO_switch_to_main_get_area): Likewise.
13775         (_IO_switch_to_backup_area): Likewise.
13776         (_IO_switch_to_get_mode): Likewise.
13777         (_IO_free_backup_area): Likewise.
13778         (_IO_switch_to_put_mode): Likewise.
13779         (__overflow): Likewise.
13780         (__underflow): Likewise.
13781         (__uflow): Likewise.
13782         (_IO_setb): Likewise.
13783         (_IO_doallocbuf): Likewise.
13784         (_IO_default_underflow): Likewise.
13785         (_IO_default_uflow): Likewise.
13786         (_IO_default_xsputn): Likewise.
13787         (_IO_sgetn): Likewise.
13788         (_IO_default_xsgetn): Likewise.
13789         (_IO_sync): Likewise.
13790         (_IO_default_setbuf): Likewise.
13791         (_IO_default_seekpos): Likewise.
13792         (_IO_default_doallocate): Likewise.
13793         (_IO_init): Likewise.
13794         (_IO_old_init): Likewise.
13795         (_IO_default_sync): Likewise.
13796         (_IO_default_finish): Likewise.
13797         (_IO_default_seekoff): Likewise.
13798         (_IO_sputbackc): Likewise.
13799         (_IO_sungetc): Likewise.
13800         (_IO_set_column): Likewise.
13801         (_IO_set_column): Likewise.
13802         (_IO_adjust_column): Likewise.
13803         (_IO_get_column): Likewise.
13804         (_IO_init_marker): Likewise.
13805         (_IO_remove_marker): Likewise.
13806         (_IO_marker_difference): Likewise.
13807         (_IO_marker_delta): Likewise.
13808         (_IO_seekmark): Likewise.
13809         (_IO_unsave_markers): Likewise.
13810         (_IO_nobackup_pbackfail): Likewise.
13811         (_IO_default_pbackfail): Likewise.
13812         (_IO_default_seek): Likewise.
13813         (_IO_default_stat): Likewise.
13814         (_IO_default_read): Likewise.
13815         (_IO_default_write): Likewise.
13816         (_IO_default_showmanyc): Likewise.
13817         (_IO_default_imbue): Likewise.
13818         (_IO_iter_next): Likewise.
13819         (_IO_iter_file): Likewise.
13820         * libio/getc.c (_IO_getc): Likewise.
13821         * libio/getwc.c (_IO_getwc): Likewise.
13822         * libio/iofclose.c (_IO_new_fclose): Likewise.
13823         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13824         * libio/iofflush.c (_IO_fflush): Likewise.
13825         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13826         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13827         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13828         * libio/iofgets.c (_IO_fgets): Likewise.
13829         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13830         * libio/iofgetws.c (fgetws): Likewise.
13831         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13832         * libio/iofopen64.c (_IO_fopen64): Likewise.
13833         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13834         (_IO_cookie_write): Likewise.
13835         (_IO_cookie_seek): Likewise.
13836         (_IO_cookie_close): Likewise.
13837         (_IO_cookie_seekoff): Likewise.
13838         (_IO_old_cookie_seek): Likewise.
13839         * libio/iofputs.c (_IO_fputs): Likewise.
13840         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13841         * libio/iofputws.c (fputws): Likewise.
13842         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13843         * libio/iofread.c (_IO_fread): Likewise.
13844         * libio/iofread_u.c (__fread_unlocked): Likewise.
13845         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13846         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13847         * libio/ioftell.c (_IO_ftell): Likewise.
13848         * libio/iofwrite.c (_IO_fwrite): Likewise.
13849         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13850         * libio/iogets.c (_IO_gets): Likewise.
13851         * libio/iopadn.c (_IO_padn): Likewise.
13852         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13853         (_IO_new_popen): Likewise.
13854         (_IO_new_proc_close): Likewise.
13855         * libio/ioputs.c (_IO_puts): Likewise.
13856         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13857         (_IO_seekoff): Likewise.
13858         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13859         (_IO_seekpos): Likewise.
13860         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13861         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13862         * libio/ioungetc.c (_IO_ungetc): Likewise.
13863         * libio/ioungetwc.c (ungetwc): Likewise.
13864         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13865         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13866         * libio/iowpadn.c (_IO_wpadn): Likewise.
13867         * libio/libc_fatal.c (__libc_fatal): Likewise.
13868         * libio/memstream.c (__open_memstream): Likewise.
13869         (_IO_mem_sync): Likewise.
13870         (_IO_mem_finish): Likewise.
13871         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13872         (_IO_old_file_close_it): Likewise.
13873         (_IO_old_file_finish): Likewise.
13874         (_IO_old_file_fopen): Likewise.
13875         (_IO_old_file_attach): Likewise.
13876         (_IO_old_file_setbuf): Likewise.
13877         (_IO_old_do_write): Likewise.
13878         (old_do_write): Likewise.
13879         (_IO_old_file_underflow): Likewise.
13880         (_IO_old_file_overflow): Likewise.
13881         (_IO_old_file_sync): Likewise.
13882         (_IO_old_file_seekoff): Likewise.
13883         (_IO_old_file_write): Likewise.
13884         (_IO_old_file_xsputn): Likewise.
13885         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13886         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13887         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13888         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13889         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13890         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13891         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13892         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13893         (_IO_old_popen): Likewise.
13894         (_IO_old_proc_close): Likewise.
13895         * libio/oldpclose.c (__old_pclose): Likewise.
13896         * libio/pclose.c (__new_pclose): Likewise.
13897         * libio/peekc.c (_IO_peekc_locked): Likewise.
13898         * libio/putc.c (_IO_putc): Likewise.
13899         * libio/putc_u.c (putc_unlocked): Likewise.
13900         * libio/putchar.c (putchar): Likewise.
13901         * libio/putchar_u.c (putchar_unlocked): Likewise.
13902         * libio/putwc.c (putwc): Likewise.
13903         * libio/putwc_u.c (putwc_unlocked): Likewise.
13904         * libio/putwchar.c (putwchar): Likewise.
13905         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13906         * libio/rewind.c (rewind): Likewise.
13907         * libio/setbuf.c (setbuf): Likewise.
13908         * libio/setlinebuf.c (setlinebuf): Likewise.
13909         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13910         * libio/vscanf.c (_IO_vscanf): Likewise.
13911         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13912         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13913         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13914         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13915         (_IO_switch_to_main_wget_area): Likewise.
13916         (_IO_switch_to_wbackup_area): Likewise.
13917         (_IO_wsetb): Likewise.
13918         (_IO_wdefault_pbackfail): Likewise.
13919         (_IO_wdefault_finish): Likewise.
13920         (_IO_wdefault_uflow): Likewise.
13921         (__woverflow): Likewise.
13922         (__wuflow): Likewise.
13923         (__wunderflow): Likewise.
13924         (_IO_wdefault_xsputn): Likewise.
13925         (_IO_wdefault_xsgetn): Likewise.
13926         (_IO_wdoallocbuf): Likewise.
13927         (_IO_wdefault_doallocate): Likewise.
13928         (_IO_switch_to_wget_mode): Likewise.
13929         (_IO_free_wbackup_area): Likewise.
13930         (_IO_switch_to_wput_mode): Likewise.
13931         (_IO_sputbackwc): Likewise.
13932         (_IO_sungetwc): Likewise.
13933         (_IO_adjust_wcolumn): Likewise.
13934         (_IO_init_wmarker): Likewise.
13935         (_IO_wmarker_delta): Likewise.
13936         (_IO_seekwmark): Likewise.
13937         (_IO_unsave_wmarkers): Likewise.
13938         * libio/wmemstream.c (open_wmemstream): Likewise.
13939         (_IO_wmem_sync): Likewise.
13940         (_IO_wmem_finish): Likewise.
13941         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13942         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13943         * locale/programs/simple-hash.c (init_hash): Likewise.
13944         (delete_hash): Likewise.
13945         (insert_entry): Likewise.
13946         (set_entry): Likewise.
13947         (next_prime): Likewise.
13948         (is_prime): Likewise.
13949         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13950         (xmalloc): Likewise.
13951         (xrealloc): Likewise.
13952         * locale/programs/xstrdup.c (xstrdup): Likewise.
13953         * localedata/collate-test.c (xstrcoll): Likewise.
13954         * localedata/xfrm-test.c (xstrcmp): Likewise.
13955         * login/getlogin_r.c (__getlogin_r): Likewise.
13956         * login/getpt.c (__posix_openpt): Likewise.
13957         * login/login_tty.c (login_tty): Likewise.
13958         * login/setlogin.c (setlogin): Likewise.
13959         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13960         (mach_msg_destroy_port): Likewise.
13961         (mach_msg_destroy_memory): Likewise.
13962         * malloc/mcheck.c (flood): Likewise.
13963         * misc/acct.c (acct): Likewise.
13964         * misc/brk.c (__brk): Likewise.
13965         * misc/chflags.c (chflags): Likewise.
13966         * misc/chroot.c (chroot): Likewise.
13967         * misc/fchflags.c (fchflags): Likewise.
13968         * misc/fstab.c (getfsspec): Likewise.
13969         (getfsfile): Likewise.
13970         * misc/fsync.c (fsync): Likewise.
13971         * misc/ftruncate.c (__ftruncate): Likewise.
13972         * misc/ftruncate64.c (__ftruncate64): Likewise.
13973         * misc/getdomain.c (getdomainname): Likewise.
13974         (getdomainname): Likewise.
13975         * misc/gethostname.c (__gethostname): Likewise.
13976         * misc/getpass.c (getpass): Likewise.
13977         * misc/getttyent.c (skip): Likewise.
13978         (value): Likewise.
13979         * misc/gtty.c (gtty): Likewise.
13980         * misc/hsearch.c (hsearch): Likewise.
13981         (hcreate): Likewise.
13982         * misc/hsearch_r.c (__hcreate_r): Likewise.
13983         (__hdestroy_r): Likewise.
13984         * misc/ioctl.c (__ioctl): Likewise.
13985         * misc/mkdtemp.c (mkdtemp): Likewise.
13986         * misc/mkostemp.c (mkostemp): Likewise.
13987         * misc/mkostemp64.c (mkostemp64): Likewise.
13988         * misc/mkostemps.c (mkostemps): Likewise.
13989         * misc/mkostemps64.c (mkostemps64): Likewise.
13990         * misc/mkstemp.c (mkstemp): Likewise.
13991         * misc/mkstemp64.c (mkstemp64): Likewise.
13992         * misc/mkstemps.c (mkstemps): Likewise.
13993         * misc/mkstemps64.c (mkstemps64): Likewise.
13994         * misc/mktemp.c (__mktemp): Likewise.
13995         * misc/preadv.c (preadv): Likewise.
13996         * misc/preadv64.c (preadv64): Likewise.
13997         * misc/pwritev.c (pwritev): Likewise.
13998         * misc/pwritev64.c (pwritev64): Likewise.
13999         * misc/readv.c (__readv): Likewise.
14000         * misc/revoke.c (revoke): Likewise.
14001         * misc/setdomain.c (setdomainname): Likewise.
14002         * misc/setegid.c (setegid): Likewise.
14003         * misc/seteuid.c (seteuid): Likewise.
14004         * misc/sethostid.c (sethostid): Likewise.
14005         * misc/sethostname.c (sethostname): Likewise.
14006         * misc/setregid.c (__setregid): Likewise.
14007         * misc/setreuid.c (__setreuid): Likewise.
14008         * misc/sstk.c (sstk): Likewise.
14009         * misc/stty.c (stty): Likewise.
14010         * misc/syscall.c (syscall): Likewise.
14011         * misc/syslog.c (setlogmask): Likewise.
14012         * misc/truncate.c (__truncate): Likewise.
14013         * misc/truncate64.c (truncate64): Likewise.
14014         * misc/ualarm.c (ualarm): Likewise.
14015         * misc/usleep.c (usleep): Likewise.
14016         * misc/ustat.c (ustat): Likewise.
14017         * misc/writev.c (__writev): Likewise.
14018         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14019         * nptl/old_pthread_cond_broadcast.c
14020         (__pthread_cond_broadcast_2_0): Likewise.
14021         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14022         Likewise.
14023         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14024         Likewise.
14025         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14026         Likewise.
14027         * nptl/pt-raise.c (raise): Likewise.
14028         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14029         Likewise.
14030         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14031         * nptl/pthread_barrierattr_destroy.c
14032         (pthread_barrierattr_destroy): Likewise.
14033         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14034         Likewise.
14035         * nptl/pthread_barrierattr_setpshared.c
14036         (pthread_barrierattr_setpshared): Likewise.
14037         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14038         Likewise.
14039         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14040         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14041         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14042         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14043         Likewise.
14044         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14045         Likewise.
14046         * nptl/pthread_condattr_getpshared.c
14047         (pthread_condattr_getpshared): Likewise.
14048         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14049         Likewise.
14050         * nptl/pthread_condattr_setpshared.c
14051         (pthread_condattr_setpshared): Likewise.
14052         * nptl/pthread_detach.c (pthread_detach): Likewise.
14053         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14054         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14055         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14056         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14057         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14058         Likewise.
14059         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14060         Likewise.
14061         * nptl/pthread_mutex_getprioceiling.c
14062         (pthread_mutex_getprioceiling): Likewise.
14063         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14064         Likewise.
14065         * nptl/pthread_mutexattr_getprotocol.c
14066         (pthread_mutexattr_getprotocol): Likewise.
14067         * nptl/pthread_mutexattr_getpshared.c
14068         (pthread_mutexattr_getpshared): Likewise.
14069         * nptl/pthread_mutexattr_getrobust.c
14070         (pthread_mutexattr_getrobust): Likewise.
14071         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14072         Likewise.
14073         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14074         Likewise.
14075         * nptl/pthread_mutexattr_setprioceiling.c
14076         (pthread_mutexattr_setprioceiling): Likewise.
14077         * nptl/pthread_mutexattr_setprotocol.c
14078         (pthread_mutexattr_setprotocol): Likewise.
14079         * nptl/pthread_mutexattr_setpshared.c
14080         (pthread_mutexattr_setpshared): Likewise.
14081         * nptl/pthread_mutexattr_setrobust.c
14082         (pthread_mutexattr_setrobust): Likewise.
14083         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14084         Likewise.
14085         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14086         Likewise.
14087         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14088         Likewise.
14089         * nptl/pthread_rwlockattr_getkind_np.c
14090         (pthread_rwlockattr_getkind_np): Likewise.
14091         * nptl/pthread_rwlockattr_getpshared.c
14092         (pthread_rwlockattr_getpshared): Likewise.
14093         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14094         Likewise.
14095         * nptl/pthread_rwlockattr_setkind_np.c
14096         (pthread_rwlockattr_setkind_np): Likewise.
14097         * nptl/pthread_rwlockattr_setpshared.c
14098         (pthread_rwlockattr_setpshared): Likewise.
14099         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14100         Likewise.
14101         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14102         Likewise.
14103         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14104         Likewise.
14105         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14106         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14107         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14108         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14109         * nptl/sem_close.c (sem_close): Likewise.
14110         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14111         * nptl/sem_init.c (__old_sem_init): Likewise.
14112         * nptl/sigaction.c (__sigaction): Likewise.
14113         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14114         * posix/_exit.c (_exit): Likewise.
14115         * posix/alarm.c (alarm): Likewise.
14116         * posix/confstr.c (confstr): Likewise.
14117         * posix/fpathconf.c (__fpathconf): Likewise.
14118         * posix/getgroups.c (__getgroups): Likewise.
14119         * posix/getpgid.c (__getpgid): Likewise.
14120         * posix/group_member.c (__group_member): Likewise.
14121         * posix/pathconf.c (__pathconf): Likewise.
14122         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14123         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14124         * posix/setgid.c (__setgid): Likewise.
14125         * posix/setpgid.c (__setpgid): Likewise.
14126         * posix/setuid.c (__setuid): Likewise.
14127         * posix/sleep.c (__sleep): Likewise.
14128         * posix/sysconf.c (__sysconf): Likewise.
14129         * posix/times.c (__times): Likewise.
14130         * posix/uname.c (__uname): Likewise.
14131         * posix/waitid.c (__waitid): Likewise.
14132         * pwd/getpw.c (__getpw): Likewise.
14133         * resolv/base64.c (b64_pton): Likewise.
14134         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14135         * resolv/gethnamaddr.c (Dprintf): Likewise.
14136         (gethostbyname): Likewise.
14137         (gethostbyname2): Likewise.
14138         (gethostbyaddr): Likewise.
14139         (_sethtent): Likewise.
14140         (_gethtbyname): Likewise.
14141         (_gethtbyname2): Likewise.
14142         (_gethtbyaddr): Likewise.
14143         (map_v4v6_address): Likewise.
14144         (map_v4v6_hostent): Likewise.
14145         (addrsort): Likewise.
14146         (ht_sethostent): Likewise.
14147         (ht_gethostbyname): Likewise.
14148         (ht_gethostbyaddr): Likewise.
14149         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14150         (inet_net_ntop_ipv4): Likewise.
14151         * resolv/inet_neta.c (inet_neta): Likewise.
14152         * resolv/inet_ntop.c (inet_ntop): Likewise.
14153         (inet_ntop4): Likewise.
14154         (inet_ntop6): Likewise.
14155         * resolv/inet_pton.c (__inet_pton): Likewise.
14156         (inet_pton4): Likewise.
14157         (inet_pton6): Likewise.
14158         * resolv/res_debug.c (loc_aton): Likewise.
14159         (loc_ntoa): Likewise.
14160         * resource/getpriority.c (__getpriority): Likewise.
14161         * resource/getrusage.c (__getrusage): Likewise.
14162         * resource/nice.c (nice): Likewise.
14163         * resource/setpriority.c (__setpriority): Likewise.
14164         * resource/setrlimit64.c (setrlimit64): Likewise.
14165         * resource/vlimit.c (vlimit): Likewise.
14166         * resource/vtimes.c (vtimes): Likewise.
14167         * rt/aio_error.c (aio_error): Likewise.
14168         * rt/aio_return.c (aio_return): Likewise.
14169         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14170         * signal/kill.c (__kill): Likewise.
14171         * signal/killpg.c (killpg): Likewise.
14172         * signal/raise.c (raise): Likewise.
14173         * signal/sigaction.c (__sigaction): Likewise.
14174         * signal/sigaddset.c (sigaddset): Likewise.
14175         * signal/sigaltstack.c (sigaltstack): Likewise.
14176         * signal/sigandset.c (sigandset): Likewise.
14177         * signal/sigblock.c (__sigblock): Likewise.
14178         * signal/sigdelset.c (sigdelset): Likewise.
14179         * signal/sigempty.c (sigemptyset): Likewise.
14180         * signal/sigfillset.c (sigfillset): Likewise.
14181         * signal/sighold.c (sighold): Likewise.
14182         * signal/sigignore.c (sigignore): Likewise.
14183         * signal/sigintr.c (siginterrupt): Likewise.
14184         * signal/sigisempty.c (sigisemptyset): Likewise.
14185         * signal/sigismem.c (sigismember): Likewise.
14186         * signal/signal.c (signal): Likewise.
14187         * signal/sigorset.c (sigorset): Likewise.
14188         * signal/sigpause.c (__sigpause): Likewise.
14189         * signal/sigpending.c (sigpending): Likewise.
14190         * signal/sigprocmask.c (__sigprocmask): Likewise.
14191         * signal/sigrelse.c (sigrelse): Likewise.
14192         * signal/sigreturn.c (__sigreturn): Likewise.
14193         * signal/sigset.c (sigset): Likewise.
14194         * signal/sigsetmask.c (__sigsetmask): Likewise.
14195         * signal/sigstack.c (sigstack): Likewise.
14196         * signal/sigsuspend.c (__sigsuspend): Likewise.
14197         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14198         * signal/sysv_signal.c (__sysv_signal): Likewise.
14199         * socket/accept.c (accept): Likewise.
14200         * socket/accept4.c (__libc_accept4): Likewise.
14201         * socket/bind.c (__bind): Likewise.
14202         * socket/connect.c (__connect): Likewise.
14203         * socket/getpeername.c (getpeername): Likewise.
14204         * socket/getsockname.c (__getsockname): Likewise.
14205         * socket/getsockopt.c (getsockopt): Likewise.
14206         * socket/listen.c (__listen): Likewise.
14207         * socket/recv.c (__recv): Likewise.
14208         * socket/recvmsg.c (__recvmsg): Likewise.
14209         * socket/send.c (__send): Likewise.
14210         * socket/sendmsg.c (__sendmsg): Likewise.
14211         * socket/shutdown.c (shutdown): Likewise.
14212         * socket/sockatmark.c (sockatmark): Likewise.
14213         * socket/socket.c (__socket): Likewise.
14214         * stdio-common/ctermid.c (ctermid): Likewise.
14215         * stdio-common/cuserid.c (cuserid): Likewise.
14216         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14217         * stdio-common/remove.c (remove): Likewise.
14218         * stdio-common/rename.c (rename): Likewise.
14219         * stdio-common/renameat.c (renameat): Likewise.
14220         * stdio-common/tempname.c (__gen_tempname): Likewise.
14221         * stdio-common/xbug.c (InitBuffer): Likewise.
14222         (AppendToBuffer): Likewise.
14223         (ReadFile): Likewise.
14224         * stdlib/a64l.c (a64l): Likewise.
14225         * stdlib/drand48_r.c (drand48_r): Likewise.
14226         * stdlib/getcontext.c (getcontext): Likewise.
14227         * stdlib/getenv.c (getenv): Likewise.
14228         * stdlib/l64a.c (l64a): Likewise.
14229         * stdlib/llabs.c (llabs): Likewise.
14230         * stdlib/lldiv.c (lldiv): Likewise.
14231         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14232         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14233         * stdlib/putenv.c (putenv): Likewise.
14234         * stdlib/random.c (__srandom): Likewise.
14235         (__initstate): Likewise.
14236         (__setstate): Likewise.
14237         * stdlib/random_r.c (__srandom_r): Likewise.
14238         (__setstate_r): Likewise.
14239         (__random_r): Likewise.
14240         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14241         * stdlib/setcontext.c (setcontext): Likewise.
14242         * stdlib/setenv.c (setenv): Likewise.
14243         (unsetenv): Likewise.
14244         * stdlib/srand48.c (srand48): Likewise.
14245         * stdlib/srand48_r.c (__srand48_r): Likewise.
14246         * stdlib/swapcontext.c (swapcontext): Likewise.
14247         * stdlib/system.c (__libc_system): Likewise.
14248         * stdlib/tst-strtod.c (expand): Likewise.
14249         * stdlib/tst-strtol.c (expand): Likewise.
14250         * stdlib/tst-strtoll.c (expand): Likewise.
14251         * streams/fattach.c (fattach): Likewise.
14252         * streams/fdetach.c (fdetach): Likewise.
14253         * streams/getmsg.c (getmsg): Likewise.
14254         * streams/isastream.c (isastream): Likewise.
14255         * string/ffs.c (__ffs): Likewise.
14256         * string/ffsll.c (ffsll): Likewise.
14257         * string/memcmp.c (memcmp_common_alignment): Likewise.
14258         (memcmp_not_common_alignment): Likewise.
14259         (MEMCMP): Likewise.
14260         * string/memcpy.c (memcpy): Likewise.
14261         * string/memmove.c (MEMMOVE): Likewise.
14262         * string/memset.c (memset): Likewise.
14263         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14264         * string/strchrnul.c (STRCHRNUL): Likewise.
14265         * string/strerror.c (strerror): Likewise.
14266         * string/strndup.c (__strndup): Likewise.
14267         * string/strverscmp.c (__strverscmp): Likewise.
14268         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14269         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14270         (clnttcp_freeres): Likewise.
14271         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14272         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14273         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14274         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14275         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14276         (xdr_callhdr): Likewise.
14277         * sunrpc/rpcinfo.c (udpping): Likewise.
14278         (tcpping): Likewise.
14279         (pstatus): Likewise.
14280         (pmapdump): Likewise.
14281         (brdcst): Likewise.
14282         (deletereg): Likewise.
14283         (getprognum): Likewise.
14284         (getvers): Likewise.
14285         (get_inet_address): Likewise.
14286         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14287         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14288         (svcudp_stat): Likewise.
14289         (svcudp_recv): Likewise.
14290         (svcudp_reply): Likewise.
14291         (svcudp_getargs): Likewise.
14292         (svcudp_freeargs): Likewise.
14293         (svcudp_destroy): Likewise.
14294         * sunrpc/xdr.c (xdr_bytes): Likewise.
14295         (xdr_netobj): Likewise.
14296         (xdr_string): Likewise.
14297         (xdr_wrapstring): Likewise.
14298         * sunrpc/xdr_float.c (xdr_float): Likewise.
14299         (xdr_double): Likewise.
14300         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14301         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14302         * sysvipc/ftok.c (ftok): Likewise.
14303         * sysvipc/msgctl.c (msgctl): Likewise.
14304         * sysvipc/msgget.c (msgget): Likewise.
14305         * sysvipc/msgrcv.c (msgrcv): Likewise.
14306         * sysvipc/msgsnd.c (msgsnd): Likewise.
14307         * sysvipc/semget.c (semget): Likewise.
14308         * sysvipc/semop.c (semop): Likewise.
14309         * sysvipc/shmat.c (shmat): Likewise.
14310         * sysvipc/shmctl.c (shmctl): Likewise.
14311         * sysvipc/shmdt.c (shmdt): Likewise.
14312         * sysvipc/shmget.c (shmget): Likewise.
14313         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14314         * termios/speed.c (cfgetospeed): Likewise.
14315         (cfgetispeed): Likewise.
14316         (cfsetospeed): Likewise.
14317         (cfsetispeed): Likewise.
14318         * termios/tcflow.c (tcflow): Likewise.
14319         * termios/tcflush.c (tcflush): Likewise.
14320         * termios/tcgetattr.c (__tcgetattr): Likewise.
14321         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14322         * termios/tcgetsid.c (tcgetsid): Likewise.
14323         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14324         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14325         * time/adjtime.c (__adjtime): Likewise.
14326         * time/dysize.c (dysize): Likewise.
14327         * time/ftime.c (ftime): Likewise.
14328         * time/getitimer.c (__getitimer): Likewise.
14329         * time/gettimeofday.c (__gettimeofday): Likewise.
14330         * time/gmtime.c (__gmtime_r): Likewise.
14331         (gmtime): Likewise.
14332         * time/localtime.c (__localtime_r): Likewise.
14333         (localtime): Likewise.
14334         * time/offtime.c (__offtime): Likewise.
14335         * time/settimeofday.c (__settimeofday): Likewise.
14336         * time/stime.c (stime): Likewise.
14337         * time/strftime_l.c (tm_diff): Likewise.
14338         (iso_week_days): Likewise.
14339         * time/strptime.c (strptime): Likewise.
14340         * time/time.c (time): Likewise.
14341         * time/timespec_get.c (timespec_get): Likewise.
14342         * time/tzset.c (tzset_internal): Likewise.
14343         (compute_change): Likewise.
14344         (__tz_compute): Likewise.
14345         * wcsmbs/btowc.c (__btowc): Likewise.
14346         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14347         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14348         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14349         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14350         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14351         * wcsmbs/wcscat.c (__wcscat): Likewise.
14352         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14353         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14354         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14355         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14356         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14357         * wcsmbs/wcslen.c (__wcslen): Likewise.
14358         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14359         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14360         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14361         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14362         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14363         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14364         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14365         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14366         * wcsmbs/wcstok.c (wcstok): Likewise.
14367         * wcsmbs/wctob.c (wctob): Likewise.
14368         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14370         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14371         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14372         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14373         * wcsmbs/wmemset.c (__wmemset): Likewise.
14374         * wctype/wcfuncs.c (__towlower): Likewise.
14375         (__towupper): Likewise.
14377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14378         (lll_unlock_elision): Add adapt_count parameter.
14380 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14382         * sysdeps/nptl/configure.ac: Do not give errors based on the
14383         results of top-level configure tests.
14384         * sysdeps/nptl/configure: Regenerated.
14386         * configure.ac (libc_cv_Bgroup): Remove configure test.
14387         * configure: Regenerated.
14388         * config.make.in (have-Bgroup): Remove variable.
14390         * configure.ac (sizeof_long_double): Remove configure test.
14391         * configure: Regenerated.
14392         * config.make.in (sizeof-long-double): Remove variable.
14394         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14395         * configure: Regenerated.
14396         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14397         variable.
14398         (exceptions): Likewise.
14399         * sysdeps/arm/configure: Regenerated.
14400         * config.make.in (exceptions): Remove variable.
14401         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14402         $(exceptions).
14403         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14404         (CFLAGS-vdprintf_chk.c): Likewise.
14405         (CFLAGS-printf_chk.c): Likewise.
14406         (CFLAGS-fprintf_chk.c): Likewise.
14407         (CFLAGS-vprintf_chk.c): Likewise.
14408         (CFLAGS-vfprintf_chk.c): Likewise.
14409         (CFLAGS-gets_chk.c): Likewise.
14410         (CFLAGS-fgets_chk.c): Likewise.
14411         (CFLAGS-fgets_u_chk.c): Likewise.
14412         (CFLAGS-fread_chk.c): Likewise.
14413         (CFLAGS-fread_u_chk.c): Likewise.
14414         (CFLAGS-wprintf_chk.c): Likewise.
14415         (CFLAGS-fwprintf_chk.c): Likewise.
14416         (CFLAGS-vwprintf_chk.c): Likewise.
14417         (CFLAGS-vfwprintf_chk.c): Likewise.
14418         (CFLAGS-fgetws_chk.c): Likewise.
14419         (CFLAGS-fgetws_u_chk.c): Likewise.
14420         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14421         (CFLAGS-fputc.c): Likewise.
14422         (CFLAGS-fputwc.c): Likewise.
14423         (CFLAGS-freopen64.c): Likewise.
14424         (CFLAGS-freopen.c): Likewise.
14425         (CFLAGS-fseek.c): Likewise.
14426         (CFLAGS-fseeko64.c): Likewise.
14427         (CFLAGS-fseeko.c): Likewise.
14428         (CFLAGS-ftello64.c): Likewise.
14429         (CFLAGS-ftello.c): Likewise.
14430         (CFLAGS-fwide.c): Likewise.
14431         (CFLAGS-genops.c): Likewise.
14432         (CFLAGS-getc.c): Likewise.
14433         (CFLAGS-getchar.c): Likewise.
14434         (CFLAGS-getwc.c): Likewise.
14435         (CFLAGS-getwchar.c): Likewise.
14436         (CFLAGS-iofclose.c): Likewise.
14437         (CFLAGS-iofflush.c): Likewise.
14438         (CFLAGS-iofgetpos64.c): Likewise.
14439         (CFLAGS-iofgetpos.c): Likewise.
14440         (CFLAGS-iofgets.c): Likewise.
14441         (CFLAGS-iofgetws.c): Likewise.
14442         (CFLAGS-iofputs.c): Likewise.
14443         (CFLAGS-iofputws.c): Likewise.
14444         (CFLAGS-iofread.c): Likewise.
14445         (CFLAGS-iofsetpos64.c): Likewise.
14446         (CFLAGS-iofsetpos.c): Likewise.
14447         (CFLAGS-ioftell.c): Likewise.
14448         (CFLAGS-iofwrite.c): Likewise.
14449         (CFLAGS-iogetdelim.c): Likewise.
14450         (CFLAGS-iogetline.c): Likewise.
14451         (CFLAGS-iogets.c): Likewise.
14452         (CFLAGS-iogetwline.c): Likewise.
14453         (CFLAGS-ioputs.c): Likewise.
14454         (CFLAGS-ioseekoff.c): Likewise.
14455         (CFLAGS-ioseekpos.c): Likewise.
14456         (CFLAGS-iosetbuffer.c): Likewise.
14457         (CFLAGS-iosetvbuf.c): Likewise.
14458         (CFLAGS-ioungetc.c): Likewise.
14459         (CFLAGS-ioungetwc.c): Likewise.
14460         (CFLAGS-oldfileops.c): Likewise.
14461         (CFLAGS-oldiofclose.c): Likewise.
14462         (CFLAGS-oldiofgetpos64.c): Likewise.
14463         (CFLAGS-oldiofgetpos.c): Likewise.
14464         (CFLAGS-oldiofsetpos64.c): Likewise.
14465         (CFLAGS-oldiofsetpos.c): Likewise.
14466         (CFLAGS-peekc.c): Likewise.
14467         (CFLAGS-putc.c): Likewise.
14468         (CFLAGS-putchar.c): Likewise.
14469         (CFLAGS-putwc.c): Likewise.
14470         (CFLAGS-putwchar.c): Likewise.
14471         (CFLAGS-rewind.c): Likewise.
14472         (CFLAGS-wfileops.c): Likewise.
14473         (CFLAGS-wgenops.c): Likewise.
14474         (CFLAGS-oldiofopen.c): Likewise.
14475         (CFLAGS-iofopen.c): Likewise.
14476         (CFLAGS-iofopen64.c): Likewise.
14477         (CFLAGS-oldtmpfile.c): Likewise.
14478         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14479         (CFLAGS-fprintf.c): Likewise.
14480         (CFLAGS-printf.c): Likewise.
14481         (CFLAGS-vfwprintf.c): Likewise.
14482         (CFLAGS-vfscanf.c): Likewise.
14483         (CFLAGS-vfwscanf.c): Likewise.
14484         (CFLAGS-fscanf.c): Likewise.
14485         (CFLAGS-scanf.c): Likewise.
14486         (CFLAGS-isoc99_vfscanf.c): Likewise.
14487         (CFLAGS-isoc99_vscanf.c): Likewise.
14488         (CFLAGS-isoc99_fscanf.c): Likewise.
14489         (CFLAGS-isoc99_scanf.c): Likewise.
14490         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14491         (CFLAGS-isoc99_fwscanf.c): Likewise.
14492         (CFLAGS-isoc99_vwscanf.c): Likewise.
14493         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14495         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14496         after mkstemp64.
14497         * login/tst-utmp.c (do_prepare): Likewise.
14498         * rt/tst-aio.c (do_prepare): Likewise.
14499         * rt/tst-aio64.c (do_prepare): Likewise.
14501 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14503         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14504         (__lll_lock_elision): Remove adapt_count decrement...
14505         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14506         (__lll_trylock_elision): Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14508         (__lll_unlock_elision): ... to here. And utilize
14509         new adapt_count parameter.
14510         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14511         (__lll_unlock_elision): Update to include adapt_count
14512         parameter.
14513         (lll_unlock_elision): Pass pointer to adapt_count
14514         variable.
14516 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14518         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14519         Add elision adapt_count parameter to list of arguments.
14520         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14521         (lll_unlock_elision): Update with new parameter list
14522         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14523         (lll_unlock_elision): Likewise.
14524         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14525         (lll_unlock_elision): Likewise.
14527 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14529         [BZ #19122]
14530         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14531         attribute_hidden.
14533         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14534         attribute_hidden.
14535         [IS_IN (rtld)] (__strdup): Likewise.
14536         [IS_IN (rtld)] (__strerror_r): Likewise.
14537         [IS_IN (rtld)] (__strsep_g): Likewise.
14538         [IS_IN (rtld)] (memchr): Likewise.
14539         [IS_IN (rtld)] (memcmp): Likewise.
14540         [IS_IN (rtld)] (memcpy): Likewise.
14541         [IS_IN (rtld)] (memmove): Likewise.
14542         [IS_IN (rtld)] (memset): Likewise.
14543         [IS_IN (rtld)] (rawmemchr): Likewise.
14544         [IS_IN (rtld)] (stpcpy): Likewise.
14545         [IS_IN (rtld)] (strchr): Likewise.
14546         [IS_IN (rtld)] (strcmp): Likewise.
14547         [IS_IN (rtld)] (strlen): Likewise.
14548         [IS_IN (rtld)] (strnlen): Likewise.
14549         [IS_IN (rtld)] (strsep): Likewise.
14551         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14552         attribute_hidden.
14553         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14555         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14556         attribute_hidden.
14557         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14559         * include/setjmp.h (__longjmp): Add attribute_hidden.
14560         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14562         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14563         Add attribute_hidden.
14565         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14566         [IS_IN (rtld)] (__open): Likewise.
14567         [IS_IN (rtld)] (__fcntl): Likewise.
14569         * include/dirent.h (__opendirat): Add attribute_hidden.
14570         (__getdents): Likewise.
14571         (__getdents64): Likewise.
14572         (__alloc_dir): Likewise.
14573         [IS_IN (rtld)] (__closedir): Likewise.
14574         [IS_IN (rtld)] (__fdopendir): Likewise.
14575         [IS_IN (rtld)] (__readdir): Likewise.
14576         [IS_IN (rtld)] (__readdir64): Likewise.
14577         [IS_IN (rtld)] (__rewinddir): Likewise.
14579         * include/dlfcn.h (_dl_catch_error): Moved to ...
14580         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14581         attribute_hidden.
14583         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14584         (_itoa_word): Likewise.
14586         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14587         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14588         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14589         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14590         (_dl_higher_prime_number): Likewise.
14591         (_dl_debug_printf_c): Likewise.
14592         (_dl_signal_cerror): Likewise.
14593         (_dl_receive_error): Likewise.
14594         (_dl_reloc_bad_type): Likewise.
14595         (_dl_resolve_conflicts): Likewise.
14596         (_dl_check_all_versions): Likewise.
14597         (_dl_check_map_versions): Likewise.
14598         (_dl_sort_fini): Likewise.
14599         (_dl_debug_initialize): Likewise.
14600         (_dl_init_paths): Likewise.
14601         (_dl_show_auxv): Likewise.
14602         (_dl_next_ld_env_entry): Likewise.
14603         (_dl_important_hwcaps): Likewise.
14604         (_dl_load_cache_lookup): Likewise.
14605         (_dl_update_slotinfo): Likewise.
14606         (_dl_show_scope): Likewise.
14608         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14609         attribute_hidden.
14610         (_wordcopy_fwd_dest_aligned): Likewise.
14611         (_wordcopy_bwd_aligned): Likewise.
14612         (_wordcopy_bwd_dest_aligned): Likewise.
14614         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14615         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14616         Likewise.
14617         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14618         Likewise.
14619         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14621 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14624         GCC 5 requirement.
14626 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14628         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14629         test.
14630         * sysdeps/i386/configure: Regenerated.
14631         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14632         code unconditional.
14634         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14635         test.
14636         (libc_cv_asm_popsection_directive): Likewise.
14637         * configure: Regenerated.
14638         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14639         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14640         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14641         (__make_section_unallocated): Make definition unconditional.
14642         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14643         Remove conditional definition.
14644         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14645         (__make_section_unallocated): Likewise.
14647         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14648         * configure: Regenerated.
14649         * config.make.in (static-libgcc): Remove variable.
14650         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14651         $(static-libgcc).
14652         (build-module-helper): Likewise.
14654         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14655         * configure: Regenerated.
14657 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14659         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14660         (struct char_buffer): New type.
14661         (char_buffer_start, char_buffer_size, char_buffer_error)
14662         (char_buffer_rewind, char_buffer_add): New functions.
14663         (ADDW): Remove macro, replaced by the char_buffer_add function.
14664         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14665         of extend_alloca.  Make control flow more explicit.
14667 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14669         [BZ #19137]
14670         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14671         Add -fomit-frame-pointer.
14672         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14674 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14676         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14677         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14678         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14679         only if !__GNUC_PREREQ (5,0).
14680         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14681         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14682         (INTERNAL_SYSCALL_NCS): Likewise.
14683         (LOADREGS_0): New macro for GCC 5.
14684         (ASMARGS_0): Likewise.
14685         (LOADREGS_1): Likewise.
14686         (ASMARGS_1): Likewise.
14687         (LOADREGS_2): Likewise.
14688         (ASMARGS_2): Likewise.
14689         (LOADREGS_3): Likewise.
14690         (ASMARGS_3): Likewise.
14691         (LOADREGS_4): Likewise.
14692         (ASMARGS_4): Likewise.
14693         (LOADREGS_5): Likewise.
14694         (ASMARGS_5): Likewise.
14695         (LOADREGS_6): Likewise.
14696         (ASMARGS_6): Likewise.
14698 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14700         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14701         -fomit-frame-pointer.
14702         (CFLAGS-mmap64.c): Likewise.
14703         (CFLAGS-semtimedop.c): Likewise.
14704         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14705         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14706         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14707         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14709 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14711         [BZ #18928]
14712         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14713         _dl_pointer_guard member.
14714         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14715         initializer.
14716         (security_init): Always set up pointer guard.
14717         (process_envvars): Do not process LD_POINTER_GUARD.
14719 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #19134]
14722         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14723         (.LC2): Likewise.
14724         (.LC3): Likewise.
14725         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14727 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14729         [BZ #19129]
14730         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14731         r0 and r1.
14733 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14735         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14737 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14739         * include/stap-probe.h: Fix macro definition formatting.
14741 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14743         [BZ #19074]
14744         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14745         load and store num_ifs.
14747 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14749         [BZ #18822]
14750         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14751         (__sched_getaffinity_new): Add libc_hidden_proto and
14752         libc_hidden_def.
14754 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14756         [BZ #19007]
14757         * scripts/localplt.awk: Also allow GOT references.
14758         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14759         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14760         with "+ REL R_386_GLOB_DAT".
14761         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14762         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14764 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14766         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14767         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14768         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14771         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14772         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14773         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14774         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14775         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14776         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14777         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14778         Likewise.
14779         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14781 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #19125]
14784         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14785         <math_private.h> and <stdint.h>.
14786         (__llround): Avoid conversions to and from long long int, and
14787         subtractions, where those might raise spurious exceptions.
14788         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14789         <math_private.h> and <stdint.h>.
14790         (__llroundf): Avoid conversions to and from long long int, and
14791         subtractions, where those might raise spurious exceptions.
14793 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14795         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14796         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14797         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14798         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14799         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14800         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14801         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14802         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14803         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14804         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14805         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14806         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14807         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14808         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14809         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14810         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14811         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14812         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14813         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14814         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14815         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14816         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14817         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14818         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14819         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14820         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14821         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14822         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14823         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14824         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14825         (__xstat64_conv): Likewise.
14826         (__xstat32_conv): Likewise.
14828 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14830         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14831         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14832         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14833         <sysdeps/unix/sysv/linux/sysdep.h>.
14834         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14835         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14836         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14837         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14838         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14839         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14840         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14841         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14842         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14847         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14848         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14850         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14851         (sysdep-dl-routines): Add sysdep.
14852         [$(subdir) == nptl] (libpthread-routines): Likewise.
14853         [$(subdir) == rt] (librt-routines): Likewise.
14854         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14855         PIC when branching to SYSCALL_ERROR_LABEL.
14856         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14857         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14858         <sysdeps/unix/sysv/linux/sysdep.h>.
14859         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14860         (SYSCALL_ERROR_ERRNO): Removed.
14861         (SYSCALL_ERROR_HANDLER): Changed to empty.
14862         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14863         (__syscall_error): New prototype.
14864         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14865         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14867 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14869         [BZ #19124]
14870         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14871         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14872         _dl_runtime_resolve_avx.
14873         (_dl_runtime_profile_avx512): Make it a hidden alias of
14874         _dl_runtime_profile_avx.
14876 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14878         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14879         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14880         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14881         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14883         [BZ #16422]
14884         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14885         New configure test.
14886         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14887         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14888         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14889         <math_private.h> and <stdint.h>.
14890         (__llrint): Avoid conversions to long long int where those might
14891         raise spurious exceptions.
14892         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14893         <math_private.h> and <stdint.h>.
14894         (__llrintf): Avoid conversions to long long int where those might
14895         raise spurious exceptions.
14897 2015-10-12  Andreas Schwab  <schwab@suse.de>
14899         [BZ #18969]
14900         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14901         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14902         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14903         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14904         $(gen-locales).
14905         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14906         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14907         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14908         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14909         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14910         $(gen-locales).
14911         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14912         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14913         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14914         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14915         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14916         ($(objpfx)tst-ftell-active-handler.out)
14917         ($(objpfx)tst-ftell-append.out)
14918         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14919         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14920         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14921         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14922         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14923         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14924         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14925         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14926         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14927         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14928         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14929         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14930         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14931         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14932         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14933         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14934         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14935         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14936         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14937         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14938         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14939         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14940         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14941         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14942         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14943         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14944         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14945         $(gen-locales).
14946         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14947         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14948         $(gen-locales).
14949         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14950         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14951         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14952         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14953         $(gen-locales).
14954         * libio/tst_wprintf2.c (main): Use explicit locale.
14955         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14957 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14959         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14960         __msg_sig_post.
14961         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14963 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14965         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14966         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14968         * sysdeps/arm/libm-test-ulps: Regenerated.
14970         [BZ #15470]
14971         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14973         [BZ #16399]
14974         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14975         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14976         and <fix-fp-int-convert-overflow.h>.
14977         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14978         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14979         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14980         and <fix-fp-int-convert-overflow.h>.
14981         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14983         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14984         <fix-fp-int-convert-overflow.h>.
14985         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14987         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14988         <fix-fp-int-convert-overflow.h>.
14989         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14991         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14992         and <fix-fp-int-convert-overflow.h>.
14993         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14995         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14996         <limits.h> and <fix-fp-int-convert-overflow.h>.
14997         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14998         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14999         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15000         and <fix-fp-int-convert-overflow.h>.
15001         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15002         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15003         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15004         and <fix-fp-int-convert-overflow.h>.
15005         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15006         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15007         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15009 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15011         [BZ #18589]
15012         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15013         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15014         $(gen-locales).
15016 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15017             Phil Blundell <pb@pbcl.net>
15019         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15020         * nptl/tst-cancel26.c: New file.
15021         * nptl/tst-cancel27.c: Likewise.
15023 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15025         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15026         __ILP32__ isn't defined.
15027         (lrint): Likewise.
15028         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15029         (lrintf): Likewise.
15030         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15031         (lrintl): Likewise.
15032         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15033         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15034         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15036 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15038         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15039         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15041         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15042         file.
15043         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15044         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15046 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15048         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15049         configure test.
15050         * sysdeps/i386/configure: Regenerated.
15051         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15052         configure test.
15053         * sysdeps/x86_64/configure: Regenerated.
15054         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15055         Make code unconditional.
15057         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15058         test.
15059         * sysdeps/i386/configure: Regenerated.
15060         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15061         test.
15062         * sysdeps/x86_64/configure: Regenerated.
15063         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15064         Make code unconditional.
15065         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15066         Likewise.
15067         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15068         Likewise.
15069         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15070         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15071         code unconditional.
15072         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15073         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15074         code unconditional.
15075         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15076         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15077         code unconditional.
15078         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15079         code unconditional.
15080         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15081         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15082         code unconditional.
15083         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15084         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15085         code unconditional.
15086         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15087         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15088         code unconditional.
15089         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15090         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15091         code unconditional.
15092         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15093         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15095         [BZ #19095]
15096         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15097         mantissa to long int before shifting left.
15099 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #19094]
15102         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15103         <limits.h>.
15104         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15105         when result overflows but exception would not result from cast.
15106         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15107         <limits.h>.
15108         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15109         when result overflows but exception would not result from cast.
15110         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15111         <limits.h>.
15112         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15113         when result overflows but exception would not result from cast.
15114         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15115         <limits.h>.
15116         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15117         when result overflows but exception would not result from cast.
15118         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15119         <limits.h>.
15120         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15121         when result overflows but exception would not result from cast.
15122         * math/libm-test.inc (lrint_test_data): Add more tests.
15123         (llrint_test_data): Likewise.
15125 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15127         [BZ #18872]
15128         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15129         Move out from under [$(run-built-tests) = yes] conditional.
15130         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15131         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15133 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15135         [BZ #18589]
15136         * string/Makefile (tests): Add bug-strcoll2.
15137         (LOCALES): Add cs_CZ.UTF-8.
15138         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15140         [BZ #18589]
15141         * string/bug-strcoll2.c: New file.
15142         * locale/categories.def: Revert commit
15143         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15144         * locale/langinfo.h: Likewise.
15145         * locale/localeinfo.h: Likewise.
15146         * locale/C-collate.c: Likewise.
15147         * locale/programs/ld-collate.c (collate_output): Likewise.
15148         * string/strcoll_l.c (STRDIFF): Likewise.
15149         (STRCOLL): Likewise.
15150         * wcsmbs/wcscoll_l.c: Likewise.
15152 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15154         * math/libm-test.inc (lround_test_data): Do not expect the absence
15155         of "inexact" for some tests with non-integer arguments.
15156         (llround_test_data): Likewise.
15158         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15159         test.
15160         (libc_cv_cc_sse2avx): Likewise.
15161         * sysdeps/i386/configure: Regenerated.
15162         * sysdeps/i386/i686/multiarch/Makefile
15163         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15164         [$(subdir) = math].
15165         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15166         code unconditional.
15167         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15168         Likewise.
15169         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15170         Likewise.
15171         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15172         Likewise.
15173         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15174         test.
15175         (libc_cv_cc_sse2avx): Likewise.
15176         * sysdeps/x86_64/configure: Regenerated.
15177         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15178         unconditional.
15179         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15180         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15181         unconditional.
15182         (_dl_runtime_profile)
15183         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15184         conditional code.
15185         * sysdeps/x86_64/fpu/multiarch/Makefile
15186         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15188         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15189         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15190         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15191         * sysdeps/x86_64/fpu/multiarch/e_log.c
15192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15193         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15196         Likewise.
15197         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15198         Likewise.
15199         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15200         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15202         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15203         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15204         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15205         (HAVE_SSE2AVX_SUPPORT): Likewise.
15207 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15209         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15210         instead of #pragma optimize.
15212 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15214         [BZ #17195]
15215         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15216         as is similarly done in systrim and _int_free already.
15218 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15220         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15222 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15224         [BZ #19088]
15225         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15226         <limits.h>.
15227         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15228         overflows but exception would not result from cast.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15230         and <limits.h>.
15231         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15232         overflows but exception would not result from cast.
15233         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15234         <limits.h>.
15235         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15236         overflows but exception would not result from cast.
15237         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15238         <limits.h>.
15239         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15240         overflows but exception would not result from cast.
15241         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15242         <limits.h>.
15243         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15244         overflows but exception would not result from cast.
15245         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15246         <limits.h>.
15247         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15248         overflows but exception would not result from cast.
15249         * math/libm-test.inc (lround_test_data): Add more tests.
15250         (llround_test_data): Likewise.
15252 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15254         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15255         (CFLAGS-ialloc.c): Ditto.
15256         (CFLAGS-scheck.c): Ditto.
15258 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15260         [BZ #19086]
15261         * manual/filesys.texi (Storage Allocation): Fix argument order for
15262         posix_fallocate64.
15264 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15266         [BZ #19085]
15267         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15268         exponent below 48 inside case for non-overflowing exponent.
15269         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15271 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15273         * iconvdata/cp737.h (from_idx): Add const.
15274         * iconvdata/cp775.h (from_idx): Likewise.
15276 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15278         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15279         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15280         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15282         [BZ #19079]
15283         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15284         file, conditioned on [!_LP64].
15285         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15286         [!_LP64] (__lround): Do not define as function or alias.
15287         [!_LP64] (lround): Likewise.
15288         [!_LP64] (__lroundl): Likewise.
15289         [!_LP64] (lroundl): Likewise.
15290         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15291         macro.
15292         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15293         Likewise.
15295 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15297         * math/libm-test.inc (lrint_test_data): Add more tests.
15298         (llrint_test_data): Likewise.
15299         (lround_test_data): Likewise.
15300         (llround_test_data): Likewise.
15302         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15303         (llrint_test_data): Add tests used for lrint.
15305         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15306         test.
15307         * sysdeps/i386/configure: Regenerated.
15308         * sysdeps/i386/i686/multiarch/Makefile
15309         [$(config-cflags-sse4) = yes]: Make code unconditional.
15310         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15311         Likewise.
15312         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15313         Likewise.
15314         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15315         test.
15316         * sysdeps/x86_64/configure: Regenerated.
15317         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15318         Make code unconditional.
15319         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15320         Likewise.
15321         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15322         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15324         * scripts/rpm2dynsym.sh: Remove file.
15326 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15328         * configure.ac (libc_cv_cxx_thread_local): Define.
15329         * configure: Regenerate.
15330         * config.make.in (have-cxx-thread_local): Define.
15331         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15332         (LDLIBS-tst-thread_local1): Define.
15333         (tests): Add tst-thread_local1.
15334         [have-cxx-thread_local != yes] (tests-unsupported): Add
15335         tst-thread_local1.
15336         * nptl/tst-thread_local1.cc: New file.
15338 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15340         [BZ #19078]
15341         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15342         (u_thres): Likewise.
15343         (__expl): Determine whether to call __kernel_standard_l based on
15344         value of result, not argument.
15346         * math/libm-test.inc (scalb_test_data): Add more expectations for
15347         the "inexact" exception.
15349         [BZ #19077]
15350         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15351         0.0L for argument 1.0L.
15353         [BZ #19076]
15354         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15355         constant 0.0L when computing infinite result.
15357 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15359         [BZ #10432]
15360         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15361         malloc_usable_size.
15363 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15365         [BZ #19018]
15366         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15367         Mangle function pointer before storing it.
15368         (__call_tls_dtors): Demangle function pointer before calling it.
15370 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15372         [BZ #19012]
15373         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15374         Clean up on failure.
15376 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15378         [BZ #19071]
15379         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15380         long int variable to store possibly incremented high part of
15381         mantissa.
15382         * math/libm-test.inc (lround_test_data): Add tests used for
15383         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15384         for tests requiring 64-bit long.  Do not condition tests on
15385         [TEST_FLOAT] unnecessarily.
15386         (llround_test_data): Add tests used for lround.  Add another
15387         expectation for the "inexact" exception.  Do not condition tests
15388         on [TEST_FLOAT] unnecessarily.
15390         [BZ #887]
15391         [BZ #19049]
15392         [BZ #19050]
15393         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15394         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15395         <fix-int-fp-convert-zero.h>.
15396         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15397         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15398         <fix-int-fp-convert-zero.h>.
15399         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15400         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15401         <fix-int-fp-convert-zero.h>.
15402         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15403         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15404         <fix-int-fp-convert-zero.h>.
15405         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15406         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15407         <fix-int-fp-convert-zero.h>.
15408         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15409         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15410         <fix-int-fp-convert-zero.h>.
15411         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15412         * sysdeps/ieee754/flt-32/s_erff.c: Include
15413         <fix-int-fp-convert-zero.h>.
15414         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15415         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15416         <fix-int-fp-convert-zero.h>.
15417         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15419         <fix-int-fp-convert-zero.h>.
15420         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15422         <fix-int-fp-convert-zero.h>.
15423         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15424         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15425         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15426         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15427         file.
15428         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15430 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15434 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15436         [BZ #19059]
15437         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15438         overflowing computation.
15439         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15440         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15441         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15442         Likewise.
15443         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15444         Likewise.
15445         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15446         Likewise.
15447         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15448         Likewise.
15449         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15450         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15451         Likewise.
15452         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15453         Likewise.
15454         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15456         * nss/rewrite_field.c (__nss_rewrite_field): Use
15457         internal_function.
15458         * nss/valid_field.c (__nss_valid_field): Likewise.
15459         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15461 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15463         [BZ #18724]
15464         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15465         (__nss_invalid_field_characters, __nss_valid_field)
15466         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15467         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15468         tst-field.c: New file.
15469         * nss/Makefile (routines): Add valid_field, rewrite_field.
15470         (tests-static): Define unconditionally.
15471         (tests): Include tests-static.
15472         [build-static-nss] (tests-static): Use append.
15473         [build-static-nss] (tests): Remove modification.
15474         * nss/getent.c (print_group): Call putgrent.  Report error.
15475         (print_gshadow): Call putsgent.  Report error.
15476         (print_passwd): Call putpwent.  Report error.
15477         (print_shadow): Call putspent.  Report error.
15478         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15479         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15480         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15481         name, password, directory, shell fields for valid syntax.  Rewrite
15482         GECOS field to match syntax.
15483         * pwd/Makefile (tests): Add tst-putpwent.
15484         * pwd/tst-putpwent.c: New file.
15485         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15486         Check grName, grpasswd, gr_mem fields for valid syntax.
15487         Change loop variable i to size_t.
15488         * grp/Makefile (tests): Add tst-putgrent.
15489         * grp/tst-putgrent.c: New file.
15490         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15491         valid syntax.
15492         * shadow/Makefile (tests): Add tst-putspent.
15493         * shadow/tst-putspent.c: New file.
15494         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15495         sg_mem fields for valid syntax.
15496         * gshadow/Makefile (tests): Add tst-putsgent.
15497         * gshadow/tst-putsgent.c: New file.
15499 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15501         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15502         assembly instructions.
15504 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15506         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15507         prefix from operands.
15509 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #16347]
15512         [BZ #19046]
15513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15514         <libc-internal.h>.
15515         (MAXLGM): Do not use diagnostic control macros.
15516         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15517         threshold for ldbl-128ibm.
15518         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15519         instead of multiplying by log then subtracting.
15520         * math/auto-libm-test-in: Add more tests of lgamma.
15521         * math/auto-libm-test-out: Regenerated.
15523         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15524         (TYPE_HEX_DIG): Likewise.
15525         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15526         precisions when printing floating-point numbers.
15527         (check_float_internal): Likewise.
15529 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15531         [BZ #16620]
15532         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15533         of log (10) rounded downward to 48 bits.
15534         (log10_low): Use corresponding low part of log (10).
15536         [BZ #19032]
15537         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15538         compute result as (x - x) / (x - x) not as 0 / 0.
15539         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15540         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15542         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15543         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15544         and expm1.
15545         * math/auto-libm-test-out: Regenerated.
15546         * math/libm-test.inc (acos_test_data): Add more tests.
15547         (asin_test_data): Likewise.
15548         (asinh_test_data): Likewise.
15549         (atan_test_data): Likewise.
15550         (atanh_test_data): Likewise.
15551         (atan2_test_data): Likewise.
15552         (cbrt_test_data): Likewise.
15553         (ceil_test_data): Likewise.
15554         (copysign_test_data): Likewise.
15555         (cos_test_data): Likewise.
15556         (cosh_test_data): Likewise.
15557         (erf_test_data): Likewise.
15558         (erfc_test_data): Likewise.
15559         (exp_test_data): Likewise.
15560         (exp10_test_data): Likewise.
15561         (exp2_test_data): Likewise.
15562         (expm1_test_data): Likewise.
15563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15565 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15567         [BZ #19006]
15568         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15569         to ...
15570         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15571         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15572         to ...
15573         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15574         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15575         to ...
15576         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15577         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15578         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15579         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15580         to ...
15581         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15582         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15583         Moved to ...
15584         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15585         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15586         Moved to ...
15587         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15588         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15589         to ...
15590         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15591         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15592         Moved to ...
15593         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15594         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15595         to ...
15596         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15597         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15598         Removed.
15599         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15600         Likewise.
15601         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15602         Likewise.
15603         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15604         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15605         Likewise.
15606         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15607         Likewise.
15608         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15609         Likewise.
15610         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15611         Likewise.
15612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15613         Likewise.
15614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15615         Likewise.
15616         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15617         Likewise.
15618         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15619         Likewise.
15620         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15621         Likewise.
15622         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15623         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15624         Likewise.
15625         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15632         Likewise.
15633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15634         Replace ../i486/pthread_cond_timedwait.S with
15635         ../pthread_cond_timedwait.S.
15637 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15639         * math/libm-test.inc (acos_test_data): Refine expectations for
15640         errno and "inexact" exceptions.
15641         (acosh_test_data): Likewise.
15642         (asin_test_data): Likewise.
15643         (asinh_test_data): Likewise.
15644         (atan_test_data): Likewise.
15645         (atanh_test_data): Likewise.
15646         (atan2_test_data): Likewise.
15647         (cbrt_test_data): Likewise.
15648         (ceil_test_data): Likewise.
15649         (copysign_test_data): Likewise.
15650         (cosh_test_data): Likewise.
15651         (erf_test_data): Likewise.
15652         (erfc_test_data): Likewise.
15653         (exp_test_data): Likewise.
15654         (exp10_test_data): Likewise.
15655         (exp2_test_data): Likewise.
15656         (expm1_test_data): Likewise.
15657         (fabs_test_data): Likewise.
15658         (floor_test_data): Likewise.
15659         (fma_test_data): Likewise.
15660         (fmax_test_data): Likewise.
15661         (fmin_test_data): Likewise.
15662         (fmod_test_data): Likewise.
15663         (fpclassify_test_data): Likewise.
15664         (frexp_test_data): Likewise.
15665         (hypot_test_data): Likewise.
15666         (ilogb_test_data): Likewise.
15667         (isgreater_test_data): Likewise.
15668         (isgreaterequal_test_data): Likewise.
15669         (isinf_test_data): Likewise.
15670         (isless_test_data): Likewise.
15671         (islessequal_test_data): Likewise.
15672         (islessgreater_test_data): Likewise.
15673         (isnan_test_data): Likewise.
15674         (isnormal_test_data): Likewise.
15675         (issignaling_test_data): Likewise.
15676         (isunordered_test_data): Likewise.
15677         (j0_test_data): Likewise.
15678         (j1_test_data): Likewise.
15679         (jn_test_data): Likewise.
15680         (lgamma_test_data): Likewise.
15681         (lrint_test_data): Likewise.
15682         (llrint_test_data): Likewise.
15683         (log_test_data): Likewise.
15684         (log10_test_data): Likewise.
15685         (log1p_test_data): Likewise.
15686         (log2_test_data): Likewise.
15687         (logb_test_data): Likewise.
15688         (lround_test_data): Likewise.
15689         (llround_test_data): Likewise.
15690         (modf_test_data): Likewise.
15691         (nearbyint_test_data): Likewise.
15692         (nextafter_test_data): Likewise.
15693         (nexttoward_test_data): Likewise.
15694         (pow_test_data): Likewise.
15695         (remainder_test_data): Likewise.
15696         (remquo_test_data): Likewise.
15697         (rint_test_data): Likewise.
15698         (round_test_data): Likewise.
15699         (signbit_test_data): Likewise.
15700         (sinh_test_data): Likewise.
15701         (sqrt_test_data): Likewise.
15702         (tanh_test_data): Likewise.
15703         (tgamma_test_data): Likewise.
15704         (trunc_test_data): Likewise.
15705         (y0_test_data): Likewise.
15706         (y1_test_data): Likewise.
15707         (yn_test_data): Likewise.
15708         (significand_test_data): Likewise.
15710 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15712         * manual/filesys.texi (Storage Allocation): Document that
15713         posix_fallocate emulation fails when fd is open with O_WRONLY.
15715 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #19016]
15718         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15719         allow more cases with X^2 + Y^2 >= 0.5.
15720         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15721         normal element in sum instead of special-casing based on values of
15722         arguments.
15723         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15724         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15725         -1 as normal element in sum instead of special-casing based on
15726         values of arguments.
15727         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15728         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15729         (__x2y2m1): Update comment.
15730         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15731         as normal element in sum instead of special-casing based on values
15732         of arguments.
15733         * math/s_clog.c (__clog): Handle more cases using log1p without
15734         hypot.
15735         * math/s_clog10.c (__clog10): Likewise.
15736         * math/s_clog10f.c (__clog10f): Likewise.
15737         * math/s_clog10l.c (__clog10l): Likewise.
15738         * math/s_clogf.c (__clogf): Likewise.
15739         * math/s_clogl.c (__clogl): Likewise.
15740         * math/auto-libm-test-in: Add more tests of clog and clog10.
15741         * math/auto-libm-test-out: Regenerated.
15742         * sysdeps/i386/fpu/libm-test-ulps: Update.
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745 2015-09-28  Martin Sebor  <msebor@redhat.com>
15747         [BZ #18969]
15748         * string/Makefile (LOCALES): Define.
15749         (gen-locales.mk): Include.
15750         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15751         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15752         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15753         on setlocale failure.
15755 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15757         [BZ #18985]
15758         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15759         (__strftime_internal): Likewise.
15760         * time/tst-strftime.c (do_bz18985): New test.
15761         (do_test): Call it.
15763 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15765         [BZ #18956]
15766         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15767         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15768         extracting high part.
15769         * math/auto-libm-test-in: Add another test of pow.
15770         * math/auto-libm-test-out: Regenerated.
15771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15773 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15775         [BZ #18825]
15776         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15777         New macro.
15778         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15779         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15780         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15781         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15782         DBL_NARROW_EVAL, reloading the PIC register as needed.
15783         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15784         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15785         FLT_NARROW_EVAL.  Use separate return path for case when first
15786         argument is NaN.
15787         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15788         DEFINE_LDBL_MIN.
15789         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15790         PIC register.
15791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15792         math_check_force_underflow_nonneg.
15793         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15794         underflow for subnormal result.
15795         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15796         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15797         math_check_force_underflow_nonneg.
15798         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15799         math_check_force_underflow.
15800         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15801         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15802         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15803         DEFINE_LDBL_MIN.
15804         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15805         * math/auto-libm-test-in: Add more tests of pow.
15806         * math/auto-libm-test-out: Regenerated.
15808 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15810         * nss/bug17079.c (init_test_items): Add diagnostic for
15811         inconsistent entries.
15812         (test_buffer_size): Skip inconsistent entries.
15814 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15816         [BZ #13304]
15817         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15818         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15819         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15821         [BZ #13304]
15822         * sysdeps/microblaze/s_fma.c: New file.
15823         * sysdeps/microblaze/s_fmaf.c: Likewise.
15824         * sysdeps/microblaze/sfp-machine.h: Likewise.
15826 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15828         [BZ #17250]
15829         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15830         member.
15832 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #18803]
15835         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15836         (MO): New macro.
15837         (__ieee754_hypot) [PIC]: Load PIC register.
15838         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15839         DBL_NARROW_EVAL.
15840         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15841         math_check_force_underflow_nonneg in case where result might be
15842         tiny.
15843         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15844         Likewise.
15845         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15846         Likewise.
15847         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15848         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15849         * math/auto-libm-test-in: Add more tests of hypot.
15850         * math/auto-libm-test-out: Regenerated.
15852 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15854         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15856 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15858         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15859         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15860         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15861         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15862         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15863         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15864         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15866         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15867         LOAD_PIC_REG.
15869         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15870         (FLT_CHECK_FORCE_UFLOW): Likewise.
15871         (DBL_CHECK_FORCE_UFLOW): Likewise.
15872         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15873         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15874         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15875         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15876         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15877         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15878         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15879         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15880         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15881         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15882         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15883         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15884         (flt_min): Replace with use of DEFINE_FLT_MIN.
15885         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15886         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15887         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15888         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15889         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15890         (flt_min): Replace with use of DEFINE_FLT_MIN.
15891         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15892         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15893         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15894         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15895         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15896         (flt_min): Replace with use of DEFINE_FLT_MIN.
15897         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15898         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15899         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15900         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15901         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15902         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15903         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15904         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15905         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15906         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15907         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15908         (flt_min): Replace with use of DEFINE_FLT_MIN.
15909         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15910         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15912         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15913         main computation.
15914         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15915         (flt_min): Replace with use of DEFINE_FLT_MIN.
15916         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15917         main computation.
15918         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15919         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15920         (MO): New macro.
15921         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15922         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15923         (flt_min): Replace with use of DEFINE_FLT_MIN.
15924         (MO): New macro.
15925         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15926         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15927         (__log1pl): Use MO.
15929         [BZ #19003]
15930         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15931         $(config-cflags-nofma).
15933 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15935         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15937 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15939         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15940         (TWO127): Likewise.
15942         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15943         (min_of_type): Likewise.
15944         (math_check_force_underflow): Likewise.
15945         (math_check_force_underflow_nonneg): Likewise.
15946         (math_check_force_underflow_complex): Likewise.
15947         * math/e_exp2l.c (__ieee754_exp2l): Use
15948         math_check_force_underflow_nonneg.
15949         * math/k_casinh.c (__kernel_casinh): Likewise.
15950         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15951         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15952         * math/s_catan.c (__catan): Use
15953         math_check_force_underflow_complex.
15954         * math/s_catanf.c (__catanf): Likewise.
15955         * math/s_catanh.c (__catanh): Likewise.
15956         * math/s_catanhf.c (__catanhf): Likewise.
15957         * math/s_catanhl.c (__catanhl): Likewise.
15958         * math/s_catanl.c (__catanl): Likewise.
15959         * math/s_ccosh.c (__ccosh): Likewise.
15960         * math/s_ccoshf.c (__ccoshf): Likewise.
15961         * math/s_ccoshl.c (__ccoshl): Likewise.
15962         * math/s_cexp.c (__cexp): Likewise.
15963         * math/s_cexpf.c (__cexpf): Likewise.
15964         * math/s_cexpl.c (__cexpl): Likewise.
15965         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15966         * math/s_clog10.c (__clog10): Likewise.
15967         * math/s_clog10f.c (__clog10f): Likewise.
15968         * math/s_clog10l.c (__clog10l): Likewise.
15969         * math/s_clogf.c (__clogf): Likewise.
15970         * math/s_clogl.c (__clogl): Likewise.
15971         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15972         * math/s_csinf.c (__csinf): Likewise.
15973         * math/s_csinh.c (__csinh): Likewise.
15974         * math/s_csinhf.c (__csinhf): Likewise.
15975         * math/s_csinhl.c (__csinhl): Likewise.
15976         * math/s_csinl.c (__csinl): Likewise.
15977         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15978         * math/s_csqrtf.c (__csqrtf): Likewise.
15979         * math/s_csqrtl.c (__csqrtl): Likewise.
15980         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15981         * math/s_ctanf.c (__ctanf): Likewise.
15982         * math/s_ctanh.c (__ctanh): Likewise.
15983         * math/s_ctanhf.c (__ctanhf): Likewise.
15984         * math/s_ctanhl.c (__ctanhl): Likewise.
15985         * math/s_ctanl.c (__ctanl): Likewise.
15986         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15987         instead of volatile.
15988         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15989         math_check_force_underflow.
15990         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15991         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15992         volatile when forcing underflow.
15993         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15994         math_check_force_underflow_nonneg.
15995         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15996         Likewise.
15997         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15998         math_check_force_underflow.
15999         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16000         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16001         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16002         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16003         math_check_force_underflow_nonneg.
16004         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16005         math_check_force_underflow.
16006         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16008         instead of volatile.
16009         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16010         math_check_force_underflow.
16011         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16013         math_check_force_underflow_nonneg.
16014         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16015         math_check_force_underflow.
16016         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16017         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16018         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16019         math_check_force_underflow_nonneg.
16020         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16021         Likewise.
16022         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16023         math_check_force_underflow.
16024         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16025         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16026         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16027         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16028         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16029         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16030         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16031         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16032         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16033         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16034         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16035         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16036         Likewise.
16037         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16038         math_check_force_underflow_nonneg.
16039         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16040         Likewise.
16041         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16042         math_check_force_underflow.
16043         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16044         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16045         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16046         Likewise.
16047         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16048         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16049         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16051         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16052         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16054         instead of volatile.
16055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16056         math_check_force_underflow.
16057         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16058         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16059         math_check_force_underflow.
16060         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16061         Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16063         Use math_check_force_underflow_nonneg.
16064         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16065         math_check_force_underflow.
16066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16067         Likewise.
16068         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16069         Likewise.
16070         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16073         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16075         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16076         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16077         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16078         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16079         math_check_force_underflow_nonneg.
16080         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16081         math_check_force_underflow.
16082         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16083         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16084         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16085         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16086         math_check_force_underflow_nonneg.
16087         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16088         math_check_force_underflow.
16089         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16091         instead of volatile.
16092         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16093         math_check_force_underflow.
16095         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16096         * stdlib/strtod_l.c: Include <math_private.h>.
16097         (overflow_value): Use math_narrow_eval.
16098         (underflow_value): Likewise.
16099         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16100         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16101         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16102         (__ieee754_gamma_r): Likewise.
16103         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16104         Likewise.
16105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16106         Likewise.
16107         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16108         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16109         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16110         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16111         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16112         (__ieee754_gammaf_r): Likewise.
16113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16114         Likewise.
16115         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16116         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16117         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16118         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16119         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16120         volatile.
16121         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16122         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16123         math_narrow_eval.
16124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16125         Likewise.
16126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16127         Likewise.
16128         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16129         Likewise.
16130         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16131         volatile.
16132         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16133         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16134         math_narrow_eval.
16135         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16136         Likewise.
16137         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16138         Likewise.
16140 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16142         * nptl/Versions: Remove ignored symbols.
16144 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16146         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16147         * nss/Makefile (tests): Update.
16149 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16151         * nss/bug18287.c: New file.
16152         * nss/Makefile (tests): Add bug18287.
16154 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16156         * mach/Versions (__mach_host_self_): Add symbol.
16158 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16160         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16161         vm_page_size.
16163 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16165         Really fix sysdeps/i386/fpu/s_scalbn.S build
16167         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16168         (libc: GLIBC_2_22): Remove unused version set.
16170 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16172         * config.make.in (enable-timezone-tools): New variable.
16173         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16174         (enable_timezone_tools): Export to generated files.
16175         * configure: Regenerate.
16176         * INSTALL: Regenerate.
16177         * manual/install.texi (--disable-timezone-tools): Document new flag.
16178         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16179         ifeq ($(enable-timezone-tools),yes) check.
16181 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16183         * timezone/Makefile: Revert previous change.
16185         [BZ #18980]
16186         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16187         (DEFINE_DBL_MIN): Likewise.
16188         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16189         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16190         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16191         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16192         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16193         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16194         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16195         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16196         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16197         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16198         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16199         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16200         (flt_min): Replace with use of DEFINE_FLT_MIN.
16201         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16202         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16203         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16204         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16205         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16206         (flt_min): Replace with use of DEFINE_FLT_MIN.
16207         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16208         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16209         (flt_min): Replace with use of DEFINE_FLT_MIN.
16210         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16211         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16212         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16213         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16214         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16215         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16216         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16217         (__ieee754_pow): Use DBL_NARROW_EVAL.
16218         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16219         (__ieee754_powf): Use FLT_NARROW_EVAL.
16220         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16221         (__ieee754_expf_sse2): Convert double-precision result to single
16222         precision.
16223         * sysdeps/i386/fpu/libm-test-ulps: Update.
16225 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16227         * timezone/Makefile: Ignore unused variable errors due to private.h
16228         (time_t_min) and (time_t_max).
16229         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16230         Likewise.
16232 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16234         [BZ #18981]
16235         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16236         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16237         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16238         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16239         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16240         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16241         (__scalbn): Use DBL_NARROW_EVAL.
16242         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16243         (__scalbnf): Use FLT_NARROW_EVAL.
16245 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16247         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16248         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16249         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16250         * stdio-common/printf_fp.c (___printf_fp):
16251         Use signbit to get the sign. Use isinf macro to allow inlining.
16252         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16253         * stdio-common/printf_size.c (__printf_size): Likewise.
16255 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16257         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16259 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16261         [BZ #18980]
16262         * sysdeps/generic/math_private.h: Include <float.h>.
16263         (math_narrow_eval): New macro.
16264         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16265         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16266         math_narrow_eval on overflowing return value.
16267         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16268         Likewise.
16269         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16270         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16272         Likewise.
16273         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16275 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16277         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16278         * math/Makefile: Remove isinf_ns.c.
16279         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16280         * math/multc3.c (__multc3): Likewise.
16281         * math/s_casin.c (__casin): Likewise.
16282         * math/s_casinf.c (__casinf): Likewise.
16283         * math/s_casinl.c (__casinl): Likewise.
16284         * math/s_cproj.c (__cproj): Likewise.
16285         * math/s_cprojf.c (__cprojf): Likewise.
16286         * math/s_cprojl.c (__cprofl): Likewise.
16287         * math/s_ctan.c (__ctan): Likewise.
16288         * math/s_ctanf.c (__ctanf): Likewise.
16289         * math/s_ctanh.c (__ctanh): Likewise.
16290         * math/s_ctanhf.c (__ctanhf): Likewise.
16291         * math/s_ctanhl.c (__ctanhl): Likewise.
16292         * math/s_ctanl.c (__ctanl): Likewise.
16293         * math/w_fmod.c (__fmod): Likewise.
16294         * math/w_fmodf.c (__fmodf): Likewise.
16295         * math/w_fmodl.c (_fmodl): Likewise.
16296         * math/w_remainder.c (__remainder): Likewise.
16297         * math/w_remainderf.c (__remainderf): Likewise.
16298         * math/w_remainderl.c (__remainderl): Likewise.
16299         * math/w_scalb.c (__scalb): Likewise.
16300         * math/w_scalbf.c (__scalbf): Likewise.
16301         * math/w_scalbl.c (__scalbl): Likewise.
16302         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16303         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16304         with isinf.
16305         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16306         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16307         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16308         __isinf_nsf with isinf.
16309         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16310         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16311         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16312         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16313         with isinf.
16314         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16315         __isinf_nsl with isinf.
16316         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16317         with isinf.
16318         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16319         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16320         __isinf_nsl with isinf.
16321         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16322         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16323         with isinf.
16325 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16327         * resolv/base64.c (rcsid): Remove unused static.
16328         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16329         static.  (tqpi1): Likewise.
16330         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16331         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16332         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16333         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16334         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16335         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16336         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16337         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16338         Likewise.
16340 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16342         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16343         <nptl/pthreadP.h>.
16344         (_longjmp_unwind): Use __libc_ptf_call.
16345         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16347 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16349         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16350         * sysdeps/arm/__longjmp.S: Likewise.
16352 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16354         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16355         Use __builtin_signbit.
16356         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16357         Use __builtin_signbitf.
16358         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16359         Use __builtin_signbitl.
16360         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16361         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16363 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16365         [BZ #15367]
16366         [BZ #17441]
16368         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16369         * math/math.h (fpclassify): Use __builtin_fpclassify when
16370         available.  (signbit): Use __builtin_signbit(f/l).
16371         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16372         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16373         (isinf): Use __builtin_isinf_sign.
16375 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16377         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16378         * benchtests/bench-math-inlines.c: New benchmark.
16379         * benchtests/bench-util.h: New file.
16380         * benchtests/bench-util.c: New file.
16381         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16383 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16385         * elf/tst-dlmopen1.c: Define TEST_SO.
16386         (do_test): Use TEST_SO.
16388         * elf/dl-load.c: Include libc-internal.h.
16389         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16391 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16393         [BZ #17887]
16394         * time/strptime_l.c (__strptime_internal): Make %z accept
16395         [+-]HH:MM time zones.
16397 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16399         [BZ #17886]
16400         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16401         valid time zone.
16403 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16405         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16406         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16408         (__ASSUME_FDATASYNC): Delete.
16410 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16412         * conform/linknamespace.pl: Require weak undefined symbols to be
16413         in the standard namespace.
16414         (%strong_syms): Rename to %seen_syms.
16415         (%strong_seen): Rename to %seen_where.
16417 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16419         [BZ #18970]
16420         * misc/error.c (error): Replace pthread_setcancelstate with
16421         __pthread_setcancelstate.
16422         (error_at_line): Likewise.
16423         * posix/wordexp.c (parse_comm): Likewise.
16424         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16425         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16426         (__pthread_setcancelstate): This.
16427         (pthread_setcancelstate): Add an alias.
16428         * nptl/nptl-init.c (pthread_functions): Replace
16429         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16430         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16431         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16432         hidden_proto.
16433         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16434         it with hidden_def.
16435         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16436         (pthread_setcancelstate): Renamed to ...
16437         (__pthread_setcancelstate): This.
16438         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16439         __libc_ptf_call with __pthread_setcancelstate.
16441 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16442             Andreas Schwab  <schwab@suse.de>
16444         [BZ #17118]
16445         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16446         result when imaginary part of argument is infinite using sine and
16447         cosine.
16448         * math/s_ctanf.c (__ctanf): Likewise.
16449         * math/s_ctanl.c (__ctanl): Likewise.
16450         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16451         of result when real part of argument is infinite using sine and
16452         cosine.
16453         * math/s_ctanhf.c (__ctanhf): Likewise.
16454         * math/s_ctanhl.c (__ctanhl): Likewise.
16455         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16456         (ctanh_test_data): Add more tests of ctanh.
16458 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16460         [BZ #15384]
16461         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16462         bit-mask as in subtraction.
16463         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16464         Likewise.
16465         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16466         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16467         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16469         [BZ #18951]
16470         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16471         underflow exception for small results.
16472         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16473         Likewise.
16474         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16475         Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16477         Likewise.
16478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16479         Likewise.
16480         * math/auto-libm-test-in: Add more tests of tgamma.
16481         * math/auto-libm-test-out: Regenerated.
16483 2015-09-17  Andreas Schwab  <schwab@suse.de>
16485         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16487 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16489         [BZ #18977]
16490         * math/bits/mathcalls.h
16491         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16492         not declare.
16493         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16494         Likewise.
16495         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16496         Likewise.
16497         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16498         Likewise.
16499         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16500         Likewise.
16501         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16502         Likewise.
16503         * conform/data/math.h-data
16504         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16505         function.
16506         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16507         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16509         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16510         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16511         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16512         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16513         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16514         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16515         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16516         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16518         [BZ #6803]
16519         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16520         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16521         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16522         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16523         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16524         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16525         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16526         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16527         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16529         Likewise.
16530         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16531         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16532         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16533         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16534         long_double_symbol calls.
16535         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16536         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16537         strong alias of __ldexpl.
16538         (scalbnl): Define using long_double_symbol.
16539         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16540         Remove alias.
16541         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16542         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16543         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16544         (scalbln_test_data): Add more errno expectations.
16546 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16548         Cache the host port like we cache the task port.  This way we do not
16549         need to call the kernel just to get the port.  Furthermore, we no
16550         longer increase the reference count on every invocation of
16551         `mach_host_self'.
16553         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16554         Protect declarations against the macro expansion.
16555         * mach/mach_init.c (__mach_host_self_): New variable.
16556         (mach_init): Initialize `__mach_host_self_'.
16557         * mach/mach_init.h (__mach_host_self_): New declaration.
16558         (__mach_host_self, mach_host_self): New macros.
16559         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16560         Release reference.
16562 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16564         [BZ #4404]
16565         * po/de.po: Update from Translation Project.
16567         [BZ #16415]
16568         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16569         (__expm1l): Remove code to handle positive infinity and overflow.
16570         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16571         variable.
16572         (__expm1l): Remove code to handle positive infinity and overflow.
16574 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16575             Paul Pluzhnikov  <ppluzhnikov@google.com>
16577         [BZ #18872]
16578         * stdio-common/Makefile (tst-printf-bz18872): New test.
16579         (tst-printf-bz18872-mem.out): Likewise.
16580         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16581         * stdio-common/vfprintf.c: Fix memory leaks.
16583 2015-09-16  Andreas Schwab  <schwab@suse.de>
16585         [BZ #17244]
16586         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16587         Remove extra va_start/va_end calls.
16589         [BZ #17243]
16590         * posix/execl.c (execl): Add missing va_end.
16591         * posix/execle.c (execle): Likewise.
16592         * posix/execlp.c (execlp): Likewise.
16594 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16596         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16597         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16599 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16601         [BZ #18967]
16602         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16603         undefine around includes of <bits/mathcalls.h>.
16604         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16605         not declare function.
16606         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16607         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16608         (scalb): Likewise.
16609         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16610         not define macro.
16611         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16612         variable.
16613         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16614         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16615         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16617         [BZ #18857]
16618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16619         return non-finite argument without doing ordered comparisons on
16620         it.
16622         [BZ #16296]
16623         * math/fenv.h (fegetround): Use __attribute_pure__.
16624         * include/fenv.h (__fegetround): Likewise.
16626         [BZ #18595]
16627         * math/s_ctan.c (__ctan): Force underflow exception for results
16628         whose real or imaginary part has small absolute value.
16629         * math/s_ctanf.c (__ctanf): Likewise.
16630         * math/s_ctanh.c (__ctanh): Likewise.
16631         * math/s_ctanhf.c (__ctanhf): Likewise.
16632         * math/s_ctanhl.c (__ctanhl): Likewise.
16633         * math/s_ctanl.c (__ctanl): Likewise.
16634         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16635         and ctanh.  Add more tests of ctan and ctanh.
16637         [BZ #15918]
16638         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16639         handling of cases where one argument is an infinity.
16641         [BZ #18875]
16642         [BZ #18966]
16643         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16644         (MO): New macro.
16645         (__ieee754_exp10): For small results, force underflow exception
16646         and remove excess range and precision from return value.
16647         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16648         (MO): New macro.
16649         (__ieee754_exp10f): For small results, force underflow exception
16650         and remove excess range and precision from return value.
16651         * math/auto-libm-test-in: Add more tests of exp10.
16652         * math/auto-libm-test-out: Regenerated.
16654 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16656         [BZ #18875]
16657         [BZ #18961]
16658         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16659         (MO): New macro.
16660         (__ieee754_exp): For small results, force underflow exception and
16661         remove excess range and precision from return value.
16662         (__exp_finite): Likewise.
16663         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16664         (MO): New macro.
16665         (__ieee754_expf): For small results, force underflow exception and
16666         remove excess range and precision from return value.
16667         (__expf_finite): Likewise.
16668         * math/auto-libm-test-in: Add more tests of exp.
16669         * math/auto-libm-test-out: Regenerated.
16671         [BZ #16521]
16672         [BZ #18875]
16673         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16674         small results.
16675         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16676         (MO): New macro.
16677         (__ieee754_exp2): For small results, force underflow exception and
16678         remove excess range and precision from return value.
16679         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16680         (MO): New macro.
16681         (__ieee754_exp2f): For small results, force underflow exception
16682         and remove excess range and precision from return value.
16683         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16684         (MO): New macro.
16685         (__ieee754_exp2l): Force underflow exception for small results.
16686         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16687         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16688         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16689         (MO): New macro.
16690         (__ieee754_exp2l): Force underflow exception for small results.
16691         * math/auto-libm-test-in: Add more tests or exp2.
16692         * math/auto-libm-test-out: Regenerated.
16694 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16696         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16698         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16699         /dev/null.
16701 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16703         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16704         io fs process)): Drop spurious backslash.
16706 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16709         Use sysinfo system call instead of parsing /proc/meminfo.
16710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16711         Likewise.
16713 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16715         [BZ #16985]
16716         * programs/localedef.c (main): Display argv[remaining] when
16717         output_path is NULL.
16719 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16721         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16722         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16723         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16724         tanh.
16725         * math/auto-libm-test-out: Regenerated.
16726         * sysdeps/i386/fpu/libm-test-ulps: Update.
16727         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16728         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16731 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16733         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16734         Use 'override' keyword to freeze the value here, preventing
16735         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16737 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #14912]
16740         * sysdeps/aarch64/bits/atomic.h: Move to ...
16741         * sysdeps/aarch64/atomic-machine.h: ...here.
16742         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16743         _AARCH64_ATOMIC_MACHINE_H.
16744         * sysdeps/alpha/bits/atomic.h: Move to ...
16745         * sysdeps/alpha/atomic-machine.h: ...here.
16746         * sysdeps/arm/bits/atomic.h: Move to ...
16747         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16748         * bits/atomic.h: Move to ...
16749         * sysdeps/generic/atomic-machine.h: ...here.
16750         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16751         * sysdeps/i386/bits/atomic.h: Move to ...
16752         * sysdeps/i386/atomic-machine.h: ...here.
16753         * sysdeps/ia64/bits/atomic.h: Move to ...
16754         * sysdeps/ia64/atomic-machine.h: ...here.
16755         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16756         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16757         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16758         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16759         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16760         * sysdeps/microblaze/bits/atomic.h: Move to ...
16761         * sysdeps/microblaze/atomic-machine.h: ...here.
16762         * sysdeps/mips/bits/atomic.h: Move to ...
16763         * sysdeps/mips/atomic-machine.h: ...here.
16764         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16765         * sysdeps/powerpc/bits/atomic.h: Move to ...
16766         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16767         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16768         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16769         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16770         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16771         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16772         <atomic-machine.h> instead of <bits/atomic.h>.
16773         * sysdeps/s390/bits/atomic.h: Move to ...
16774         * sysdeps/s390/atomic-machine.h: ...here.
16775         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16776         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16777         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16778         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16779         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16780         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16781         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16782         * sysdeps/tile/bits/atomic.h: Move to ...
16783         * sysdeps/tile/atomic-machine.h: ...here.
16784         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16785         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16786         <sysdeps/tile/atomic-machine.h> instead of
16787         <sysdeps/tile/bits/atomic.h>.
16788         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16789         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16790         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16791         <sysdeps/tile/atomic-machine.h> instead of
16792         <sysdeps/tile/bits/atomic.h>.
16793         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16794         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16795         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16796         <sysdeps/arm/atomic-machine.h> instead of
16797         <sysdeps/arm/bits/atomic.h>.
16798         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16799         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16800         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16801         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16802         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16803         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16804         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16805         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16806         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16807         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16808         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16809         * sysdeps/x86_64/bits/atomic.h: Move to ...
16810         * sysdeps/x86_64/atomic-machine.h: ...here.
16811         * include/atomic.h: Include <atomic-machine.h> instead of
16812         <bits/atomic.h>.
16814         * sysdeps/mips/mips32/libm-test-ulps: Update.
16815         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16817         [BZ #18952]
16818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16819         not convert non-integer negative arguments to int to determine the
16820         value of signgam.
16821         * math/auto-libm-test-in: Add more tests of lgamma.
16822         * math/auto-libm-test-out: Regenerated.
16824         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16825         cosh, csqrt, erfc, expm1 and lgamma.
16826         * math/auto-libm-test-out: Regenerated.
16827         * sysdeps/i386/fpu/libm-test-ulps: Update.
16828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16830 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16832         [BZ #2542]
16833         [BZ #2543]
16834         [BZ #2558]
16835         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16836         __lgamma_neg for arguments from -28.0 to -2.0.
16837         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16838         __lgamma_negf for arguments from -15.0 to -2.0.
16839         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16840         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16841         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16842         Call __lgamma_negl for arguments from -33.0 to -2.0.
16843         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16844         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16845         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16846         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16847         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16848         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16849         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16850         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16851         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16852         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16853         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16854         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16855         (__lgamma_neg): Likewise.
16856         (__lgamma_negl): Likewise.
16857         (__lgamma_product): Likewise.
16858         (__lgamma_productl): Likewise.
16859         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16860         * math/auto-libm-test-in: Add more tests of lgamma.
16861         * math/auto-libm-test-out: Regenerated.
16862         * sysdeps/i386/fpu/libm-test-ulps: Update.
16863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16865 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16867         [BZ #18675]
16868         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16870 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16872         [BZ #14912]
16873         * bits/libc-lock.h: Move to ...
16874         * sysdeps/generic/libc-lock.h: ...here.
16875         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16876         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16877         * sysdeps/mach/hurd/libc-lock.h: ...here.
16878         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16879         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16880         * sysdeps/mach/bits/libc-lock.h: Move to ...
16881         * sysdeps/mach/libc-lock.h: ...here.
16882         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16883         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16884         * sysdeps/nptl/libc-lock.h: ...here.
16885         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16886         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16887         * sysdeps/nptl/libc-lockP.h: ...here.
16888         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16889         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16890         <bits/libc-lock.h>.
16891         * dirent/scandir-tail.c: Likewise.
16892         * dlfcn/dlerror.c: Likewise.
16893         * elf/dl-close.c: Likewise.
16894         * elf/dl-iteratephdr.c: Likewise.
16895         * elf/dl-lookup.c: Likewise.
16896         * elf/dl-open.c: Likewise.
16897         * elf/dl-support.c: Likewise.
16898         * elf/dl-writev.h: Likewise.
16899         * elf/rtld.c: Likewise.
16900         * grp/fgetgrent.c: Likewise.
16901         * gshadow/fgetsgent.c: Likewise.
16902         * gshadow/sgetsgent.c: Likewise.
16903         * iconv/gconv_conf.c: Likewise.
16904         * iconv/gconv_db.c: Likewise.
16905         * iconv/gconv_dl.c: Likewise.
16906         * iconv/gconv_int.h: Likewise.
16907         * iconv/gconv_trans.c: Likewise.
16908         * include/link.h: Likewise.
16909         * inet/getnameinfo.c: Likewise.
16910         * inet/getnetgrent.c: Likewise.
16911         * inet/getnetgrent_r.c: Likewise.
16912         * intl/bindtextdom.c: Likewise.
16913         * intl/dcigettext.c: Likewise.
16914         * intl/finddomain.c: Likewise.
16915         * intl/gettextP.h: Likewise.
16916         * intl/loadmsgcat.c: Likewise.
16917         * intl/localealias.c: Likewise.
16918         * intl/textdomain.c: Likewise.
16919         * libidn/idn-stub.c: Likewise.
16920         * libio/libioP.h: Likewise.
16921         * locale/duplocale.c: Likewise.
16922         * locale/freelocale.c: Likewise.
16923         * locale/newlocale.c: Likewise.
16924         * locale/setlocale.c: Likewise.
16925         * login/getutent_r.c: Likewise.
16926         * login/getutid_r.c: Likewise.
16927         * login/getutline_r.c: Likewise.
16928         * login/utmp-private.h: Likewise.
16929         * login/utmpname.c: Likewise.
16930         * malloc/mtrace.c: Likewise.
16931         * misc/efgcvt.c: Likewise.
16932         * misc/error.c: Likewise.
16933         * misc/fstab.c: Likewise.
16934         * misc/getpass.c: Likewise.
16935         * misc/mntent.c: Likewise.
16936         * misc/syslog.c: Likewise.
16937         * nis/nis_call.c: Likewise.
16938         * nis/nis_callback.c: Likewise.
16939         * nis/nss-default.c: Likewise.
16940         * nis/nss_compat/compat-grp.c: Likewise.
16941         * nis/nss_compat/compat-initgroups.c: Likewise.
16942         * nis/nss_compat/compat-pwd.c: Likewise.
16943         * nis/nss_compat/compat-spwd.c: Likewise.
16944         * nis/nss_nis/nis-alias.c: Likewise.
16945         * nis/nss_nis/nis-ethers.c: Likewise.
16946         * nis/nss_nis/nis-grp.c: Likewise.
16947         * nis/nss_nis/nis-hosts.c: Likewise.
16948         * nis/nss_nis/nis-network.c: Likewise.
16949         * nis/nss_nis/nis-proto.c: Likewise.
16950         * nis/nss_nis/nis-pwd.c: Likewise.
16951         * nis/nss_nis/nis-rpc.c: Likewise.
16952         * nis/nss_nis/nis-service.c: Likewise.
16953         * nis/nss_nis/nis-spwd.c: Likewise.
16954         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16955         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16956         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16957         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16958         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16959         * nis/nss_nisplus/nisplus-network.c: Likewise.
16960         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16961         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16962         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16963         * nis/nss_nisplus/nisplus-service.c: Likewise.
16964         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16965         * nis/ypclnt.c: Likewise.
16966         * nptl/libc_pthread_init.c: Likewise.
16967         * nss/getXXbyYY.c: Likewise.
16968         * nss/getXXent.c: Likewise.
16969         * nss/getXXent_r.c: Likewise.
16970         * nss/nss_db/db-XXX.c: Likewise.
16971         * nss/nss_db/db-netgrp.c: Likewise.
16972         * nss/nss_db/nss_db.h: Likewise.
16973         * nss/nss_files/files-XXX.c: Likewise.
16974         * nss/nss_files/files-alias.c: Likewise.
16975         * nss/nsswitch.c: Likewise.
16976         * posix/regex_internal.h: Likewise.
16977         * posix/wordexp.c: Likewise.
16978         * pwd/fgetpwent.c: Likewise.
16979         * resolv/res_hconf.c: Likewise.
16980         * resolv/res_libc.c: Likewise.
16981         * shadow/fgetspent.c: Likewise.
16982         * shadow/lckpwdf.c: Likewise.
16983         * shadow/sgetspent.c: Likewise.
16984         * socket/opensock.c: Likewise.
16985         * stdio-common/reg-modifier.c: Likewise.
16986         * stdio-common/reg-printf.c: Likewise.
16987         * stdio-common/reg-type.c: Likewise.
16988         * stdio-common/vfprintf.c: Likewise.
16989         * stdio-common/vfscanf.c: Likewise.
16990         * stdlib/abort.c: Likewise.
16991         * stdlib/cxa_atexit.c: Likewise.
16992         * stdlib/fmtmsg.c: Likewise.
16993         * stdlib/random.c: Likewise.
16994         * stdlib/setenv.c: Likewise.
16995         * string/strsignal.c: Likewise.
16996         * sunrpc/auth_none.c: Likewise.
16997         * sunrpc/bindrsvprt.c: Likewise.
16998         * sunrpc/create_xid.c: Likewise.
16999         * sunrpc/key_call.c: Likewise.
17000         * sunrpc/rpc_thread.c: Likewise.
17001         * sysdeps/arm/backtrace.c: Likewise.
17002         * sysdeps/generic/ldsodefs.h: Likewise.
17003         * sysdeps/generic/stdio-lock.h: Likewise.
17004         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17005         * sysdeps/i386/backtrace.c: Likewise.
17006         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17007         * sysdeps/m68k/backtrace.c: Likewise.
17008         * sysdeps/mach/hurd/cthreads.c: Likewise.
17009         * sysdeps/mach/hurd/dirstream.h: Likewise.
17010         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17011         * sysdeps/nptl/malloc-machine.h: Likewise.
17012         * sysdeps/nptl/stdio-lock.h: Likewise.
17013         * sysdeps/posix/dirstream.h: Likewise.
17014         * sysdeps/posix/getaddrinfo.c: Likewise.
17015         * sysdeps/posix/system.c: Likewise.
17016         * sysdeps/pthread/aio_suspend.c: Likewise.
17017         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17018         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17019         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17020         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17021         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17022         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17023         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17024         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17025         * sysdeps/unix/sysv/linux/system.c: Likewise.
17026         * sysdeps/x86_64/backtrace.c: Likewise.
17027         * time/alt_digit.c: Likewise.
17028         * time/era.c: Likewise.
17029         * time/tzset.c: Likewise.
17030         * wcsmbs/wcsmbsload.c: Likewise.
17031         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17032         instead of <bits/libc-lock.h> in comment.
17034 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17036         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17037         Only use .set mips2 if the current ISA is below mips2.
17038         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17039         Likewise.
17040         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17041         mips32r2 if the current ISA is below mips32r2.
17042         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17043         (TLS_IE): Updated to use the TLD_RDHWR macro.
17044         (TLS_LE): Likewise.
17045         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17046         __ASSEMBLER__ condition.
17048 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17050         Fix parallel build of before-compile targets.
17052         * sysdeps/mach/Makefile ($(patsubst
17053         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17054         mach-before-compile target.
17055         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17056         io fs process)): Move rule to dedicated hurd-before-compile target.
17058 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17060         Fix rules generating headers in hurd/ and mach/ when initial make call
17061         has subdir= explicitly set.
17063         * sysdeps/mach/Makefile ($(patsubst
17064         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17065         calling $(MAKE).
17066         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17067         io fs process)): Force subdir to hurd when calling $(MAKE).
17068         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17069         subdir to mach when calling $(MAKE).
17071 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17073         Check sysheaders when looking for Mach and Hurd headers
17075         * sysdeps/mach/configure.ac: Add sysheaders check.
17076         * sysdeps/mach/configure: Regenerate.
17077         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17078         * sysdeps/mach/hurd/configure: Regenerate.
17080 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17082         [BZ #18921]
17083         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17084         Fix inverted sense of test of 'o_directory_works' value.
17085         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17086         Bernhard Voelker <mail@bernhard-voelker.de>.
17088 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17090         [BZ #14912]
17091         * bits/linkmap.h: Move to ...
17092         * sysdeps/generic/linkmap.h: ...here.
17093         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17094         * sysdeps/aarch64/linkmap.h: ...here.
17095         * sysdeps/arm/bits/linkmap.h: Move to ...
17096         * sysdeps/arm/linkmap.h: ...here.
17097         * sysdeps/hppa/bits/linkmap.h: Move to ...
17098         * sysdeps/hppa/linkmap.h: ...here.
17099         * sysdeps/ia64/bits/linkmap.h: Move to ...
17100         * sysdeps/ia64/linkmap.h: ...here.
17101         * sysdeps/mips/bits/linkmap.h: Move to ...
17102         * sysdeps/mips/linkmap.h: ...here.
17103         * sysdeps/s390/bits/linkmap.h: Move to ...
17104         * sysdeps/s390/linkmap.h: ...here.
17105         * sysdeps/sh/bits/linkmap.h: Move to ...
17106         * sysdeps/sh/linkmap.h: ...here.
17107         * sysdeps/x86/bits/linkmap.h: Move to ...
17108         * sysdeps/x86/linkmap.h: ...here.
17109         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17111 2015-09-04  Andreas Schwab  <schwab@suse.de>
17113         [BZ #18635]
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17115         (__makecontext): Terminate FDE before return label.
17116         (__novec_makecontext): Likewise.
17118 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17120         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17121         first member of struct sv in syscall macro.
17123 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17125         [BZ #14912]
17126         * bits/stdio-lock.h: Move to ...
17127         * sysdeps/generic/stdio-lock.h: ...here.
17128         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17129         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17130         * sysdeps/nptl/stdio-lock.h: ...here.
17131         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17132         * include/libio.h: Include <stdio-lock.h> instead of
17133         <bits/stdio-lock.h>.
17134         * sysdeps/nptl/fork.c: Likewise.
17135         * sysdeps/pthread/flockfile.c: Likewise.
17136         * sysdeps/pthread/ftrylockfile.c: Likewise.
17137         * sysdeps/pthread/funlockfile.c: Likewise.
17139         [BZ #14912]
17140         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17141         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17142         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17143         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17144         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17145         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17146         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17148 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17150         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17151         (test-xfail-tst-protected1b): New variable.
17153 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #14912]
17156         * bits/libc-tsd.h: Move to ...
17157         * sysdeps/generic/libc-tsd.h: ...here.
17158         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17159         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17160         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17161         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17162         * include/ctype.h: Include <libc-tsd.h> instead of
17163         <bits/libc-tsd.h>.
17164         * include/rpc/rpc.h: Likewise.
17165         * locale/localeinfo.h: Likewise.
17166         * sunrpc/rpc_thread.c: Likewise.
17167         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17168         * sysdeps/nptl/malloc-machine.h: Likewise.
17170         * Makefile (headers): Remove bits/libc-lock.h.
17171         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17173         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17174         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17175         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17176         <bits/stdio-lock.h>.
17177         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17178         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17180 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17182         [BZ #18757]
17183         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17184         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17185         BZ #18757.
17187 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17189         * malloc/mtrace.pl: Filter out NULL entries.
17191 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17193         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17194         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17195         macro.
17197         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17198         (TCP_CC_INFO): Likewise.
17199         (TCP_SAVE_SYN): Likewise.
17200         (TCP_SAVED_SYN): Likewise.
17202 2015-08-31  Brett Neumeier <brett@neumeier.us>
17204         [BZ #18870]
17205         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17207 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17209         [BZ #18873]
17210         Fix broken overflow check in posix_fallocate
17211         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17212         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17213         Fix parenthesization typo.
17215 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17217         [BZ #18887]
17218         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17219         tst-mntent-blank-passno.
17220         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17221         * misc/tst-mntent-blank-corrupt.c: New test.
17222         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17223         * misc/tst-mntent.c (do_test): ... here.
17225 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17227         [BZ #4404]
17228         * po/de.po: Fix SIGALRM typo.
17230 2015-08-28  James Perkins  <james@loowit.net>
17232         * time/tst-strptime2.c (tests): Replace short list of test
17233         strings for strptime %z specifier with code which exhaustively
17234         tests every combination of sign and 0 to 5 digits. Tests for
17235         rejection of invalid strings.
17237 2015-08-28  James Perkins  <james@loowit.net>
17239         [BZ #16141]
17240         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17241         calculation, removing incorrect decimal time rounding, so that
17242         all minute values result in a valid seconds value.
17243         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17244         offset range limits to UTC-99:59 through UTC+99:59 to parse
17245         current and historical use cases.
17246         * time/tst-strptime2.c (tests): Modify and add tests for the
17247         strptime %z input field descriptor, specifically conversion of
17248         minutes to seconds and validating an offset range of -9959 to
17249         +9959.
17251 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17252             Dmitry V. Levin  <ldv@altlinux.org>
17254         [BZ #18877]
17255         * posix/Makefile (tests): Add tst-mmap-offset.
17256         * posix/tst-mmap.c: New file.
17257         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17258         offset calculation for negative values.
17260 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17262         * sysdeps/i386/init-arch.h: New file.
17263         * sysdeps/i386/i586/init-arch.h: Likewise.
17264         * sysdeps/i386/i686/init-arch.h: Likewise.
17265         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17266         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17267         * sysdeps/x86/cpu-features.h (bit_I586): New.
17268         (bit_I686): Likewise.
17269         (bit_CX8): Likewise.
17270         (bit_CMOV): Likewise.
17271         (index_CX8): Likewise.
17272         (index_CMOV): Likewise.
17273         (index_I586): Likewise.
17274         (index_I686): Likewise.
17275         (reg_CX8): Likewise.
17276         (reg_CMOV): Likewise.
17277         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17278         available at compile-time.
17279         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17280         available at compile-time.
17281         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17282         (USE_I686): Likewise.
17284 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17286         * sysdeps/i386/bcopy.S: New file.
17287         * sysdeps/i386/bzero.S: Likewise.
17288         * sysdeps/i386/memcpy.S: Likewise.
17289         * sysdeps/i386/memmove.S: Likewise.
17290         * sysdeps/i386/mempcpy.S: Likewise.
17291         * sysdeps/i386/memset.S: Likewise.
17292         * sysdeps/i386/bzero.c: Removed.
17293         * sysdeps/i386/memset.c: Likewise.
17294         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17295         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17296         * sysdeps/i386/i586/memset_chk.S: Likewise.
17297         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17298         * sysdeps/i386/memcpy_chk.S: Here.
17299         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17300         * sysdeps/i386/memmove_chk.S: Here.
17301         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17302         * sysdeps/i386/mempcpy_chk.S: Likewise.
17303         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17304         * sysdeps/i386/memset_chk.S: Likewise.
17306 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17308         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17309         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17310         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17311         * soft-fp/fmadf4.c: Ditto.
17312         * soft-fp/fmatf4.c: Ditto.
17314 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17316         * sysdeps/i386/i586/Implies: Removed.
17317         * sysdeps/i386/i686/Implies: Likewise.
17319 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17321         * sysdeps/i386/i486/strlen.S: Moved to ...
17322         * sysdeps/i386/strlen.S: Here.
17324 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17326         * sysdeps/i386/i486/strcat.S: Moved to ...
17327         * sysdeps/i386/strcat.S: Here.
17329 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17331         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17332         * sysdeps/i386/pthread_spin_trylock.S: Here.
17333         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17334         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17336 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17338         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17339         * sysdeps/i386/string-inlines.c: Here.
17341 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17343         * sysdeps/i386/i486/htonl.S: Moved ...
17344         * sysdeps/i386/htonl.S: here.
17346 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17348         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17349         * sysdeps/i386/bits/atomic.h: Here.
17351 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17353         * sysdeps/i386/i486/Versions: Removed.
17355 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17357         [BZ #2898]
17358         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17359         Based on patch by Aurelien Jarno.
17361 2015-08-26  Stan Shebs  <stanshebs@google.com>
17363         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17364         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17366 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17368         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17369         * sysdeps/powerpc/dl-procinfo.c:
17370         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17371         feature so it shows when LD_SHOW_AUXV=1.
17373 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17375         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17376         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17377         definition.  ISA 2.07B no longer requires full sync.
17379 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17381         [BZ #18863]
17382         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17383         (si_call_addr): Define.
17384         (si_syscall): Define.
17385         (si_arch): Define.
17387 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17389         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17390         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17391         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17392         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17393         (__memset_zero_constant_len_parameter): New.
17394         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17395         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17396         (__memset_zero_constant_len_parameter): Don't define if
17397         __memset_chk or USE_AS_BZERO are defined.
17399         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17400         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17401         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17403         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17404         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17405         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17406         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17407         comments.
17408         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17409         -mno-mmx for $(all-rtld-routines).
17410         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17411         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17412         i386.
17414 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17416         * sysdeps/generic/unwind.h
17417         (_Unwind_Word): Use __mode__(__unwind_word__)
17418         instead of __mode__(__word__).
17419         (_Unwind_Sword): Likewise.
17421         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17422         (MAX_NEEDED_INPUT): New define.
17423         (MAX_NEEDED_OUTPUT): New define.
17425         * NEWS: New item for IBM z13 string optimizations.
17427         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17428         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17429         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17430         * sysdeps/s390/multiarch/Makefile
17431         (sysdep_routines): Add memrchr functions.
17432         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17433         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17435         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17436         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17437         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17438         * sysdeps/s390/multiarch/Makefile
17439         (sysdep_routines): Add wmemcmp functions.
17440         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17441         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17442         * benchtests/bench-wmemcmp.c: New File.
17443         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17445         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17446         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17447         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17448         * sysdeps/s390/multiarch/Makefile
17449         (sysdep_routines): Add wmemset functions.
17450         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17451         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17452         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17453         * string/test-memset.c: Add wmemset support.
17454         * wcsmbs/test-wmemset.c: New File.
17455         * wcsmbs/Makefile (strop-tests): Add wmemset.
17456         * benchtests/bench-memset.c: Add wmemset support.
17457         * benchtests/bench-wmemset.c: New File.
17458         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17460         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17461         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17462         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17463         * sysdeps/s390/multiarch/Makefile
17464         (sysdep_routines): Add memccpy functions.
17465         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17466         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17467         * string/memccpy.c: Use MEMCCPY if defined.
17469         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17470         * sysdeps/s390/multiarch/memchr.c: Likewise.
17471         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17472         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17473         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17474         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17475         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17476         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17477         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17478         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17480         and rawmemchr functions.
17481         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17482         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17483         and wmemchr.
17484         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17485         * string/test-memchr.c: Add wmemchr support.
17486         * wcsmbs/test-wmemchr.c: New File.
17487         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17488         * benchtests/bench-memchr.c: Add wmemchr support.
17489         * benchtests/bench-wmemchr.c: New File.
17490         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17492         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17493         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17494         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17495         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17496         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17497         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17499         wcscspn functions.
17500         * sysdeps/s390/multiarch/ifunc-impl-list.c
17501         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17502         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17503         * string/test-strcspn.c: Add wcscspn support.
17504         * wcsmbs/test-wcscspn.c: New File.
17505         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17506         * benchtests/bench-strcspn.c: Add wcscspn support.
17507         * benchtests/bench-wcscspn.c: New File.
17508         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17510         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17511         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17512         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17513         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17514         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17515         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17516         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17517         wcspbrk functions.
17518         * sysdeps/s390/multiarch/ifunc-impl-list.c
17519         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17520         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17521         * string/test-strpbrk.c: Add wcspbrk support.
17522         * wcsmbs/test-wcspbrk.c: New File.
17523         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17524         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17525         * benchtests/bench-wcspbrk.c: New File.
17526         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17528         * sysdeps/s390/multiarch/strspn-c.c: New File.
17529         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17530         * sysdeps/s390/multiarch/strspn.c: Likewise.
17531         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17532         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17533         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17534         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17535         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17536         wcsspn functions.
17537         * sysdeps/s390/multiarch/ifunc-impl-list.c
17538         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17539         * string/test-strspn.c: Add wcsspn support.
17540         * wcsmbs/test-wcsspn.c: New File.
17541         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17542         * benchtests/bench-strspn.c: Add wcsspn support.
17543         * benchtests/bench-wcsspn.c: New File.
17544         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17546         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17547         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17548         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17549         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17550         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17551         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17552         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17553         wcsrchr functions.
17554         * sysdeps/s390/multiarch/ifunc-impl-list.c
17555         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17556         * benchtests/bench-wcsrchr.c: New File.
17557         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17559         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17560         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17561         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17562         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17563         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17564         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17565         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17566         wcschrnul functions.
17567         * sysdeps/s390/multiarch/ifunc-impl-list.c
17568         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17569         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17570         * string/test-strchr.c: Add wcschrnul support.
17571         * wcsmbs/test-wcschrnul.c: New File.
17572         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17573         * benchtests/bench-strchr.c: Add wcschrnul support.
17574         * benchtests/bench-wcschrnul.c: New File.
17575         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17577         * sysdeps/s390/multiarch/strchr-c.c: New File.
17578         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17579         * sysdeps/s390/multiarch/strchr.c: Likewise.
17580         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17581         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17582         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17583         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17584         wcschr functions.
17585         * sysdeps/s390/multiarch/ifunc-impl-list.c
17586         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17587         * string/strchr.c (STRCHR): Define and use macro.
17588         * benchtests/bench-wcschr.c: New File.
17589         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17591         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17592         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17593         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17594         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17595         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17596         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17598         wcsncmp functions.
17599         * sysdeps/s390/multiarch/ifunc-impl-list.c
17600         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17601         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17602         * benchtests/bench-strncmp.c: Add wcsncmp support.
17603         * benchtests/bench-wcsncmp.c: New File.
17604         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17606         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17607         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17608         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17609         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17610         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17611         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17612         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17614         wcscmp functions.
17615         * sysdeps/s390/multiarch/ifunc-impl-list.c
17616         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17617         * string/strcmp.c (STRCMP): Define and use macro.
17618         * benchtests/bench-wcscmp.c: New File.
17619         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17620         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17621         instead of _HAVE_STRING_ARCH_memchr.
17623         * sysdeps/s390/multiarch/strncat-c.c: New File.
17624         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17625         * sysdeps/s390/multiarch/strncat.c: Likewise.
17626         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17627         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17628         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17629         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17630         wcsncat functions.
17631         * sysdeps/s390/multiarch/ifunc-impl-list.c
17632         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17633         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17634         * string/test-strncat.c: Add wcsncat support.
17635         * wcsmbs/test-wcsncat.c: New File.
17636         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17637         * benchtests/bench-strncat.c: Add wcsncat support.
17638         * benchtests/bench-wcsncat.c: New File.
17639         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17641         * sysdeps/s390/multiarch/strcat-c.c: New File.
17642         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17643         * sysdeps/s390/multiarch/strcat.c: Likewise.
17644         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17645         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17646         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17647         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17648         wcscat functions.
17649         * sysdeps/s390/multiarch/ifunc-impl-list.c
17650         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17651         * string/strcat.c (STRCAT): Define and use macro.
17652         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17653         * string/test-strcat.c: Add wcscat support.
17654         * wcsmbs/test-wcscat.c: New File.
17655         * wcsmbs/Makefile (strop-tests): Add wcscat.
17656         * benchtests/bench-strcat.c: Add wcscat support.
17657         * benchtests/bench-wcscat.c: New File.
17658         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17660         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17661         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17662         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17663         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17664         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17665         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17667         wcpncpy functions.
17668         * sysdeps/s390/multiarch/ifunc-impl-list.c
17669         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17670         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17671         * string/test-stpncpy.c: Add wcpncpy support.
17672         * wcsmbs/test-wcpncpy.c: New File.
17673         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17674         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17675         * benchtests/bench-wcpncpy.c: New File.
17676         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17678         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17679         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17680         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17681         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17682         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17683         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17684         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17685         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17686         wcsncpy functions.
17687         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17688         * sysdeps/s390/multiarch/ifunc-impl-list.c
17689         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17690         * string/test-strncpy.c: Add wcsncpy support.
17691         * wcsmbs/test-wcsncpy.c: New File.
17692         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17693         * benchtests/bench-strncpy.c: Add wcsncpy support.
17694         * benchtests/bench-wcsncpy.c: New File.
17695         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17697         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17698         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17699         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17700         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17701         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17702         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17703         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17704         wcpcpy functions.
17705         * string/stpcpy.c: Use STPCPY if defined.
17706         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17707         * sysdeps/s390/multiarch/ifunc-impl-list.c
17708         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17709         * string/test-stpcpy.c: Add wcpcpy support.
17710         * wcsmbs/test-wcpcpy.c: New File.
17711         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17712         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17713         * benchtests/bench-wcpcpy.c: New File.
17714         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17716         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17717         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17718         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17719         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17720         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17721         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17722         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17723         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17724         wcscpy functions.
17725         * sysdeps/s390/multiarch/ifunc-impl-list.c
17726         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17727         * benchtests/bench-wcscpy.c: New File.
17728         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17730         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17731         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17732         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17733         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17734         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17735         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17736         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17737         wcsnlen functions.
17738         * sysdeps/s390/multiarch/ifunc-impl-list.c
17739         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17740         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17741         * string/test-strnlen.c: Add wcsnlen support.
17742         * wcsmbs/test-wcsnlen.c: New File.
17743         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17744         * benchtests/bench-strnlen.c: Add wcsnlen support.
17745         * benchtests/bench-wcsnlen.c: New File.
17746         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17748         * sysdeps/s390/multiarch/Makefile: New File.
17749         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17750         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17751         * sysdeps/s390/multiarch/strlen.c: Likewise.
17752         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17753         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17754         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17755         * string/strlen.c (STRLEN): Define and use macro.
17756         * sysdeps/s390/multiarch/ifunc-impl-list.c
17757         (IFUNC_VX_IMPL): New macro function.
17758         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17759         * benchtests/Makefile (wcsmbs-bench): New variable.
17760         (string-bench-all): Added wcsmbs-bench.
17761         * benchtests/bench-wcslen.c: New File.
17763         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17764         s390_vx_libc_ifunc2): New macro function.
17766         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17767         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17768         assembler support.
17769         * sysdeps/s390/configure: Regenerated.
17771         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17772         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17774         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17775         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17776         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17778         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17779         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17780         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17781         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17782         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17783         (memcmp, bcmp): Use __memcmp_default as alias source.
17784         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17785         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17786         Rename to __memcmp_default.
17787         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17788         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17789         (memcpy): Use __memcpy_default as alias source.
17790         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17791         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17792         Rename to __memcpy_default.
17793         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17794         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17795         (memset): Use __memset_default as alias source.
17796         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17797         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17798         Rename to __memset_default.
17799         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17800         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17801         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17802         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17803         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17804         (memcmp, bcmp): Use __memcmp_default as alias source.
17805         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17806         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17807         Rename to __memcmp_default.
17808         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17809         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17810         (memcpy): Use __memcpy_default as alias source.
17811         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17812         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17813         Rename to __memcpy_default.
17814         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17815         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17816         (memset): Use __memset_default as alias source.
17817         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17818         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17819         Rename to __memset_default.
17820         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17821         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17823         [BZ #18610]
17824         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17825         __ieee_instruction_pointer to __unused.
17826         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17827         __ieee_instruction_pointer.
17828         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17829         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17830         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17831         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17832         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17833         Mark dxc-field as reserved.
17835 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17837         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17838         if the weak reference is not null.
17840 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17842         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17844         [BZ #11214]
17845         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17847 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17849         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17850         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17851         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17852         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17853         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17854         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17855         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17856         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17857         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17858         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17859         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17860         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17861         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17862         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17863         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17864         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17865         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17866         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17868 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17870         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17871         register other than r0 for tabort, it has special meaning.
17872         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17873         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17874         transaction before starting syscall.
17876 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17878         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17880 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17882         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17884         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17885         * sysdeps/x86_64/rtld-memset.S: Likewise.
17886         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17887         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17888         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17889         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17891         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17893 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17895         * debug/strcpy_chk.c: Improve performance.
17896         * debug/stpcpy_chk.c: Likewise.
17897         * sysdeps/x86_64/strcpy_chk.S: Remove.
17898         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17900         [BZ #18240]
17901         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17903 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17905         [BZ #15128]
17906         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17907         ifuncmain8.
17908         (modules-names): Add ifuncmod8.
17909         ($(objpfx)ifuncmain8): New rule.
17910         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17911         <cpuid.h>.
17912         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17913         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17914         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17915         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17916         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17917         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17918         * sysdeps/x86_64/ifuncmain8.c: New file.
17919         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17920         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17921         Removed.
17922         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17923         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17924         Change rtld_savespace_sse to __glibc_unused2.
17925         (RTLD_CHECK_FOREIGN_CALL): Removed.
17926         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17927         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17928         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17930 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17932         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17934 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17936         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17937         Unconditionally set __fpcr to avoid uninialized warning.
17938         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17940 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17942         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17943         is corrupt.
17945         * malloc/arena.c (arena_get2): Drop unused argument.
17946         (arena_lock): Adjust.
17947         (arena_get_retry): Likewise.
17949 2015-08-24  Andreas Schwab  <schwab@suse.de>
17951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17952         Don't define.
17953         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17954         (__ASSUME_IPC64): Don't undef.
17955         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17956         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17957         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17958         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17959         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17960         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17961         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17962         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17963         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17964         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17965         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17966         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17967         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17968         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17969         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17970         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17971         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17972         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17973         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17974         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17975         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17977 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17979         * manual/Makefile (install): Only build manual when perl is available.
17981 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17983         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17984         '#undef memcpy' by '#undef memchr'.
17986 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17988         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17989         memchr not point to the internal __GI_memchr implementation.
17991 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17993         * timezone/Makefile (CFLAGS-zdump.c): Remove
17994         -Wno-strict-prototypes.
17995         (CFLAGS-zic.c): Likewise.
17996         (CFLAGS-ialloc.c): Likewise.
17997         (CFLAGS-scheck.c): Likewise.
17999         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18000         -Wno-error=undef.
18002 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18004         * i386/i686/multiarch/strcasestr-c.c: Removed.
18005         * x86_64/multiarch/strcasestr.c: Likewise.
18006         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18007         Remove strcasestr.
18009 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18011         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18013         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18014         variables for high and low parts before possibly modifying them.
18016 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18018         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18019         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18020         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18021         of "multiarch/init-arch.h".
18022         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18023         * sysdeps/x86/init-arch.h: This.
18025 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18027         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18028         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18030 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18032         [BZ #17787]
18033         * manual/macros.texi: Add twoexp macro.
18034         * manual/filesys.texi: Fix exponents.
18035         * manual/llio.texi: Likewise.
18036         * manual/stdio.texi: Likewise.
18038 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18040         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18041         incorrect use.
18043 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18045         [BZ #18370]
18046         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18047         whose real or imaginary part has small absolute value.
18048         * math/s_csqrtf.c (__csqrtf): Likewise.
18049         * math/s_csqrtl.c (__csqrtl): Likewise.
18050         * math/auto-libm-test-in: Add more tests of csqrt.
18051         * math/auto-libm-test-out: Regenerated.
18052         * sysdeps/i386/fpu/libm-test-ulps: Update.
18054 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18056         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18057         __ppc_set_ppr_very_low): New functions.
18058         * manual/platform.texi: Add documentation about
18059         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18061 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18063         * string/stpncpy.c (stpncpy): Improve performance using
18064         __strnlen/memcpy/memset.
18066 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18068         [BZ #18796]
18069         * scripts/test-installation.pl: Don't add -lmvec to build options if
18070         libmvec wasn't built.
18072 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18074         [BZ #14341]
18075         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18076         case when there is a gap between DT_REL and DT_JMPREL sections.
18077         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18078         (LDFLAGS-tst-split-dynreloc): New.
18079         (tst-split-dynreloc-ENV): Likewise.
18080         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18081         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18083 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18085         [BZ #18822]
18086         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18087         attribute_hidden.
18088         (__xstat64_conv): Likewise.
18089         (__xstat32_conv): Likewise.
18091 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18093         [BZ #18822]
18094         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18095         Don't load %ebx when calling __setcontext.  Call __setcontext
18096         with HIDDEN_JUMPTARGET.
18097         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18098         libc_hidden_def.
18100 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18102         * sysdeps/i386/i686/Makefile
18103         [$(subdir) == string] (sysdep_routines): Moved to ...
18104         * sysdeps/i386/Makefile: Here.
18105         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18106         * sysdeps/i386/cacheinfo.c: Here.
18107         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18108         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18109         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18110         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18112 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18114         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18115         __i586__ is defined.
18116         (HAS_I686): Defined to 1 if __i686__ is defined.
18118 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18120         * elf/Makefile [$(have-z-execstack) = yes]
18121         (CPPFLAGS-tst-execstack.c): New variable.
18123         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18124         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18125         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18126         UTMPX || _HAVE_UT_TV].
18127         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18128         UTMPX || _HAVE_UT_TV - 0].
18130 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18132         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18133         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18134         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18136 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18138         * sysdeps/powerpc/dl-procinfo.c:
18139         (_dl_powerpc_cap_flags): Added missing strings for some
18140         hwcap features.
18141         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18143 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18145         Port the 0x7efe...feff pattern to GCC 6.
18146         See Steve Ellcey's bug report in:
18147         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18148         * string/memrchr.c (MEMRCHR):
18149         * string/rawmemchr.c (RAWMEMCHR):
18150         * string/strchr.c (strchr):
18151         * string/strchrnul.c (STRCHRNUL):
18152         Rewrite code to avoid issues with signed shift overflow.
18154 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18156         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18157         whether cpuid is available only if HAS_CPUID is 0.
18158         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18159         (HAS_I586): Likewise.
18160         (HAS_I686): Likewise.
18162 2015-08-18  Zack Weinberg  <zackw@panix.com>
18164         * misc/Versions (libc): Add GLIBC_2.23.
18166 2015-08-18  Alan Modra  <amodra@gmail.com>
18168         [BZ #18421]
18169         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18170         .Lp__global.
18171         (_start): Load %dp via .Lp__global.
18172         [!SHARED]: Use .section .rodata.
18174 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18176         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18177         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18179 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18181         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18182         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18184 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18186         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18187         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18189 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18191         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18192         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18194 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18196         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18197         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18199 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18201         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18202         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18204 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18206         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18208 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18210         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18211         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18212         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18213         (__ASSUME_LWS_CAS): Delete.
18215 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18217         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18218         * sysdeps/hppa/configure: Regenerated.
18219         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18220         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18221         * sysdeps/hppa/nptl/tls.h: Likewise.
18223 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18225         [BZ #18823]
18226         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18227         for scaling up small arguments.
18228         * math/s_csqrtf.c (__csqrtf): Likewise.
18229         * math/s_csqrtl.c (__csqrtl): Likewise.
18230         * math/auto-libm-test-in: Add more tests of csqrt.
18231         * math/auto-libm-test-out: Regenerated.
18233 2015-08-17  Andreas Schwab  <schwab@suse.de>
18235         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18236         version set GLIBC_2.19.
18238 2015-08-16  Zack Weinberg  <zackw@panix.com>
18240         [BZ #18681]
18241         * misc/regexp.h: This interface is no longer supported.
18242         Remove all contents, leaving only an #error directive.
18243         * misc/regexp.c (loc1, loc2, locs, step, advance):
18244         Demote to compatibility symbols.
18246 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18248         [BZ #18084]
18249         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18250         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18251         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18252         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18253         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18254         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18255         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18256         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18257         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18259 2015-08-15  Zack Weinberg  <zackw@panix.com>
18261         [BZ #18795]
18262         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18263         buffer length is known to be too large, not if it's known to be
18264         small enough.
18265         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18266         overflow at runtime, involving a length parameter, twice: once
18267         with a compile-time constant length parameter, once without.
18269 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18271         [BZ #18824]
18272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18273         scaling x * y up instead of down.
18274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18276         * math/auto-libm-test-in: Add more tests of fma.
18277         * math/auto-libm-test-out: Regenerated.
18279 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18283 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18285         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18286         unnecessary movq.
18287         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18288         Likewise.
18290 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18292         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18293         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18294         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18295         and tgamma.
18296         * math/auto-libm-test-out: Regenerated.
18297         * sysdeps/i386/fpu/libm-test-ulps: Update.
18298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18300         [BZ #16520]
18301         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18302         (__tanh): Force underflow exception for arguments with small
18303         absolute value.
18304         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18305         (__tanhf): Force underflow exception for arguments with small
18306         absolute value.
18307         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18308         (__tanhl): Force underflow exception for arguments with small
18309         absolute value.
18310         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18311         (__tanhl): Force underflow exception for arguments with small
18312         absolute value.
18313         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18314         (__tanhl): Force underflow exception for arguments with small
18315         absolute value.
18316         * math/auto-libm-test-in: Add more tests of tanh.
18317         * math/auto-libm-test-out: Regenerated.
18318         * sysdeps/i386/fpu/libm-test-ulps: Update.
18320 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18322         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18323         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18325 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18327         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18328         <cpuid.h>.
18330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18332         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18333         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18335 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18337         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18338         Remove $(objpfx)init-arch.o.
18339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18340         init-arch.
18341         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18342         (INIT_ARCH_EXT): Defined as empty.
18343         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18345         __init_cpu_features call.  Replace HAS_XXX with
18346         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18347         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18349         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18350         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18351         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18352         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18353         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18354         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18355         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18356         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18357         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18368         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18370         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18373         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18374         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18375         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18377         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18381         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18383 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18385         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18386         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18387         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18388         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18389         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18390         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18391         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18392         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18393         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18394         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18395         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18396         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18397         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18398         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18399         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18400         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18401         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18402         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18406         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18407         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18408         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18409         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18410         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18411         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18412         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18416         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18418         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18419         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18420         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18421         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18422         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18423         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18424         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18425         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18426         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18427         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18429 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18432         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18433         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18434         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18435         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18436         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18437         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18438         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18439         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18440         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18441         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18442         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18443         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18444         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18445         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18446         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18447         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18448         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18449         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18450         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18452         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18453         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18454         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18455         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18456         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18457         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18458         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18459         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18460         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18461         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18462         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18466         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18467         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18468         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18469         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18470         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18471         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18472         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18473         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18475 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18477         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18478         (dl_platform_init): Call init_cpu_features.
18479         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18480         * sysdeps/i386/i686/cacheinfo.c
18481         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18482         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18483         * sysdeps/i386/i686/multiarch/Versions: Removed.
18484         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18485         Removed.
18486         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18487         * sysdeps/unix/sysv/linux/x86/Makefile
18488         (libpthread-sysdep_routines): Remove init-arch.
18489         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18490         <sysdeps/x86_64/dl-procinfo.c> instead of
18491         sysdeps/generic/dl-procinfo.c>.
18492         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18493         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18494         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18495         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18496         [$(subdir) == elf] (tests-static): Add
18497         tst-get-cpu-features-static.
18498         * sysdeps/x86/Versions: New file.
18499         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18500         * sysdeps/x86/cpu-features.c: Likewise.
18501         * sysdeps/x86/cpu-features.h: Likewise.
18502         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18503         * sysdeps/x86/libc-start.c: Likewise.
18504         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18505         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18506         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18507         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18508         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18509         Assume USE_MULTIARCH is defined and don't check it.
18510         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18511         (is_amd): Likewise.
18512         (max_cpuid): Likewise.
18513         (intel_check_word): Likewise.
18514         (__cache_sysconf): Don't call __init_cpu_features.
18515         (__x86_preferred_memory_instruction): Removed.
18516         (init_cacheinfo): Don't call __init_cpu_features. Replace
18517         __cpu_features with GLRO(dl_x86_cpu_features).
18518         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18519         (dl_platform_init): Call init_cpu_features.
18520         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18521         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18522         * sysdeps/x86_64/multiarch/Versions: Removed.
18523         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18524         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18525         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18526         Removed.
18527         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18529 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18531         [BZ #18820]
18532         * libio/Makefile (test-fmemopen-mem): New test.
18533         * libio/test-fmemopen.c (do_bz18820): New test.
18534         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18535         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18537 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18539         [BZ #16734]
18540         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18541         (FREE_BUF): Delete.
18542         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18543         * libio/genops.c (_IO_setb): Use malloc and free directly.
18544         (_IO_default_doallocate, _IO_default_finish): Likewise.
18545         ( _IO_unbuffer_all): Likewise.
18546         ( libc_freeres_fn): Likewise.
18547         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18548         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18549         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18550         (_IO_wdefault_doallocate): Likewise.
18552 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18554         [BZ #18086]
18555         * sysdeps/posix/nice.c (nice): Restore old errno.
18556         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18558 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18562 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18564         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18565         __bcopy and add a weak_alias to bcopy.
18566         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18567         for static build.
18569         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18570         cleanup macro usage.
18571         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18572         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18574         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18575         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18576         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18577         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18578         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18579         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18580         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18581         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18582         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18584         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18586         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18587         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18588         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18589         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18591         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18592         libc_hidden_def.
18593         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18595         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18596         (sysdep_routines): Add strstr-ppc64.
18597         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18599 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18601         [BZ #18778]
18602         * elf/Makefile (tests): Add Add tst-nodelete2.
18603         (modules-names): Add tst-nodelete2mod.
18604         (tst-nodelete2mod.so-no-z-defs): New.
18605         ($(objpfx)tst-nodelete2): Likewise.
18606         ($(objpfx)tst-nodelete2.out): Likewise.
18607         (LDFLAGS-tst-nodelete2): Likewise.
18608         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18609         out of loop through all loaded libraries.
18610         * elf/tst-nodelete2.c: New file.
18611         * elf/tst-nodelete2mod.c: Likewise.
18612         * elf/tst-znodelete-zlib.cc: Delete.
18614 2015-08-11  Andreas Schwab  <schwab@suse.de>
18616         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18617         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18618         (__openat64_nocancel): Likewise.
18620 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18622         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18623         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18624         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18625         * math/auto-libm-test-out: Regenerated.
18626         * sysdeps/i386/fpu/libm-test-ulps: Update.
18627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18629 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18631         [BZ #18790]
18632         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18633         threshold for returning +/- 1.
18634         * math/auto-libm-test-in: Add more tests of tanh.
18635         * math/auto-libm-test-out: Regenerated.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18638 2015-08-10  Andreas Schwab  <schwab@suse.de>
18640         [BZ #18781]
18641         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18642         MORE_OFLAGS to oflag.
18643         * io/test-lfs.c (do_test): Test openat64.
18645 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18647         [BZ #18789]
18648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18649         smaller threshold for returning the argument.
18650         * math/auto-libm-test-in: Add more tests of sinh.
18651         * math/auto-libm-test-out: Regenerated.
18652         * sysdeps/i386/fpu/libm-test-ulps: Update.
18654 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18656         [BZ #18674]
18657         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18658         break.
18660 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18662         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18663         (generated): Don't add $(addprefix z.,$(tzfiles)).
18665 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18667         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18668         * scripts/sysd-rules.awk: Likewise.
18670 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18672         * iconvdata/tst-tables.sh: Change echo -n to printf.
18673         * nss/db-Makefile: Likewise.
18674         * posix/tst-getconf.sh: Likewise.
18675         * stdio-common/tst-unbputc.sh: Likewise.
18677 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18679         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18680         MADV_*_PAGES defines behind this feature check.
18682 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18684         [BZ #18480]
18685         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18686         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18687         Define.
18688         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18689         LOAD_REGS_5, LOAD_REGS_6): Update.
18690         (INTERNAL_SYSCALL): Update using new LOAD defines.
18691         (INTERNAL_SYSCALL_NCS): Likewise.
18692         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18694 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18696         [BZ #16734]
18697         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18699 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18701         [BZ #17905]
18702         * catgets/Makefile (tst-catgets-mem): New test.
18703         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18704         * catgets/open_catalog.c (__open_catalog): Likewise.
18705         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18707 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18709         [BZ #18787]
18710         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18711         clobber registers.
18712         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18713         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18714         Cast return to __typeof (oldval).
18716 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18718         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18719         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18720         and delete sys/syscall.h include.
18722 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18724         [BZ #16517]
18725         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18726         (tan): Force underflow exception for arguments with small absolute
18727         value.
18728         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18729         (__kernel_tanf): Force underflow exception for arguments with
18730         small absolute value.
18731         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18732         (__kernel_tanl): Force underflow exception for arguments with
18733         small absolute value.
18734         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18735         (__kernel_tanl): Force underflow exception for arguments with
18736         small absolute value.
18737         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18738         (__kernel_tanl): Force underflow exception for arguments with
18739         small absolute value.
18740         * math/auto-libm-test-in: Add more tests of tan.
18741         * math/auto-libm-test-out: Regenerated.
18743 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18745         Fix sysdeps/i386/fpu/s_scalbn.S build
18747         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18749 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18751         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18753 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18755         Fix gcrt0.o compilation
18757         When static-start-installed-name is different from
18758         start-installed-name, we must not use the shared objects.
18760         * csu/Makefile
18761         (extra-objs): Add gmon-start.o when building shared library and
18762         $(static-start-installed-name) is different from
18763         $(start-installed-name).
18764         $(objpfx)g$(static-start-installed-name): When building shared
18765         library and $(static-start-installed-name) is different from
18766         $(static-start-installed-name), revert to non-shared rule,
18767         i.e. using $(objpfx)% and gmon-start.o.
18769 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18771         [BZ #16519]
18772         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18773         (__ieee754_sinh): Force underflow exception for arguments with
18774         small absolute value.
18775         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18776         (__ieee754_sinhf): Force underflow exception for arguments with
18777         small absolute value.
18778         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18779         (__ieee754_sinhl): Force underflow exception for arguments with
18780         small absolute value.
18781         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18782         (__ieee754_sinhl): Force underflow exception for arguments with
18783         small absolute value.
18784         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18785         (__ieee754_sinhl): Force underflow exception for arguments with
18786         small absolute value.
18787         * math/auto-libm-test-in: Add more tests of sinh.
18788         * math/auto-libm-test-out: Regenerated.
18789         * sysdeps/i386/fpu/libm-test-ulps: Update.
18791 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18793         * libio/oldfileops.c: Include unistd.h.
18795 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18797         * stdlib/isomac.c: Include ctype.h.
18799 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18801         * dirent/tst-seekdir.c (main): Converted to ...
18802         (do_test): ... this.
18803         (TEST_FUNCTION): New macro.
18804         Include test-skeleton.c.
18805         * elf/tst-dlmodcount.c (main): Converted to ...
18806         (do_test): ... this.
18807         (TEST_FUNCTION): New macro.
18808         Include test-skeleton.c.
18809         * elf/tst-order-main.c (main): Converted to ...
18810         (do_test): ... this.
18811         (TEST_FUNCTION): New macro.
18812         Include test-skeleton.c.
18813         * elf/tst-pie2.c (main): Converted to ...
18814         (do_test): ... this.
18815         (TEST_FUNCTION): New macro.
18816         Include test-skeleton.c.
18817         * inet/tst-ether_aton.c (main): Converted to ...
18818         (do_test): ... this.
18819         (TEST_FUNCTION): New macro.
18820         Include test-skeleton.c.
18821         * misc/tst-mntent.c (main): Converted to ...
18822         (do_test): ... this.
18823         (TEST_FUNCTION): New macro.
18824         Include test-skeleton.c.
18825         * misc/tst-tsearch.c (main): Converted to ...
18826         (do_test): ... this.
18827         (TEST_FUNCTION): New macro.
18828         Include test-skeleton.c.
18829         * posix/tst-regexloc.c (main): Converted to ...
18830         (do_test): ... this.
18831         (TEST_FUNCTION): New macro.
18832         Include test-skeleton.c.
18833         * resolv/tst-aton.c (main): Converted to ...
18834         (do_test): ... this.
18835         (TEST_FUNCTION): New macro.
18836         Include test-skeleton.c.
18837         * stdio-common/test-fwrite.c (main): Converted to ...
18838         (do_test): ... this.
18839         (TEST_FUNCTION): New macro.
18840         Include test-skeleton.c.
18841         * stdio-common/tst-ferror.c (main): Converted to ...
18842         (do_test): ... this.
18843         (TEST_FUNCTION): New macro.
18844         Include test-skeleton.c.
18845         * stdio-common/tst-printf.c (main): Converted to ...
18846         (do_test): ... this.
18847         (TEST_FUNCTION): New macro.
18848         Include test-skeleton.c.
18849         * stdio-common/tst-printfsz.c (main): Converted to ...
18850         (do_test): ... this.
18851         (TEST_FUNCTION): New macro.
18852         Include test-skeleton.c.
18853         * stdlib/tst-strtod.c (main): Converted to ...
18854         (do_test): ... this.
18855         (TEST_FUNCTION): New macro.
18856         Include test-skeleton.c.
18857         * string/tst-strlen.c (main): Converted to ...
18858         (do_test): ... this.
18859         (TEST_FUNCTION): New macro.
18860         Include test-skeleton.c.
18861         * string/tst-svc.c (main): Converted to ...
18862         (do_test): ... this.
18863         (TEST_FUNCTION): New macro.
18864         Include test-skeleton.c.
18865         * time/tst-strptime.c (main): Converted to ...
18866         (do_test): ... this.
18867         (TEST_FUNCTION): New macro.
18868         Include test-skeleton.c.
18869         * timezone/tst-timezone.c (main): Converted to ...
18870         (do_test): ... this.
18871         (TEST_FUNCTION): New macro.
18872         Include test-skeleton.c.
18874 2015-08-05  Zack Weinberg  <zackw@panix.com>
18876         * misc/regexp.h: Update comments.
18878 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18880         [BZ #18635]
18881         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18882         before return label.
18884 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18886         [BZ #18661]
18887         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18888         when calling __errno_location.
18889         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18890         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18892 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18894         [BZ #18661]
18895         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18896         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18897         __gettimeofday.
18899 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18901         [BZ #18661]
18902         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18903         (__start_context): Don't use pop to restore %rdi so that stack
18904         is aligned to 16 bytes when calling __setcontext.
18906 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18908         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18909         only for libc.
18910         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18912 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18914         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18915         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18916         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18918 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18920         * string/memccpy.c (memccpy):
18921         Improve performance by using memchr/memcpy/__mempcpy.
18923 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18925         * string/strncpy.c (strncpy):
18926         Improve performance by using __strnlen/memcpy.
18928 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18930         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18931         Optimize to avoid an unnecessary FPCR read.
18933 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18935         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18936         Optimize to reduce FPCR/FPSR accesses.
18938 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18940         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18941         dead->data[category] != NULL.
18943 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18945         [BZ #18647]
18946         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18947         and |x| close to 1, use absolute value of x when computing log.
18948         * math/auto-libm-test-in: Add more tests of pow.
18949         * math/auto-libm-test-out: Regenerated.
18951 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18953         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18954         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18955         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18957 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18959         [BZ #18525]
18960         * locales/km_KH: Remove timezone definition.
18961         * locales/lo_LA: Likewise.
18962         * locales/my_MM: Likewise.
18963         * locales/nan_TW@latin: Likewise.
18964         * locales/th_TH: Likewise.
18965         * locales/uk_UA: Likewise.
18967 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18969         [BZ #18265]
18970         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18971         (wcsncat): Likewise.
18972         (wcscmp): Likewise.
18973         (wcsncmp): Likewise.
18975 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18977         * test-skeleton.c (usage): New function.
18978         (main): Call usage when opt is '?'.
18980 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18982         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18983         before first use.
18985 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18987         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18988         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18989         in there too.
18991 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18993         * version.h (RELEASE): Set to "development".
18994         (VERSION): Set to "2.22.90"
18996         * version.h (RELEASE): Set to "stable".
18997         (VERSION): Set to "2.22"
18998         * include/features.h (__GLIBC_MINOR__): Set to 22.
19000 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19002         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19003         Restructure macro to avoid "value computed is not used" warning.
19004         (atomic_compare_and_exchange_val_acq): Likewise.
19006 2015-08-04  Andreas Schwab  <schwab@suse.de>
19008         [BZ #18635]
19009         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19010         ret.
19011         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19013 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19015         * po/pl.po: Updated translation.
19016         * po/uk.po: Likewise.
19017         * po/fi.po: Likewise.
19018         * po/ko.po: Likewise.
19019         * po/ru.po: Likewise.
19020         * po/vi.po: Likewise.
19022 2015-07-31  Zack Weinberg  <zackw@panix.com>
19024         [BZ #18681]
19025         * regexp.h: Add unconditional #warning stating that this header
19026         will be removed soon.  Revise banner comment to match.
19027         (compile): Consistently use ERROR instead of RETURN to report
19028         errors (partial fix for bz#18681).
19029         * regexp.c: Don't include regexp.h. Remove some unnecessary
19030         declarations.
19032 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19034         * po/libc.pot: Regenerated.
19036 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19038         [BZ #18740]
19039         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19040         float-vlen4-arch-ext-cflags): Removed.
19041         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19042         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19044 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19046         [BZ #14113]
19047         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19048         aligned to __aligned__.
19049         (pthread_cond_t, pthread_rwlock_t): Likewise.
19051 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19053         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19055 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19057         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19058         (struct sigaction): Change sa_flags from a long to an int, and add
19059         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19061 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19063         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19064         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19065         sysdeps/generic/sysdep.h include.
19066         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19067         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19068         sysdeps/hppa/sysdep.h.
19069         (ENTRY, PSEUDO): Undefine before defining.
19071 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19073         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19074         from scratch to use INTERNAL_SYSCALL.
19076 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19078         [BZ #18078]
19079         * scripts/check-localplt.awk: Support alternate relocations.
19080         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19081         sections.
19082         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19083         malloc entries with + REL R_386_GLOB_DAT.
19084         * sysdeps/x86_64/localplt.data: New file.
19086 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19088         [BZ #18731]
19089         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19090         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19091         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19093 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19095         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19097 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19099         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19100         directly in terms of __sync_fetch_and_add and delete (int) cast.
19102 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19104         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19105         the -D_ASM_IA64_CURRENT_H flag.
19107 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19109         [BZ #18641]
19110         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19112 2015-07-27  Andreas Schwab  <schwab@suse.de>
19114         * conform/conformtest.pl (checknamespace): Filter out string
19115         literals while tokenizing.
19117 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19119         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19120         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19121         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19123 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19125         * nptl/tst-join7mod.c: Add #include <string.h>.
19127 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19129         * sysdeps/nios2/libm-test-ulps: Update.
19131 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19133         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19134         Fix order of arguments to the rt_sigprocmask syscall.
19135         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19136         Likewise.
19138 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19140         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19142 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19144         [BZ #18457]
19145         * nptl/Makefile (tests): New test case tst-join7.
19146         (modules-names): New test case module tst-join7mod.
19147         * nptl/tst-join7.c: New file.
19148         * nptl/tst-join7mod.c: New file.
19149         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19150         all translation units in libc.so, libpthread.so and rtld.
19152 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19156 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19160         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19162         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19164         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19167         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19170         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19171         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19172         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19173         implementation.
19175 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19177         [BZ #17711]
19178         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19179         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19180         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19181         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19182         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19183         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19185 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19187         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19188         instead of just saying load lock in the comments.
19190 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19192         * sysdeps/unix/Subdirs: Moved ...
19193         * sysdeps/posix/Subdirs: ... here.
19194         * login/pty.h (struct termios, struct winsize): Add forward decls.
19195         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19196         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19197         * sysdeps/arm/nacl/libc.abilist: Updated.
19198         * sysdeps/nacl/libutil.abilist: New file.
19200         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19201         (SIGWINCH): New macro.
19203         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19204         * sysdeps/arm/nacl/libc.abilist: Add it.
19206 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19208         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19210 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19212         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19213         Swap __glibc_reserved0 and sa_flags order.
19215 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19217         [BZ #18657]
19218         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19219         are pending TLS destructor calls.
19220         * include/link.h (struct link_map): Add concurrency note for
19221         L_TLS_DTOR_COUNT.
19222         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19223         Don't touch the link map flag.  Atomically increment
19224         l_tls_dtor_count.
19225         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19226         Avoid taking the load lock and don't touch the link map flag.
19227         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19228         * stdlib/Makefile (tests): Use it.
19229         * stdlib/tst-tls-atexit.c (do_test): dlopen
19230         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19231         to allow tst-tls-atexit-nodelete test case to use it.
19233 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19235         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19236         to bits/types.h.
19237         (msgqnum_t): New typedef.
19238         (msglen_t): Likewise.
19239         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19240         and msg_qbytes type to msglen_t.
19242 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19244         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19245         pad0 to __glibc_reserved0.
19246         (struct stat64): Likewise.
19248 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19250         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19251         Change sa_flags from a long to an int and add __glibc_reserved0 before
19252         it for padding.
19254 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19256         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19257         anonymous by deleting "siginfo" name.
19259 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19261         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19262         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19263         rather than __nacl_irt_filename.
19264         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19266         * NEWS: New item for arm-nacl port.
19267         * sysdeps/arm/nacl/libc.abilist: New file.
19268         * sysdeps/nacl/ld.abilist: New file.
19269         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19270         * sysdeps/nacl/libanl.abilist: New file.
19271         * sysdeps/nacl/libcrypt.abilist: New file.
19272         * sysdeps/nacl/libdl.abilist: New file.
19273         * sysdeps/nacl/libm.abilist: New file.
19274         * sysdeps/nacl/libpthread.abilist: New file.
19275         * sysdeps/nacl/libresolv.abilist: New file.
19276         * sysdeps/nacl/librt.abilist: New file.
19278 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19280         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19281         __startcontext to initialize the new context.
19282         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19283         up CFI directive to forbid further backtracing.
19285 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19287         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19288         reference.
19289         * charmaps/ANSI_X3.4-1968: Likewise.
19290         * charmaps/BS_4730: Likewise.
19291         * charmaps/BS_VIEWDATA: Likewise.
19292         * charmaps/CP1250: Likewise.
19293         * charmaps/CP1251: Likewise.
19294         * charmaps/CP1252: Likewise.
19295         * charmaps/CP1253: Likewise.
19296         * charmaps/CP1254: Likewise.
19297         * charmaps/CP1255: Likewise.
19298         * charmaps/CP1256: Likewise.
19299         * charmaps/CSN_369103: Likewise.
19300         * charmaps/EBCDIC-DK-NO: Likewise.
19301         * charmaps/GB_1988-80: Likewise.
19302         * charmaps/GREEK-CCITT: Likewise.
19303         * charmaps/GREEK7: Likewise.
19304         * charmaps/INIS-8: Likewise.
19305         * charmaps/ISIRI-3342: Likewise.
19306         * charmaps/ISO_2033-1983: Likewise.
19307         * charmaps/ISO_5427-EXT: Likewise.
19308         * locales/POSIX: Likewise.
19309         * locales/ar_SA: Likewise.
19310         * locales/be_BY: Likewise.
19311         * locales/be_BY@latin: Likewise.
19312         * locales/ca_ES: Likewise.
19313         * locales/cs_CZ: Likewise.
19314         * locales/da_DK: Likewise.
19315         * locales/de_BE: Likewise.
19316         * locales/de_CH: Likewise.
19317         * locales/de_LU: Likewise.
19318         * locales/en_AU: Likewise.
19319         * locales/en_BW: Likewise.
19320         * locales/en_CA: Likewise.
19321         * locales/en_DK: Likewise.
19322         * locales/en_GB: Likewise.
19323         * locales/en_IE: Likewise.
19324         * locales/en_NZ: Likewise.
19325         * locales/en_ZA: Likewise.
19326         * locales/en_ZW: Likewise.
19327         * locales/es_AR: Likewise.
19328         * locales/es_BO: Likewise.
19329         * locales/es_CL: Likewise.
19330         * locales/es_CO: Likewise.
19331         * locales/es_DO: Likewise.
19332         * locales/es_EC: Likewise.
19333         * locales/es_ES: Likewise.
19334         * locales/es_HN: Likewise.
19335         * locales/es_MX: Likewise.
19336         * locales/es_PA: Likewise.
19337         * locales/es_PE: Likewise.
19338         * locales/es_PY: Likewise.
19339         * locales/es_SV: Likewise.
19340         * locales/es_US: Likewise.
19341         * locales/es_UY: Likewise.
19342         * locales/es_VE: Likewise.
19343         * locales/et_EE: Likewise.
19344         * locales/fa_IR: Likewise.
19345         * locales/fo_FO: Likewise.
19346         * locales/fr_CA: Likewise.
19347         * locales/fr_CH: Likewise.
19348         * locales/gv_GB: Likewise.
19349         * locales/he_IL: Likewise.
19350         * locales/hr_HR: Likewise.
19351         * locales/id_ID: Likewise.
19352         * locales/is_IS: Likewise.
19353         * locales/it_CH: Likewise.
19354         * locales/iw_IL: Likewise.
19355         * locales/kl_GL: Likewise.
19356         * locales/ko_KR: Likewise.
19357         * locales/kw_GB: Likewise.
19358         * locales/lg_UG: Likewise.
19359         * locales/lt_LT: Likewise.
19360         * locales/lv_LV: Likewise.
19361         * locales/mi_NZ: Likewise.
19362         * locales/nhn_MX: Likewise.
19363         * locales/nl_BE: Likewise.
19364         * locales/pl_PL: Likewise.
19365         * locales/sk_SK: Likewise.
19366         * locales/sl_SI: Likewise.
19367         * locales/sv_FI: Likewise.
19368         * locales/tl_PH: Likewise.
19369         * locales/tr_TR: Likewise.
19370         * locales/vi_VN: Likewise.
19372 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19374         [BZ #17475]
19375         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19376         of tu_IN and bh_IN.
19378 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19380         [BZ #18694]
19381         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19382         bits/wordsize.h.
19383         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19385 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19387         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19388         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19389         (spawn_thread): New function.
19390         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19391         (do_test): ... here.  Use IS_LOADED to test for its
19392         availability.
19394 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19398 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19400         [BZ #18696]
19401         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19402         si_addr_bnd.
19403         (si_lower): New.
19404         (si_upper): Likewise.
19406 2015-07-16  David S. Miller  <davem@davemloft.net>
19408         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19410 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19412         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19413         buffer.
19414         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19415         fail output information.
19417 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19420         and strstr-ppc64..
19421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19422         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19423         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19424         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19425         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19427 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19429         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19430         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19431         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19432         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19434 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19436         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19437         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19438         rtld_hidden_proto.
19439         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19441 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19443         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19444         the test can fail.
19446         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19448         [BZ #18676]
19449         * elf/tst-nodelete-opened.c: New test case.
19450         * elf/tst-nodelete-opened-lib.c: New test case module.
19451         * elf/Makefile (tests, modules-names): Use them.
19452         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19453         early.
19455 2015-07-15  David S. Miller  <davem@davemloft.net>
19457         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19458         futex-intenal.h
19459         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19460         * sysdeps/sparc/sparc64/Makefile: Likewise.
19461         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19462         Remove space from macro define.
19463         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19465 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19467         [BZ #17475]
19468         * locale/iso-639.def: Update Bhili and Tulu language codes as
19469         per iso639-3.
19471 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19473         * elf/tst-leaks1.c (main): Converted to ...
19474         (do_test): ... this.
19475         (TEST_FUNCTION): New macro.
19476         Include test-skeleton.c.
19477         * localedata/tst-langinfo.c (main): Converted to ...
19478         (do_test): ... this.
19479         (TEST_FUNCTION): New macro.
19480         Include test-skeleton.c.
19481         * math/test-fpucw.c (main): Converted to ...
19482         (do_test): ... this.
19483         (TEST_FUNCTION): New macro.
19484         Include test-skeleton.c.
19485         * math/test-tgmath.c (main): Converted to ...
19486         (do_test): ... this.
19487         (TEST_FUNCTION): New macro.
19488         Include test-skeleton.c.
19489         * math/test-tgmath2.c (main): Converted to ...
19490         (do_test): ... this.
19491         (TEST_FUNCTION): New macro.
19492         Include test-skeleton.c.
19493         * setjmp/tst-setjmp.c (main): Converted to ...
19494         (do_test): ... this.
19495         (TEST_FUNCTION): New macro.
19496         Include test-skeleton.c.
19497         * stdio-common/tst-sscanf.c (main): Converted to ...
19498         (do_test): ... this.
19499         (TEST_FUNCTION): New macro.
19500         Include test-skeleton.c.
19501         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19502         (do_test): ... this.
19503         (TEST_FUNCTION): New macro.
19504         Include test-skeleton.c.
19506         * elf/tst-audit9.c (main): Converted to ...
19507         (do_test): ... this.
19508         (TEST_FUNCTION): New macro.
19509         Include test-skeleton.c.
19511 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19513         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19515 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19517         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19518         New variable.
19520 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19522         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19524 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19526         * sysdeps/generic/dl-fileid.h: New file.
19527         * sysdeps/posix/dl-fileid.h: New file.
19528         * sysdeps/nacl/dl-fileid.h: New file.
19529         * include/link.h: Include <dl-fileid.h>.
19530         (struct link_map): Replace l_dev and l_ino with l_file_id.
19531         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19532         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19533         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19535 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19537         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19539 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19541         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19542         Add iff $CXX is set.
19543         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19544         Likewise.
19545         (tst-nodelete-zmodiff): Likewise.
19546         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19548 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19552 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19554         * sysdeps/aarch64/fpu/math_private.h
19555         (define math_opt_barrier): Add AArch64 version.
19556         (math_force_eval): Likewise.
19558 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19560         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19562 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19564         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19565         %ld with %jd and cast to intmax_t.
19566         (do_test_length_zero): Likewise.
19568 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19570         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19572 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19574         * sysdeps/tile/libm-test-ulps: Regenerated.
19576         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19577         Comment out the whole function, not just its body.
19579 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19582         locks.
19584         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19586 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19588         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19589         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19591 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19593         * sysdeps/nptl/futex-internal.h: New file.
19594         * sysdeps/nacl/futex-internal.h: New file.
19595         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19596         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19597         error checking.
19598         (setxid_unmark_thread): Likewise.
19599         (__nptl_setxid): Likewise.
19600         (__wait_lookup_done): Likewise.
19601         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19602         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19603         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19604         * nptl/pthread_once.c (clear_once_control): Likewise.
19605         (__pthread_once_slow): Likewise.
19606         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19607         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19608         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19609         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19610         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19611         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19612         Likewise.
19613         (__pthread_rwlock_rdlock): Likewise.
19614         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19615         Likewise.
19616         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19617         Likewise.
19618         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19619         Likewise.
19620         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19621         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19622         Likewise.
19623         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19624         __ASSUME_PRIVATE_FUTEX check.
19625         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19626         Check that shared futexes are supported.
19627         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19628         wrappers with error checking.
19629         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19630         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19631         * nptl/pthread_barrierattr_setpshared.c
19632         (pthread_barrierattr_setpshared): Check that shared futexes are
19633         supported.
19634         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19635         Likewise.
19636         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19637         Likewise.
19638         * nptl/sem_init.c (futex_private_if_supported): Remove.
19639         (__new_sem_init): Adapt and check that shared futexes are supported.
19640         * nptl/sem_open.c (sem_open): Likewise.
19641         * nptl/sem_post.c (futex_wake): Remove.
19642         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19643         (do_futex_wait): Use futex wrappers with error checking.
19644         * nptl/sem_wait.c: Include lowlevellock.h.
19645         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19646         Use futex_supports_pshared.
19647         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19648         Use futex wrappers with error checking.
19649         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19650         Likewise.
19651         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19652         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19653         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19654         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19655         (futex_wake): Likewise.
19656         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19657         (do_futex_wait): Use futex wrappers with error checking.
19658         (__new_sem_wait_slow): Update EINTR handling.
19659         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19661 2015-07-09  Martin Sebor  <msebor@redhat.com>
19663         [BZ #18435]
19664         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19665         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19666         * nptl/Makefile (test-xfail-tst-once5): Define.
19668 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19670         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19671         * elf/dl-minimal.c: For readability, reorder some definitions and
19672         introduce more page breaks.  Include <stdio.h>.
19673         (__libc_fatal): New function.
19675         * include/unistd.h: Add rtld_hidden_proto for _exit.
19676         * posix/_exit.c: Add rtld_hidden_def.
19677         * sysdeps/mach/hurd/_exit.c: Likewise.
19678         * sysdeps/nacl/_exit.c: Likewise.
19679         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19680         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19682 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19685         bndmov encoding with zero displacement.
19687 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19688             H.J. Lu  <hongjiu.lu@intel.com>
19690         [BZ #18134]
19691         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19692         * sysdeps/i386/configure: Regenerated.
19693         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19694         (_dl_runtime_profile): Save and restore Intel MPX return bound
19695         registers when calling _dl_call_pltexit.  Add
19696         PRESERVE_BND_REGS_PREFIX before return.
19697         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19698         (LRV_BND1_OFFSET): Likewise.
19699         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19700         lrv_bnd1.
19701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19702         typo in bndmov encoding.
19703         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19704         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19705         branch instructions to preserve bounds.
19707 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19710         [GLIBC_2.22]: Add fmemopen.
19712 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19714         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19715         returns an error, also try to use host port from __mach_host_self for
19716         the __vm_wire call.
19717         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19719 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19721         [BZ #18400]
19722         [BZ #18648]
19723         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19724         Fix pr_uid and pr_gid members.
19725         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19726         definition to elf_greg_t.
19728 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19730         [BZ #18383]
19731         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19732         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19733         * sysdeps/arm/configure: Regenerated.
19734         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19735         (test-xfail-tst-tlsalign-static): Variable removed.
19737         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19738         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19739         rather than explicit 'ln -s'.
19741         * resolv/rpc/netdb.h: New file.
19742         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19744 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19746         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19747         length buffers.
19748         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19749         test-skeleton.c.
19751         [BZ #6544]
19752         [BZ #11216]
19753         [BZ #12836]
19754         [BZ #13151]
19755         [BZ #13152]
19756         [BZ #14292]
19757         * include/stdio.h (fmemopen): Remove hidden prototype.
19758         (__fmemopen): Add new hidden prototype.
19759         * libio/Makefile: Add oldfmemopen object.
19760         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19761         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19762         compliance.
19763         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19764         symbol compatibility.
19765         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19766         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19767         fmemopen.
19768         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19769         on append and read mode.
19770         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19771         fmemopen.
19772         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19773         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19774         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19775         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19776         Likewise.
19777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19778         [GLIBC_2.22]: Likewise.
19779         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19780         Likewise.
19781         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19782         Likewise.
19783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19784         [GLIBC_2.22]: Likewise.
19785         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19786         [GLIBC_2.22]: Likewise.
19787         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19788         [GLIBC_2.22]: Likewise.
19789         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19790         [GLIBC_2.22]: Likewise.
19791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19792         [GLIBC_2.22]: Likewise.
19793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19794         [GLIBC_2.22]: Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19796         [GLIBC_2.22]: Likewise.
19797         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19798         Likewise.
19799         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19800         Likewise.
19801         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19802         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19803         [GLIBC_2.22]: Likewise.
19804         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19805         [GLIBC_2.22]: Likewise.
19806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19807         [GLIBC_2.22]: Likewise.
19808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19809         [GLIBC_2.22]: Likewise.
19810         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19811         Likewise.
19812         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19813         Likewise.
19814         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19815         Likewise.
19816         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19817         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19819 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19821         [BZ #18643]
19822         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19823         IPV6_PATHMTU, and IPV6_DONTFRAG.
19825 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19827         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19828         and _IO_UNBUFFERED.
19829         * libio/oldfileops.c: Likewise.
19830         * libio/wfileops.c: Likewise.
19832 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19834         * nscd/selinux.c: Delete selinux/flask.h include.
19836 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19838         [BZ #18641]
19839         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19840         (putpwent): Likewise.
19841         (getpwnam): Likewise.
19842         (getpwent_r): Likewise.
19843         (getpwuid_r): Likewise.
19844         (getpwnam_r): Likewise.
19845         (fgetpwent_r): Likewise.
19847 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19849         [BZ #18557]
19850         * inet/rcmd.c (__validuser2_sa): Check user first to
19851         short-circuit host check.
19853 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19854             Mikhail Ilin  <m.ilin@samsung.com>
19856         [BZ #17833]
19857         * elf/Makefile (tests): Add tst-nodelete.
19858         (modules-names): Add tst-nodelete-uniquemod.
19859         (tst-nodelete-uniquemod.so-no-z-defs): New.
19860         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19861         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19862         ($(objpfx)tst-nodelete): Likewise.
19863         ($(objpfx)tst-nodelete.out): Likewise.
19864         (LDFLAGS-tst-nodelete): Likewise.
19865         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19866         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19867         implement forced object deletion.
19868         (_dl_close): Pass false to _dl_close_worker.
19869         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19870         * elf/tst-nodelete.cc: New file.
19871         * elf/tst-nodeletelib.cc: Likewise.
19872         * elf/tst-znodeletelib.cc: Likewise.
19873         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19875 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19877         [BZ #18508]
19878         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19879         Depend on $(libdl).
19880         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19881         is not called infinitely times.
19882         (backtrace_helper): New function.
19883         (trace_arg): New struct.
19884         (st1): Enlarge stack size.
19885         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19886         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19887         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19888         Likewise.
19890 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19892         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19894 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19896         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19897         Include sys/types.h instead of bits/types.h.
19898         Remove inclusion of bits/wordsize.h.
19900 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19902         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19903         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19904         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19905         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19906         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19907         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19909 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19911         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19912         link-defines.sym.
19913         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19914         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19915         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19916         and LR_SIZE.
19917         * sysdeps/i386/link-defines.sym: New file.
19919 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19921         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19922         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19923         ($(objpfx)tst-audit3): New rule.
19924         ($(objpfx)tst-audit3.out): Likewise.
19925         * sysdeps/i386/tst-audit3.c: New file.
19926         * sysdeps/i386/tst-audit3.h: Likewise.
19927         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19928         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19930 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19932         [BZ #18633]
19933         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19934         pointer in C code.
19935         (__strcat_c): Likewise.
19936         (__strcat_g): Likewise.
19938 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19940         [BZ #18592]
19941         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19943 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19945         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19946         New function.  (__ieee754_sqrtf): New function.
19947         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19948         New function.
19949         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19950         New function.
19952 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19954         * sysdeps/ieee754/support.c: Remove unused file.
19956 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19958         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19959         registers instead of d ones so the layout is kernel abi compatible.
19960         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19961         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19962         Likewise.
19964 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19966         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19968 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19970         [BZ #18619]
19971         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19972         and return argument in case of subnormal argument.
19974 2015-07-01  Martin Sebor  <msebor@redhat.com>
19976         [BZ #18435]
19977         * nptl/Makefile: Add tst-once5.cc.
19978         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19979         Remove macro redefinitions.
19980         * nptl/tst-once5.cc: New test.
19982 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19984         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19986         * sysdeps/arm/libm-test-ulps: Regenerated.
19988         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19989         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19991 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19993         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19994         lll_lock_wait_private and lll_futex_wake probes.
19996         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19998         Likewise.
19999         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20000         atomic_spin_nop.
20001         * sysdeps/x86_64/bits/atomic.h: Likewise.
20002         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20003         to atomic_spin_nop and move ...
20004         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20005         ... here and ...
20006         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20007         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20008         atomic_spin_nop instead of BUSY_WAIT_NOP.
20009         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20010         Likewise.
20011         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20012         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20013         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20014         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20015         instead of atomic_delay.
20017 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20019         [BZ #18613]
20020         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20021         X_ADJ not X when adjusting exponent.
20022         (__ieee754_gamma_r): Do intermediate computations in
20023         round-to-nearest then adjust overflowing and underflowing results
20024         as needed.
20025         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20026         of X_ADJ not X when adjusting exponent.
20027         (__ieee754_gammaf_r): Do intermediate computations in
20028         round-to-nearest then adjust overflowing and underflowing results
20029         as needed.
20030         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20031         log of X_ADJ not X when adjusting exponent.
20032         (__ieee754_gammal_r): Do intermediate computations in
20033         round-to-nearest then adjust overflowing and underflowing results
20034         as needed.  Use 1.0L not 1.0f as numerator of division.
20035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20036         log of X_ADJ not X when adjusting exponent.
20037         (__ieee754_gammal_r): Do intermediate computations in
20038         round-to-nearest then adjust overflowing and underflowing results
20039         as needed.  Use 1.0L not 1.0f as numerator of division.
20040         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20041         of X_ADJ not X when adjusting exponent.
20042         (__ieee754_gammal_r): Do intermediate computations in
20043         round-to-nearest then adjust overflowing and underflowing results
20044         as needed.  Use 1.0L not 1.0f as numerator of division.
20045         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20046         to auto-libm-test-in.
20047         (tgamma_test): Use ALL_RM_TEST.
20048         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20049         tests of tgamma with spurious-overflow.
20050         * math/auto-libm-test-out: Regenerated.
20051         * math/gen-libm-have-vector-test.sh: Do not check for START.
20052         * sysdeps/i386/fpu/libm-test-ulps: Update.
20053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20055         [BZ #18612]
20056         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20057         arguments, just return 0.5 times the argument, with underflow
20058         forced as needed.
20059         * math/auto-libm-test-in: Add more tests of j1.
20060         * math/auto-libm-test-out: Regenerated.
20062         [BZ #16559]
20063         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20064         (__ieee754_j1): Force underflow exception for small results.
20065         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20066         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20067         (__ieee754_j1f): Force underflow exception for small results.
20068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20069         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20071         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20072         (__ieee754_j1l): Force underflow exception for small results.
20073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20074         * math/auto-libm-test-in: Add more tests of j1 and jn.
20075         * math/auto-libm-test-out: Regenerated.
20077         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20078         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20079         (PF_MPLS): Likewise.
20080         (AF_IB): Likewise.
20081         (AF_MPLS): Likewise.
20082         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20083         value and macro.
20084         (MS_RMT_MASK): Include MS_LAZYTIME.
20086 2015-06-26  Mel Gorman  <mgorman@suse.de>
20088         [BZ #18502]
20089         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20090         already minimal.
20092 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20094         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20095         (DT_MIPS_NUM): Update.
20096         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20097         DT_MIPS_RLD_MAP_REL.
20099 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20101         [BZ #16559]
20102         [BZ #18602]
20103         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20104         round-to-nearest internally then recompute results that
20105         underflowed to zero in the original rounding mode.
20106         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20107         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20108         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20109         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20110         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20111         * sysdeps/i386/fpu/libm-test-ulps: Update.
20112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20114 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20116         * NEWS: Fixed description of link with vector math library.
20118 2015-06-25  Andreas Schwab  <schwab@suse.de>
20120         [BZ #18549]
20121         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20122         * libio/test-fmemopen.c (do_test): Add test for it.
20124 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20126         [BZ #17841]
20127         * Makeconfig (no-pie-ldflag): New.
20128         (+link): Set to $(+link-pie) if default to PIE.
20129         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20130         * config.make.in (build-pie-default): New.
20131         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20132         is default.  AC_SUBST.
20133         * configure: Regenerated.
20134         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20136 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20138         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20139         to 'unsigned int'.
20141         * resolv/gai_misc.h (struct waitlist): Change type of field
20142         counterp to 'volatile unsigned int *'.
20143         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20144         FUTEXADDR and OLDVAL.
20145         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20146         Give local variable TOTAL type 'volatile unsigned int'.
20147         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20148         * resolv/gai_suspend.c (gai_suspend):
20149         Give local variable CNTR type 'unsigned int'.
20151         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20152         counterp to 'volatile unsigned int *'.
20153         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20154         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20155         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20156         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20157         Give local variable TOTAL type 'volatile unsigned int'.
20158         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20160 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20162         [BZ #18383]
20163         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20164         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20165         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20166         comment for i386/x86-64.
20167         (test-xfail-tst-tlsalign-extern-static): Removed.
20169 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20171         * math/test-double.h: New file.
20172         * math/test-float.h: Likewise.
20173         * math/test-ldouble.h: Likewise.
20174         * math/test-math-inline.h: Likewise.
20175         * math/test-math-no-inline.h: Likewise.
20176         * math/test-math-scalar.h: Likewise.
20177         * math/test-math-vector.h: Likewise.
20178         * math/test-vec-loop.h: Remove file.  Contents moved into
20179         test-math-vector.h.
20180         * math/libm-test.inc (MATHCONST): Do not document macro.
20181         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20182         and test-math-scalar.h.
20183         (FUNC): Remove macro.
20184         (FUNC_TEST): Likewise.
20185         (FLOAT): Likewise.
20186         (MATHCONST): Likewise.
20187         (PRINTF_EXPR): Likewise.
20188         (PRINTF_XEXPR): Likewise.
20189         (PRINTF_NEXPR): Likewise.
20190         (TEST_DOUBLE): Likewise.
20191         (TEST_MATHVEC): Likewise.
20192         (__NO_MATH_INLINES): Likewise.
20193         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20194         and test-math-scalar.h.
20195         (FUNC): Remove macro.
20196         (FUNC_TEST): Likewise.
20197         (FLOAT): Likewise.
20198         (MATHCONST): Likewise.
20199         (PRINTF_EXPR): Likewise.
20200         (PRINTF_XEXPR): Likewise.
20201         (PRINTF_NEXPR): Likewise.
20202         (TEST_FLOAT): Likewise.
20203         (TEST_MATHVEC): Likewise.
20204         (__NO_MATH_INLINES): Likewise.
20205         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20206         and test-math-scalar.h.
20207         (FUNC): Remove macro.
20208         (FUNC_TEST): Likewise.
20209         (FLOAT): Likewise.
20210         (MATHCONST): Likewise.
20211         (PRINTF_EXPR): Likewise.
20212         (PRINTF_XEXPR): Likewise.
20213         (PRINTF_NEXPR): Likewise.
20214         (TEST_DOUBLE): Likewise.
20215         (TEST_MATHVEC): Likewise.
20216         (TEST_INLINE): Likewise.
20217         (__NO_MATH_INLINES): Likewise.
20218         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20219         test-math-scalar.h.
20220         (FUNC): Remove macro.
20221         (FUNC_TEST): Likewise.
20222         (FLOAT): Likewise.
20223         (MATHCONST): Likewise.
20224         (PRINTF_EXPR): Likewise.
20225         (PRINTF_XEXPR): Likewise.
20226         (PRINTF_NEXPR): Likewise.
20227         (TEST_FLOAT): Likewise.
20228         (TEST_MATHVEC): Likewise.
20229         (TEST_INLINE): Likewise.
20230         (__NO_MATH_INLINES): Likewise.
20231         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20232         and test-math-scalar.h.
20233         (FUNC): Remove macro.
20234         (FUNC_TEST): Likewise.
20235         (FLOAT): Likewise.
20236         (MATHCONST): Likewise.
20237         (PRINTF_EXPR): Likewise.
20238         (PRINTF_XEXPR): Likewise.
20239         (PRINTF_NEXPR): Likewise.
20240         (TEST_LDOUBLE): Likewise.
20241         (TEST_MATHVEC): Likewise.
20242         (TEST_INLINE): Likewise.
20243         (__NO_MATH_INLINES): Likewise.
20244         * math/test-ldouble.c: Include test-ldouble.h,
20245         test-math-no-inline.h and test-math-scalar.h.
20246         (FUNC): Remove macro.
20247         (FUNC_TEST): Likewise.
20248         (FLOAT): Likewise.
20249         (MATHCONST): Likewise.
20250         (PRINTF_EXPR): Likewise.
20251         (PRINTF_XEXPR): Likewise.
20252         (PRINTF_NEXPR): Likewise.
20253         (TEST_LDOUBLE): Likewise.
20254         (TEST_MATHVEC): Likewise.
20255         (__NO_MATH_INLINES): Likewise.
20256         * math/test-double-vlen2.h: Include test-double.h,
20257         test-math-no-inline.h and test-math-vector.h.
20258         (FLOAT): Remove macro.
20259         (FUNC): Likewise.
20260         (MATHCONST): Likewise.
20261         (PRINTF_EXPR): Likewise.
20262         (PRINTF_XEXPR): Likewise.
20263         (PRINTF_NEXPR): Likewise.
20264         (TEST_DOUBLE): Likewise.
20265         (TEST_MATHVEC): Likewise.
20266         (__NO_MATH_INLINES): Likewise.
20267         (CNCT): Likewise.
20268         (CONCAT): Likewise.
20269         (WRAPPER_NAME): Likewise.
20270         (WRAPPER_DECL): Likewise.
20271         (WRAPPER_DECL_ff): Likewise.
20272         (WRAPPER_DECL_fFF): Likewise.
20273         (VECTOR_WRAPPER): Likewise.
20274         (VECTOR_WRAPPER_ff): Likewise.
20275         (VECTOR_WRAPPER_fFF): Likewise.
20276         (VEC_LEN): New macro.
20277         * math/test-double-vlen4.h: Include test-double.h,
20278         test-math-no-inline.h and test-math-vector.h.
20279         (FLOAT): Remove macro.
20280         (FUNC): Likewise.
20281         (MATHCONST): Likewise.
20282         (PRINTF_EXPR): Likewise.
20283         (PRINTF_XEXPR): Likewise.
20284         (PRINTF_NEXPR): Likewise.
20285         (TEST_DOUBLE): Likewise.
20286         (TEST_MATHVEC): Likewise.
20287         (__NO_MATH_INLINES): Likewise.
20288         (CNCT): Likewise.
20289         (CONCAT): Likewise.
20290         (WRAPPER_NAME): Likewise.
20291         (WRAPPER_DECL): Likewise.
20292         (WRAPPER_DECL_ff): Likewise.
20293         (WRAPPER_DECL_fFF): Likewise.
20294         (VECTOR_WRAPPER): Likewise.
20295         (VECTOR_WRAPPER_ff): Likewise.
20296         (VECTOR_WRAPPER_fFF): Likewise.
20297         (VEC_LEN): New macro.
20298         * math/test-double-vlen8.h: Include test-double.h,
20299         test-math-no-inline.h and test-math-vector.h.
20300         (FLOAT): Remove macro.
20301         (FUNC): Likewise.
20302         (MATHCONST): Likewise.
20303         (PRINTF_EXPR): Likewise.
20304         (PRINTF_XEXPR): Likewise.
20305         (PRINTF_NEXPR): Likewise.
20306         (TEST_DOUBLE): Likewise.
20307         (TEST_MATHVEC): Likewise.
20308         (__NO_MATH_INLINES): Likewise.
20309         (CNCT): Likewise.
20310         (CONCAT): Likewise.
20311         (WRAPPER_NAME): Likewise.
20312         (WRAPPER_DECL): Likewise.
20313         (WRAPPER_DECL_ff): Likewise.
20314         (WRAPPER_DECL_fFF): Likewise.
20315         (VECTOR_WRAPPER): Likewise.
20316         (VECTOR_WRAPPER_ff): Likewise.
20317         (VECTOR_WRAPPER_fFF): Likewise.
20318         (VEC_LEN): New macro.
20319         * math/test-float-vlen4.h: Include test-float.h,
20320         test-math-no-inline.h and test-math-vector.h.
20321         (FLOAT): Remove macro.
20322         (FUNC): Likewise.
20323         (MATHCONST): Likewise.
20324         (PRINTF_EXPR): Likewise.
20325         (PRINTF_XEXPR): Likewise.
20326         (PRINTF_NEXPR): Likewise.
20327         (TEST_FLOAT): Likewise.
20328         (TEST_MATHVEC): Likewise.
20329         (__NO_MATH_INLINES): Likewise.
20330         (CNCT): Likewise.
20331         (CONCAT): Likewise.
20332         (WRAPPER_NAME): Likewise.
20333         (WRAPPER_DECL): Likewise.
20334         (WRAPPER_DECL_ff): Likewise.
20335         (WRAPPER_DECL_fFF): Likewise.
20336         (VECTOR_WRAPPER): Likewise.
20337         (VECTOR_WRAPPER_ff): Likewise.
20338         (VECTOR_WRAPPER_fFF): Likewise.
20339         (VEC_LEN): New macro.
20340         * math/test-float-vlen8.h: Include test-float.h,
20341         test-math-no-inline.h and test-math-vector.h.
20342         (FLOAT): Remove macro.
20343         (FUNC): Likewise.
20344         (MATHCONST): Likewise.
20345         (PRINTF_EXPR): Likewise.
20346         (PRINTF_XEXPR): Likewise.
20347         (PRINTF_NEXPR): Likewise.
20348         (TEST_FLOAT): Likewise.
20349         (TEST_MATHVEC): Likewise.
20350         (__NO_MATH_INLINES): Likewise.
20351         (CNCT): Likewise.
20352         (CONCAT): Likewise.
20353         (WRAPPER_NAME): Likewise.
20354         (WRAPPER_DECL): Likewise.
20355         (WRAPPER_DECL_ff): Likewise.
20356         (WRAPPER_DECL_fFF): Likewise.
20357         (VECTOR_WRAPPER): Likewise.
20358         (VECTOR_WRAPPER_ff): Likewise.
20359         (VECTOR_WRAPPER_fFF): Likewise.
20360         (VEC_LEN): New macro.
20361         * math/test-float-vlen16.h: Include test-float.h,
20362         test-math-no-inline.h and test-math-vector.h.
20363         (FLOAT): Remove macro.
20364         (FUNC): Likewise.
20365         (MATHCONST): Likewise.
20366         (PRINTF_EXPR): Likewise.
20367         (PRINTF_XEXPR): Likewise.
20368         (PRINTF_NEXPR): Likewise.
20369         (TEST_FLOAT): Likewise.
20370         (TEST_MATHVEC): Likewise.
20371         (__NO_MATH_INLINES): Likewise.
20372         (CNCT): Likewise.
20373         (CONCAT): Likewise.
20374         (WRAPPER_NAME): Likewise.
20375         (WRAPPER_DECL): Likewise.
20376         (WRAPPER_DECL_ff): Likewise.
20377         (WRAPPER_DECL_fFF): Likewise.
20378         (VECTOR_WRAPPER): Likewise.
20379         (VECTOR_WRAPPER_ff): Likewise.
20380         (VECTOR_WRAPPER_fFF): Likewise.
20381         (VEC_LEN): New macro.
20382         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20383         test-vec-loop.h.
20384         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20385         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20386         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20387         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20388         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20390         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20392 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20394         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20395         (__getlogin_r): ... this.
20397 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20399         [BZ #18594]
20400         * math/s_ccosh.c (__ccosh): Compare with least normal value
20401         instead of comparing class with FP_SUBNORMAL.
20402         * math/s_ccoshf.c (__ccoshf): Likewise.
20403         * math/s_ccoshl.c (__ccoshl): Likewise.
20404         * math/s_cexp.c (__cexp): Likewise.
20405         * math/s_cexpf.c (__cexpf): Likewise.
20406         * math/s_cexpl.c (__cexpl): Likewise.
20407         * math/s_csin.c (__csin): Likewise.
20408         * math/s_csinf.c (__csinf): Likewise.
20409         * math/s_csinh.c (__csinh): Likewise.
20410         * math/s_csinhf.c (__csinhf): Likewise.
20411         * math/s_csinhl.c (__csinhl): Likewise.
20412         * math/s_csinl.c (__csinl): Likewise.
20413         * math/s_ctan.c (__ctan): Likewise.
20414         * math/s_ctanf.c (__ctanf): Likewise.
20415         * math/s_ctanh.c (__ctanh): Likewise.
20416         * math/s_ctanhf.c (__ctanhf): Likewise.
20417         * math/s_ctanhl.c (__ctanhl): Likewise.
20418         * math/s_ctanl.c (__ctanl): Likewise.
20419         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20420         csin, csinh, ctan and ctanh.
20421         * math/auto-libm-test-out: Regenerated.
20422         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20423         * sysdeps/i386/fpu/libm-test-ulps: Update.
20424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20426 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20428         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20429         return value is wrong, print the expected value too.
20431 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20433         [BZ #18585]
20434         * elf/readlib.c (is_gdb_python_file): New.
20435         (process_file): Don't issue errors on filenames with -gdb.py
20436         suffix.
20438 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20440         * math/auto-libm-test-in: Add more tests of csin and csinh.
20441         * math/auto-libm-test-out: Regenerated.
20442         * math/libm-test.inc (csin_test_data): Remove tests moved to
20443         auto-libm-test-in.
20444         (csinh_test_data): Likewise.
20446         [BZ #18593]
20447         * math/s_csin.c (__csin): Negate before rather than after possibly
20448         overflowing multiplication.
20449         * math/s_csinf.c (__csinf): Likewise.
20450         * math/s_csinh.c (__csinh): Likewise.
20451         * math/s_csinhf.c (__csinhf): Likewise.
20452         * math/s_csinhl.c (__csinhl): Likewise.
20453         * math/s_csinl.c (__csinl): Likewise.
20454         * math/auto-libm-test-in: Add some tests of csin and csinh.
20455         * math/auto-libm-test-out: Regenerated.
20456         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20457         (csinh_test_data): Likewise.
20458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20460         [BZ #18586]
20461         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20462         underflow exception for small results.
20464 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20466         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20468         variable and included header.
20469         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20471         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20472         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20473         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20474         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20475         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20477         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20478         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20479         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20480         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20481         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20482         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20483         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20484         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20486 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20488         [BZ #16526]
20489         [BZ #16538]
20490         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20491         (__sin): Force underflow exception for arguments with small
20492         absolute value.
20493         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20494         (__kernel_sinf): Force underflow exception for arguments with
20495         small absolute value.
20496         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20497         (__kernel_sincosl): Force underflow exception for arguments with
20498         small absolute value.
20499         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20500         (__kernel_sinl): Force underflow exception for arguments with
20501         small absolute value.
20502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20503         (__kernel_sincosl): Force underflow exception for arguments with
20504         small absolute value.
20505         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20506         (__kernel_sinl): Force underflow exception for arguments with
20507         small absolute value.
20508         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20509         (__kernel_sinl): Force underflow exception for arguments with
20510         small absolute value.
20511         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20512         (__kernel_sinf): Force underflow exception for arguments with
20513         small absolute value.
20514         * math/auto-libm-test-in: Add more tests of sin and sincos.
20515         * math/auto-libm-test-out: Regenerated.
20517         [BZ #18245]
20518         [BZ #18583]
20519         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20520         (__kernel_standard_l): Use feholdexcept and fesetenv around
20521         conversion to double instead of special-casing overflow and
20522         underflow.
20523         * math/libm-test.inc (fmod_test_data): Add more tests.
20524         (remainder_test_data): Likewise.
20525         (sqrt_test_data): Likewise.
20527 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20529         [BZ #17403]
20530         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20531         atomic_read_barrier, atomic_write_barrier): Define.
20532         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20533         atomic_read_barrier, atomic_write_barrier): Define.
20535 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20537         * math/Makefile [$(PERL) != no]
20538         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20539         dependency on libm-test.stmp below the inclusion of Rules.
20541 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20543         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20544         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20545         and included header.
20546         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20548         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20549         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20550         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20554         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20555         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20556         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20557         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20558         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20559         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20560         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20561         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20562         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20563         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20564         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20566 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20568         [BZ #18371]
20569         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20570         intermediate but not final result might underflow.
20571         * math/s_csqrtf.c (__csqrtf): Likewise.
20572         * math/s_csqrtl.c (__csqrtl): Likewise.
20573         * math/auto-libm-test-in: Add more tests of csqrt.
20574         * math/auto-libm-test-out: Regenerated.
20575         * sysdeps/i386/fpu/libm-test-ulps: Update.
20577         [BZ #18219]
20578         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20579         threshold on absolute value of exponent for which scaling is used.
20580         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20581         * math/auto-libm-test-in: Add more tests of exp2.
20582         * math/auto-libm-test-out: Regenerated.
20584 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20586         [BZ #17977]
20587         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20588         when initializing interface list, based on the bug analysis
20589         and the patch proposed by Eric Newton.
20590         * resolv/tst-res_hconf_reorder.c: New test.
20591         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20592         tst-res_hconf_reorder.
20593         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20594         and $(shared-thread-library).
20595         (tst-res_hconf_reorder-ENV): New variable.
20597         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20598         in comment.
20600 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20602         [BZ #16353]
20603         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20604         (__expm1): Force underflow exception for arguments with small
20605         absolute value.
20606         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20607         (__expm1f): Force underflow exception for arguments with small
20608         absolute value.
20609         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20610         (__expm1): Force underflow exception for arguments with small
20611         absolute value.
20612         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20613         (__expm1f): Force underflow exception for arguments with small
20614         absolute value.
20615         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20616         Check for small arguments before calling __expm1.
20617         * math/auto-libm-test-in: Do not mark underflow exceptions as
20618         possibly missing for bug 16353.
20619         * math/auto-libm-test-out: Regenerated.
20621 2015-06-22  Andreas Schwab  <schwab@suse.de>
20623         [BZ #18513]
20624         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20625         PTR queries.
20627 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20629         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20631         * string/strcoll_l.c: Remove unused struct element idxnow.
20633 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20635         [BZ #18569]
20636         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20637         underflow and return argument in case of subnormal argument.
20638         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20639         Likewise.
20640         * math/auto-libm-test-in: Add more tests of expm1.
20641         * math/auto-libm-test-out: Regenerated.
20643         [BZ #16361]
20644         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20645         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20646         tiny results.
20647         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20648         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20649         tiny results.
20650         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20651         mark underflow exceptions as possibly missing for bug 16361.
20652         * math/auto-libm-test-out: Regenerated.
20654 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20656         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20657         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20658         Remove variable.
20659         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20660         (test-xfail-XOPEN2K8/utmpx.h/conform).
20662         * conform/conformtest.pl ($xerrors): New variable.
20663         (note_error): New function.
20664         (compiletest): New argument $xfail.  Use not_error.
20665         (runtest): Likewise.
20666         (top level): Handle xfail- lines.  Update calls to compiletest and
20667         runtest.  Handle xfail- and optional- in headers listed with
20668         allow-header.
20669         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20670         (O_EXEC): Likewise.
20671         (O_SEARCH): Likewise.
20672         * conform/data/stropts.h-data (ioctl): Likewise.
20673         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20674         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20675         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20676         (msghdr.msg_controllen): Likewise.
20677         (cmsghdr.cmsg_len): Likewise.
20678         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20679         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20680         variable.
20681         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20682         (test-xfail-XPG4/stropts.h/conform): Likewise.
20683         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20684         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20685         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20686         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20687         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20688         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20689         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20690         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20691         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20692         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20693         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20694         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20695         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20696         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20697         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20698         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20699         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20700         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20701         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20703 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20705         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20706         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20707         definitions for proper unfolding of __MATHDECL_VEC.
20709 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20711         * benchtests/bench-strcoll.c:
20712         Include string.h.
20713         (main): Remove unused variable res.
20715 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20717         * timezone/Makefile (%/UTC %/Universal):
20718         Generate test-result files for UTC and Universal.
20720 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20722         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20724 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20726         [BZ #16350]
20727         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20728         for arguments with small absolute value.
20729         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20730         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20731         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20732         (__asinh): Force underflow exception for arguments with small
20733         absolute value.
20734         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20735         (__asinhf): Force underflow exception for arguments with small
20736         absolute value.
20737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20738         (__asinhl): Force underflow exception for arguments with small
20739         absolute value.
20740         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20741         (__asinhl): Force underflow exception for arguments with small
20742         absolute value.
20743         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20744         (__asinhl): Force underflow exception for arguments with small
20745         absolute value.
20746         * math/auto-libm-test-in: Do not mark underflow exceptions as
20747         possibly missing for bug 16350.
20748         * math/auto-libm-test-out: Regenerated.
20750         * include/bits/ipc.h: Remove file.
20751         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20752         variable.
20753         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20754         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20755         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20756         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20757         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20758         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20759         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20760         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20761         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20763         * math/auto-libm-test-in: Remove spurious underflow allowance for
20764         tests of cexp.
20765         * math/auto-libm-test-out: Regenerated.
20767         [BZ #18558]
20768         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20769         unconditional definition.
20770         (MCAST_BLOCK_SOURCE): Likewise.
20771         (MCAST_UNBLOCK_SOURCE): Likewise.
20772         (MCAST_LEAVE_GROUP): Likewise.
20773         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20774         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20775         (MCAST_MSFILTER): Likewise.
20776         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20777         Remove variable.
20778         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20779         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20780         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20781         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20782         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20784 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20786         * NEWS: Mention addition of x86_64 vector sincosf.
20787         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20788         * math/test-float-vlen4.h: Likewise.
20789         * math/test-float-vlen8.h: Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20791         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20792         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20793         * sysdeps/x86_64/fpu/Versions: New versions added.
20794         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20795         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20796         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20797         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20798         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20799         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20800         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20803         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20804         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20805         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20806         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20807         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20808         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20809         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20810         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20811         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20812         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20813         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20814         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20816         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20817         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20819         * NEWS: Mention addition of x86_64 vector sincos.
20820         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20821         * math/math.h (__MATHDECL_VEC): New macro.
20822         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20823         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20824         declaration under condition.
20825         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20826         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20827         TEST_VEC_LOOP change.
20828         * math/test-double-vlen4.h: Likewise.
20829         * math/test-double-vlen8.h: Likewise.
20830         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20831         * math/test-float-vlen4.h: Likewise.
20832         * math/test-float-vlen8.h: Likewise.
20833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20834         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20836         * sysdeps/x86_64/fpu/Versions: New versions added.
20837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20839         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20840         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20841         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20842         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20843         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20846         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20847         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20848         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20849         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20850         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20851         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20852         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20853         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20857         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20862         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20863         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20864         redirections for powf.
20865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20866         * sysdeps/x86_64/fpu/Versions: New versions added.
20867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20868         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20869         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20870         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20872         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20873         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20874         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20877         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20878         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20879         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20880         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20881         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20882         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20884         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20891         * math/test-float-vlen16.h: Fixed 2 argument macro.
20892         * math/test-float-vlen4.h: Likewise.
20893         * math/test-float-vlen8.h: Likewise.
20894         * NEWS: Mention addition of x86_64 vector powf.
20896 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20898         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20899         and redefine.
20900         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20901         and redefine.
20902         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20903         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20904         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20906         [BZ #18553]
20907         * resource/getpriority.c (getpriority): Rename to __getpriority
20908         and define as weak alias of __getpriority.
20909         * resource/setpriority.c (setpriority): Rename to __setpriority
20910         and define as weak alias of __setpriority.
20911         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20912         __getpriority and define as weak alias of __getpriority.
20913         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20914         __setpriority and define as weak alias of __setpriority.
20915         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20916         strong name.
20917         (setpriority): Use __setpriority as strong name.
20918         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20919         __getpriority and define as weak alias of __getpriority.
20920         * include/sys/resource.h (__getpriority): Declare.  Use
20921         libc_hidden_proto.
20922         (__setpriority): Likewise.
20923         (getpriority): Don't use libc_hidden_proto.
20924         (setpriority): Likewise.
20925         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20926         getpriority.  Call __setpriority instead of setpriority.
20927         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20928         Remove variable.
20930         [BZ #18547]
20931         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20932         as weak alias of __getttynam.  Use prototype function definition.
20933         Call __setttyent, __getttyent and __endttyent instead of
20934         setttyent, getttyent and endttyent.
20935         (getttyent): Rename to __getttyent and define as weak alias of
20936         __getttyent.  Call __setttyent instead of setttyent.  Call
20937         __fgets_unlocked instead of fgets_unlocked.
20938         (setttyent): Rename to __setttyent and define as weak alias of
20939         __setttyent.
20940         (endttyent): Rename to __endttyent and define as weak alias of
20941         __endttyent.
20942         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20943         (__setttyent): Likewise.
20944         (__endttyent): Likewise.
20945         (getttyent): Don't use libc_hidden_proto.
20946         (setttyent): Likewise.
20947         (endttyent): Likewise.
20948         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20949         __endttyent instead of setttyent, getttyent and endttyent.
20950         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20951         Remove variable.
20953         [BZ #18546]
20954         * socket/recv.c (__recv): Use libc_hidden_def.
20955         * socket/socket.c (__socket): Likewise.
20956         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20957         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20958         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20959         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20960         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20961         libc_hidden_def.
20962         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20963         libc_hidden_weak.
20964         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20965         Use libc_hidden_proto.
20966         (__recv): Likewise.
20967         * socket/Versions (libc): Export __recv and __socket at version
20968         GLIBC_PRIVATE.
20969         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20970         instead of recv.
20971         (init_mq_netlink): Call __socket instead of socket.
20972         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20973         Remove variable.
20975         [BZ #18545]
20976         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20977         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20978         hidden_weak.
20979         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20980         define as alias of __mq_timedsend.  Use hidden_weak.
20981         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20982         __mq_timedsend as strong name.
20983         (mq_timedreceive): Use __mq_timedreceive as strong name.
20984         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20985         (__mq_timedreceive): Likewise.
20986         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20987         __mq_timedreceive instead of mq_timedreceive.
20988         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20989         instead of mq_timedsend.
20990         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20991         Remove variable.
20993         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20994         hidden_def and hidden_weak instead of libc_hidden_def and
20995         libc_hidden_weak.
20996         (top level): Refer to hidden_def in comment.
20997         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20998         macro.  Use it instead of libc_hidden_def.
20999         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21000         specify __GI_* name explicitly.
21001         (mq_timedreceive): Likewise.
21002         (mq_setattr): Likewise.
21004         [BZ #18544]
21005         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21006         __pthread_barrier_init and define as weak alias of
21007         __pthread_barrier_init.
21008         * sysdeps/sparc/nptl/pthread_barrier_init.c
21009         (pthread_barrier_init): Likewise.
21010         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21011         __pthread_barrier_wait and define as weak alias of
21012         __pthread_barrier_wait.
21013         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21014         (pthread_barrier_wait): Likewise.
21015         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21016         (pthread_barrier_wait): Likewise.
21017         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21018         (pthread_barrier_wait): Likewise.
21019         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21020         (pthread_barrier_wait): Likewise.
21021         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21022         __pthread_barrier_wait at version GLIBC_PRIVATE.
21023         * include/pthread.h (__pthread_barrier_init): Declare.
21024         (__pthread_barrier_wait): Likewise.
21025         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21026         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21027         (helper_thread): Likewise.
21028         (init_mq_netlink): Call __pthread_barrier_init instead of
21029         pthread_barrier_init.
21031         [BZ #18542]
21032         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21033         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21034         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21035         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21036         vswscanf.
21037         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21038         Remove variable.
21040         [BZ #18540]
21041         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21042         strong alias of _IO_fflush.  Use libc_hidden_def.
21043         * libio/iofflush_u.c (fflush_unlocked): Rename to
21044         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21045         Use libc_hidden_weak.
21046         * include/stdio.h (__fflush_unlocked): Declare.  Use
21047         libc_hidden_proto.
21048         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21049         fflush_unlocked.
21050         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21051         Remove variable.
21053         [BZ #18539]
21054         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21055         define as weak alias of __addseverity.
21056         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21057         Remove variable.
21058         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21059         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21060         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21062         [BZ #18536]
21063         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21064         (__tfind): Likewise.
21065         (__tdelete): Likewise.
21066         (__twalk): Likewise.
21067         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21068         __twalk to GLIBC_PRIVATE.
21069         * include/search.h (__tsearch): Use libc_hidden_proto.
21070         (__tfind): Likewise.
21071         (__tdelete): Likewise.
21072         (__twalk): Likewise.
21073         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21074         Call __tdelete instead of tdelete.
21075         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21076         tfind.  Call __tsearch instead of tsearch.
21077         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21078         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21079         Remove variable.
21080         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21082         [BZ #18534]
21083         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21084         (dprintf): Define as a weak alias of __dprintf, not a strong
21085         alias.
21086         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21087         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21088         dprintf.
21089         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21090         Remove variable.
21091         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21092         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21094         [BZ #18533]
21095         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21096         not a strong alias.
21097         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21098         Remove variable.
21100         [BZ #18532]
21101         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21102         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21103         (in6addr_loopback): Rename to __in6addr_loopback and define as
21104         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21105         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21106         libc_hidden_proto.
21107         (__in6addr_any): Likewise.
21108         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21109         in6addr_any.
21110         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21111         variable.
21112         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21114 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21116         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21117         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21120         redirections for pow.
21121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21122         * sysdeps/x86_64/fpu/Versions: New versions added.
21123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21125         build of SSE, AVX2 and AVX512 IFUNC versions.
21126         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21127         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21128         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21129         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21133         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21134         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21135         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21136         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21137         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21138         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21139         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21140         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21143         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21144         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21145         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21146         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21147         * NEWS: Mention addition of x86_64 vector pow.
21149         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21150         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21151         redirections for expf.
21152         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21153         * sysdeps/x86_64/fpu/Versions: New versions added.
21154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21155         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21156         build of SSE, AVX2 and AVX512 IFUNC versions.
21157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21159         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21160         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21163         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21164         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21165         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21166         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21167         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21168         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21169         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21170         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21171         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21172         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21175         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21176         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21177         * NEWS: Mention addition of x86_64 vector expf.
21179         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21180         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21183         redirections for exp.
21184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21185         * sysdeps/x86_64/fpu/Versions: New versions added.
21186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21188         build of SSE, AVX2 and AVX512 IFUNC versions.
21189         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21190         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21191         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21195         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21196         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21197         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21198         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21199         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21200         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21201         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21202         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21203         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21205         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21206         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21207         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21208         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21209         * NEWS: Mention addition of x86_64 vector exp.
21211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21213         redirections for logf.
21214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21215         * sysdeps/x86_64/fpu/Versions: New versions added.
21216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21218         build of SSE, AVX2 and AVX512 IFUNC versions.
21219         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21220         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21221         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21222         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21225         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21226         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21227         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21228         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21229         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21230         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21231         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21232         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21233         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21234         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21235         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21237         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21238         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21239         * NEWS: Mention addition of x86_64 vector logf.
21241         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21242         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21243         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21244         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21245         redirections for log.
21246         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21247         * sysdeps/x86_64/fpu/Versions: New versions added.
21248         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21249         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21250         build of SSE, AVX2 and AVX512 IFUNC versions.
21251         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21252         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21253         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21254         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21255         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21256         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21257         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21258         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21259         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21260         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21261         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21262         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21263         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21264         test.
21265         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21266         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21267         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21268         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21269         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21270         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21271         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21272         * NEWS: Mention addition of x86_64 vector log.
21274 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21276         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21277         cfi_adjust_cfa_offset argument.
21278         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21279         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21281         [BZ #18034]
21282         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21283         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21284         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21285         ordering using ldar.
21286         (_dl_tlsdesc_dynamic): Likewise.
21287         (_dl_tlsdesc_return_lazy): Likewise.
21288         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21289         relaxed atomics instead of volatile and synchronize with release store.
21290         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21291         volatile.
21292         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21294 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21296         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21297         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21298         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21299         * sysdeps/x86_64/fpu/Versions: New versions added.
21300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21301         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21302         build of SSE, AVX2 and AVX512 IFUNC versions.
21303         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21304         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21305         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21306         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21309         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21310         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21311         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21312         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21313         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21314         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21315         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21316         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21317         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21318         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21319         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21320         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21321         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21322         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21323         * NEWS: Mention addition of x86_64 vector sinf.
21325 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21327         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21328         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21329         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21330         Remove variable.
21331         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21332         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21334 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21336         [BZ #18530]
21337         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21338         strong alias of _IO_fputs.  Use libc_hidden_def.
21339         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21340         and define as weak alias of __fputs_unlocked.  Use
21341         libc_hidden_weak.
21342         * include/stdio.h (__fputs_unlocked): Declare.  Use
21343         libc_hidden_proto.
21344         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21345         fputs_unlocked.
21347         [BZ #18529]
21348         * resolv/netdb.h [__USE_POSIX]: Change condition to
21349         [__USE_XOPEN2K].
21350         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21351         not expect.
21352         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21353         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21354         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21355         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21356         [XPG4 || UNIX98] (AI_ALL): Likewise.
21357         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21358         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21359         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21360         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21361         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21362         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21363         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21364         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21365         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21366         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21367         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21368         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21369         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21370         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21371         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21372         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21373         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21374         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21375         [XPG4 || UNIX98] (gai_strerror): Likewise.
21376         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21377         [XPG4 || UNIX98] (getnameinfo): Likewise.
21379         [BZ #18528]
21380         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21381         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21382         __USE_XOPEN2K8].
21383         (getgrent): Likewise.
21384         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21385         expect.
21386         [XPG3 || POSIX2008] (endgrent): Likewise.
21387         [XPG3] (setgrent): Likewise.
21388         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21389         variable.
21390         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21392         [BZ #18527]
21393         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21394         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21395         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21396         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21397         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21398         * include/unistd.h (__getlogin_r): Declare.  Use
21399         libc_hidden_proto.
21400         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21401         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21402         variable.
21403         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21404         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21405         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21407 2015-06-12  Martin Sebor  <msebor@redhat.com>
21409         [BZ #18512]
21410         * Makerules (check-install-supported): New target.
21411         (install): Add check-install-supported as a dependency.
21412         * manual/install.texi (Installing the C Library): Document
21413         that overriding prefix and exec_prefix is not supported.
21414         Mention DESTDIR.
21415         * INSTALL: Regenerate from the above.
21417 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21419         [BZ #18519]
21420         * posix/Versions (libc): Export __libc_pread at version
21421         GLIBC_PRIVATE.
21422         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21423         instead of pread.
21424         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21425         variable.
21427         [BZ #18522]
21428         * misc/efgcvt_r.c
21429         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21430         (cvt_symbol): Use weak_alias instead of strong_alias.
21431         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21432         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21433         Remove variable.
21434         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21435         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21437         [BZ #18520]
21438         * inet/herrno.c (h_errno): Rename to __h_errno.
21439         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21440         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21441         to __h_errno instead of h_errno.
21442         * nptl/herrno.c (h_errno): Rename to __h_errno.
21443         (__h_errno_location): Refer to __h_errno not h_errno.
21444         * resolv/Versions (h_errno): Rename to __h_errno.
21445         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21446         Remove variable.
21447         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21449 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21451         * configure.ac: More strict check for AVX512 assembler support.
21452         * configure: Regenerated.
21454         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21455         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21456         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21457         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21459         * sysdeps/x86_64/fpu/Versions: New versions added.
21460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21461         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21462         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21463         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21464         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21466         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21469         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21470         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21471         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21472         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21473         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21474         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21475         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21476         test.
21477         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21479         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21480         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21481         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21482         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21483         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21484         * NEWS: Mention addition of x86_64 vector sin.
21486 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21488         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21489         comment.
21491 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21493         [BZ #18479]
21494         * nptl/pt-interp.c: New file.
21495         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21496         Add pt-interp.
21497         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21498         $(common-objpfx)runtime-linker.h.
21500 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21502         * Makeconfig (+interp): Remove unused variable.
21503         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21504         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21505         $(elf-objpfx)runtime-linker.h.
21506         ($(elf-objpfx)runtime-linker.h): Rename to
21507         $(common-objpfx)runtime-linker.h and move ...
21508         * Makerules [$(build-shared) = yes]: ... here.
21509         * elf/interp.c: Include <runtime-linker.h> instead of
21510         <elf/runtime-linker.h>.
21512 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21514         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21515         (__gettimeofday_syscall): Remove vsyscall fallback.
21516         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21517         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21518         Add syscall fallback function.
21519         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21520         if vDSO is not present.
21521         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21522         fallback function.
21523         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21524         present.
21525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21526         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21528 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21530         [BZ #18497]
21531         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21532         of wcscmp.
21533         (wcscmp): Define as weak alias of WCSCMP.
21534         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21535         wcscoll.
21536         (USE_HIDDEN_DEF): Define.
21537         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21538         __wcscoll.  Don't use libc_hidden_weak.
21539         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21540         wcscmp.
21541         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21542         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21543         __GI_wcscmp.
21544         (weak_alias): Undefine and redefine.
21545         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21546         __wcscmp and define as weak alias of __wcscmp.
21547         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21548         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21549         (__wcscoll): Likewise.
21550         (wcscmp): Don't use libc_hidden_proto.
21551         (wcscoll): Likewise.
21552         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21553         wcscoll.
21554         * posix/regexec.c (check_node_accept_bytes): Likewise.
21555         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21556         variable.
21557         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21558         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21560         [BZ #18507]
21561         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21562         __fstatvfs and define as weak alias of __fstatvfs.  Use
21563         libc_hidden_weak.
21564         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21565         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21566         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21567         Define as alias of __fstatvfs, not fstatvfs.
21568         (fstatvfs64): Likewise.
21569         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21570         Define as alias of __statvfs, not statvfs.
21571         (statvfs64): Likewise.
21572         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21573         Remove variable.
21575 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21578         (HAVE_GETCPU_VSYSCALL): Define.
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21580         (HAVE_GETCPU_VSYSCALL): Likewise.
21581         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21582         * sysdeps/unix/sysv/linux/sched_getcpu.c
21583         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21584         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21585         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21586         prototype.
21587         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21588         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21589         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21591         Define.
21592         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21593         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21594         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21595         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21597 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21599         * sysdeps/x86_64/fpu/Makefile: New file.
21600         * sysdeps/x86_64/fpu/Versions: New file.
21601         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21602         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21603         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21604         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21605         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21606         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21607         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21608         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21611         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21614         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21615         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21617         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21618         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21619         * sysdeps/x86_64/configure: Regenerated.
21620         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21621         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21622         * manual/install.texi (Configuring and compiling): Document
21623         --disable-mathvec.
21624         * INSTALL: Regenerated.
21625         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21627         * math/Makefile: Added rules for vector tests.
21628         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21629         declaration under condition.
21630         * math/test-double-vlen2.h: New file.
21631         * math/test-double-vlen4.h: New file.
21632         * math/test-double-vlen8.h: New file.
21633         * math/test-vec-loop.h: Added initialization macro.
21634         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21636         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21637         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21638         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21640         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21641         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21642         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21643         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21644         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21646         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21647         * sysdeps/x86_64/fpu/Versions: New versions added.
21648         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21650         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21651         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21652         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21655         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21656         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21658         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21659         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21660         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21661         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21662         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21665         * NEWS: Mention addition of x86_64 vector cosf.
21667         * math/Makefile: Added CFLAGS for new tests.
21668         * math/test-float-vlen16.h: New file.
21669         * math/test-float-vlen4.h: New file.
21670         * math/test-float-vlen8.h: New file.
21671         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21672         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21673         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21674         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21675         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21676         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21677         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21678         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21680         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21681         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21683 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21685         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21686         * locale/programs/ld-ctype.c: Likewise.
21688 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21690         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21691         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21692         bit_ZMM16_31_state): New macro.
21693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21694         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21696 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21698         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21700 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21702         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21704 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21706         [BZ #18498]
21707         * libio/memstream.c (open_memstream): Rename to __open_memstream
21708         and define as weak alias of __open_memstream.
21709         * include/stdio.h (__open_memstream): Declare.  Use
21710         libc_hidden_proto.
21711         (open_memstream): Don't use libc_hidden_proto.
21712         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21713         open_memstream.
21714         * posix/getopt.c (_getopt_internal_r): Likewise.
21715         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21716         variable.
21717         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21718         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21719         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21721         [BZ #18496]
21722         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21723         instead of wcrtomb.
21725         [BZ #18483]
21726         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21727         [__USE_XOPEN2K8].  Remove redundant #endif.
21728         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21729         Remove redundant #if.
21730         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21731         Remove variable.
21732         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21733         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21735         [BZ #18495]
21736         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21737         (__iswlower): Likewise.
21738         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21739         (__iswlower): Likewise.
21740         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21741         instead of towlower.
21742         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21743         instead of iswlower.  Call __towupper instead of towupper.
21744         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21745         instead of iswalnum.
21747 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21749         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21750         errors to stderr.
21752 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21754         [BZ #15661]
21755         [BZ #17322]
21756         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21757         Check for overflow properly.  Check for O_APPEND.  Ignore large
21758         file system block sizes.  Add comments about problems.
21759         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21760         * manual/filesys.texi (Storage Allocation): New node.
21762 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21764         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21765         cancellable syscalls.
21766         (SYS_ify): Add guard to no redefine it.
21767         (INLINE_SYSCALL): Likewise.
21768         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21769         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21770         SYSCALL_CANCEL instead.
21771         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21772         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21773         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21774         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21775         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21776         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21777         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21778         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21779         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21780         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21781         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21782         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21783         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21784         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21785         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21787         Likewise.
21788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21789         (__libc_pread64): Likewise.
21790         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21791         (__libc_preadv): Likewise.
21792         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21793         (__libc_readv64): Likewise.
21794         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21795         (__libc_pwrite): Likewise.
21796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21797         (__libc_pwrite64): Likewise.
21798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21799         (__libc_pwritev): Likewise.
21800         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21801         (__libc_pwritev64): Likewise.
21802         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21803         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21804         (sync_file_range): Likewise.
21805         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21806         Likewise.
21807         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21808         Likewise.
21809         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21810         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21811         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21812         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21813         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21814         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21815         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21816         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21818         Likewise.
21819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21820         (__libc_read64): Likewise.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21822         Likewise.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21824         Likewise.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21826         Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21828         Likewise.
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21830         (__libc_pread64): Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21832         Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21834         (__libc_pwrite64): Likewise.
21835         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21836         (sync_file_range): Likewise.
21837         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21838         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21839         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21840         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21841         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21842         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21843         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21844         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21845         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21846         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21847         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21848         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21849         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21850         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21851         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21852         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21853         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21854         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21855         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21856         Likewise.
21857         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21858         Likewise.
21859         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21860         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21861         Likewise.
21862         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21863         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21864         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21865         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21866         Likewise.
21867         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21868         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21869         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21870         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21871         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21873 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21875         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21876         Include dl-vdso.
21877         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21878         Use VDSO routines for gettimeofday, clock_gettime if
21879         available.
21880         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21881         Declare VDSO symbols.
21882         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21883         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21884         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21885         * sysdeps/unix/sysv/linux/arm/Versions: Add
21886         __vdso_clock_gettime.
21888 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21890         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21891         be an inline implementation regardless of library is built within.
21892         (open_not_cancel_2): Likewise.
21893         (__read_nocancel): Likewise.
21894         (__write_nocancel): Likewise.
21895         (openat_not_cancel): Likewise.
21896         (openat_not_cancel_3): Likewise.
21897         (openat64_not_cancel): Likewise.
21898         (openat64_not_cancel_3): Likewise.
21899         (__close_nocancel): Likewise.
21900         (pause_not_cancel): Likewise.
21901         (nanosleep_not_cancel): Likewise.
21902         (sigsuspend_not_cancel): Likewise.
21904 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21906         [BZ #14958]
21907         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21908         wake-up.
21909         (__pthread_rwlock_rdlock_slow): Likewise.
21910         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21911         Likewise.
21912         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21913         Likewise.
21914         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21915         * nptl/tst-rwlock16.c: New file.
21916         * nptl/Makefile (tests): Add new test.
21918 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21920         [BZ #18324]
21921         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21922         missing wake-up of readers.
21923         * nptl/tst-rwlock15.c: New file.
21924         * nptl/Makefile (tests): Add new test.
21926 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21928         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21929         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21930         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21931         and __nacl_supply_interface_rtld.
21932         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21933         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21934         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21935         Add __nacl_supply_interface_rtld.
21936         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21938 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21940         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21941         isfinite.
21942         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21943         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21945 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21947         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21948         __signbit* with standard C99 macros.
21949         * math/e_exp10l.c: Likewise.
21950         * math/e_exp2l.c: Likewise.
21951         * math/e_scalb.c: Likewise.
21952         * math/e_scalbf.c: Likewise.
21953         * math/e_scalbl.c: Likewise.
21954         * math/s_ldexp.c: Likewise.
21955         * math/s_ldexpf.c: Likewise.
21956         * math/s_ldexpl.c: Likewise.
21957         * math/w_atan2.c: Likewise.
21958         * math/w_atan2f.c: Likewise.
21959         * math/w_atan2l.c: Likewise.
21960         * math/w_cosh.c: Likewise.
21961         * math/w_coshf.c: Likewise.
21962         * math/w_coshl.c: Likewise.
21963         * math/w_exp10.c: Likewise.
21964         * math/w_exp10f.c: Likewise.
21965         * math/w_exp10l.c: Likewise.
21966         * math/w_exp2.c: Likewise.
21967         * math/w_exp2f.c: Likewise.
21968         * math/w_exp2l.c: Likewise.
21969         * math/w_fmod.c: Likewise.
21970         * math/w_fmodf.c: Likewise.
21971         * math/w_fmodl.c: Likewise.
21972         * math/w_hypot.c: Likewise.
21973         * math/w_hypotf.c: Likewise.
21974         * math/w_hypotl.c: Likewise.
21975         * math/w_jnl.c: Likewise.
21976         * math/w_lgamma.c: Likewise.
21977         * math/w_lgamma_r.c: Likewise.
21978         * math/w_lgammaf.c: Likewise.
21979         * math/w_lgammaf_r.c: Likewise.
21980         * math/w_lgammal.c: Likewise.
21981         * math/w_lgammal_r.c: Likewise.
21982         * math/w_pow.c: Likewise.
21983         * math/w_powf.c: Likewise.
21984         * math/w_powl.c: Likewise.
21985         * math/w_remainder.c: Likewise.
21986         * math/w_remainderf.c: Likewise.
21987         * math/w_remainderl.c: Likewise.
21988         * math/w_scalb.c: Likewise.
21989         * math/w_scalbf.c: Likewise.
21990         * math/w_scalbl.c: Likewise.
21991         * math/w_scalbln.c: Likewise.
21992         * math/w_scalblnf.c: Likewise.
21993         * math/w_scalblnl.c: Likewise.
21994         * math/w_sinh.c: Likewise.
21995         * math/w_sinhf.c: Likewise.
21996         * math/w_sinhl.c: Likewise.
21997         * math/w_tgamma.c: Likewise.
21998         * math/w_tgammaf.c: Likewise.
21999         * math/w_tgammal.c: Likewise.
22000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22001         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22002         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22003         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22004         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22006         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22007         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22008         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22009         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22010         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22011         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22012         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22013         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22014         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22015         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22016         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22017         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22018         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22021         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22022         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22024         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22025         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22026         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22027         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22028         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22029         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22030         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22031         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22032         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22033         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22034         * stdio-common/printf_fp.c: Likewise.
22035         * stdio-common/printf_fphex.c: Likewise.
22036         * stdio-common/printf_size.c: Likewise.
22038 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22040         [BZ #18470]
22041         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22042         strnlen.
22043         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22044         Remove variable.
22045         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22046         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22047         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22048         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22049         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22050         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22051         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22052         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22053         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22054         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22056         [BZ #18468]
22057         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22058         weak alias of __wmemchr.  Use libc_hidden_weak.
22059         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22060         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22061         instead of wmemchr.
22063 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22065         [BZ #18383]
22066         * elf/tst-tlsalign-extern.c: New file.
22067         * elf/tst-tlsalign-extern-static.c: New file.
22068         * elf/tst-tlsalign-vars.c: New file.
22069         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22070         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22071         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22072         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22073         (test-xfail-tst-tlsalign-extern-static): New variable.
22075 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22077         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22078         Use variable name _sc_err instead of err.
22079         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22080         instead of ret.
22081         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22082         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22083         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22084         (INLINE_SYSCALL): Likewise.
22086         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22087         * include/string.h (__strnlen): Use libc_hidden_proto.
22088         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22089         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22090         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22091         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22092         (libc_hidden_def): Undefine and redefine.
22093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22094         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22095         __GI_strnlen.
22096         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22097         libc_hidden_def.
22098         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22100         [BZ #18469]
22101         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22102         weak alias of __towlower.  Use libc_hidden_weak.
22103         (towupper): Rename to __towupper and define as weak alias of
22104         __towupper.  Use libc_hidden_weak.
22105         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22106         (__towupper): Likewise.
22107         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22108         __towlower instead of towlower.
22110 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22112         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22113         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22115 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22117         * sysdeps/aarch64/libm-test-ulps: Update.
22119 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22121         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22122         Define.
22123         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22125         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22126         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22127         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22128         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22129         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22131 2015-06-01  Martin Sebor  <msebor@redhat.com>
22133         [BZ #18116]
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22135         (__setcontext): Use extended four-operand version of mtsf whenever
22136         possible.
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22138         (__novec_swapcontext): Likewise.
22140 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22142         * benchtests/scripts/compare_bench.py: New file.
22143         * benchtests/scripts/import_bench.py (mean): New function.
22144         (split_list): Likewise.
22145         (do_for_all_timings): Likewise.
22146         (compress_timings): Likewise.
22148         * benchtests/scripts/import_bench.py: New file.
22149         * benchtests/scripts/validate_benchout.py: Import import_bench
22150         instead of jsonschema.
22151         (validate_bench): Remove function.
22152         (main): Use import_bench.
22154 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22156         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22157         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22159 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22163 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22165         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22166         set THREAD_SELF->tid to a magic value and futex-wake it.
22167         Pass its address to the thread_exit system call.
22168         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22169         bit is clear.
22170         * sysdeps/nacl/lowlevellock.h: New file.
22171         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22173         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22174         Add TIMEOUT to current time, don't subtract it.
22176 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22178         [BZ #2981]
22179         [BZ #18422]
22180         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22181         ($(objpfx)tst-audit2.out): Also depend on
22182         $(objpfx)tst-auditmod9b.so.
22183         * elf/tst-audit2.c: Include <dlfcn.h>.
22184         (calloc_called): New.
22185         (calloc): Allow to be called more than once.
22186         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22188 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22190         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22191         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22193 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22195         * stdlib/monetary.h: Fix comment.
22197 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22199         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22200         Avoid using variables in #defines that might cause shadowing.
22201         (INTERNAL_VSYSCALL_CALL): Likewise.
22203 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22205         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22207         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22208         * nptl/lll_timedlock_wait.c: ... to this new file.
22209         * nptl/Makefile (libpthread-routines): Add it.
22210         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22211         * nptl/lll_timedwait_tid.c: ... to this new file.
22212         * nptl/Makefile (libpthread-routines): Add it.
22213         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22214         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22215         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22216         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22217         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22218         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22219         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22220         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22221         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22222         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22224 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22226         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22227         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22228         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22230         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22232         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22234         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22235         * sysdeps/unix/sysv/linux/tile/sysdep.h
22236         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22237         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22238         using vDSO syscall macro.
22240 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22242         [BZ #17293]
22243         * uk_UA: Fix sorting order for Ukrainian locale
22245 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22247         * stdlib/monetary.h: Fix comment.
22249 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22251         [BZ #18234]
22252         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22253         st_mtim and st_ctim members.
22254         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22255         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22256         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22257         (struct stat64): Likewise.
22258         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22259         (struct stat64): Likewise.
22260         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22261         (struct stat64): Likewise.
22263 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22265         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22266         Define and include sysdep-vdso.h.
22267         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22268         Likewise.
22269         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22270         Likewise.
22271         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22272         Define with VDSO_SYMBOL and use PTR_MANGLE.
22273         (__vdso_clock_gettime): Likewise.
22274         (__vdso_clock_getres): Likewise.
22275         (_libc_vdso_platform_setup): Likewise.
22276         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22277         Likewise.
22278         (_libc_vdso_platform_setup): Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22280         Likewise.
22281         (__vdso_clock_gettime): Likewise.
22282         (__vdso_clock_getres): Likewise.
22283         (__vdso_get_tbfreq): Likewise.
22284         (__vdso_getcpu): Likewise.
22285         (__vdso_time): Likewise.
22286         (__vdso_sigtramp_rt64): Likewise.
22287         (__vdso_signtramp32): Likewise.
22288         (__vdso_sigtramp_rt32): Likewise.
22289         (_libc_vdso_platform_setup): Likewise.
22290         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22291         Likewise.
22292         (__vdso_clock_gettime): Likewise.
22293         (__vdso_clock_getres): Likewise.
22294         (_libc_vdso_platform_setup): Likewise.
22295         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22296         Likewise.
22297         (__vdso_clock_gettime): Likewise.
22298         (_libc_vdso_platform_setup): Likewise.
22299         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22300         Likewise.
22301         (__vdso_getcpu): Likewise.
22302         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22303         Use VDSO_SYMBOL macro to define.
22304         (__vdso_clock_gettime): Likewise.
22305         (__vdso_clock_getres): Likewise.
22306         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22307         Likewise.
22308         (__vdso_clock_gettime): Likewise.
22309         (__vdso_clock_getres): Likewise.
22310         (__vdso_get_tbfreq): Likewise.
22311         (__vdso_getcpu): Likewise.
22312         (__vdso_time): Likewise.
22313         (__vdso_sigtramp_rt64): Likewise.
22314         (__vdso_signtramp32): Likewise.
22315         (__vdso_sigtramp_rt32): Likewise.
22316         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22317         Likewise.
22318         (__vdso_clock_gettime): Likewise.
22319         (__vdso_clock_getres): Likewise.
22320         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22321         Likewise.
22322         (__vdso_clock_gettime): Likewise.
22323         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22324         Likewise.
22325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22326         macro.
22327         (INTERNAL_VSYSCALL): Likewise.
22328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22329         Remove macro.
22330         (INTERNAL_VSYSCALL): Likewise.
22331         (INTERNAL_VSYSCALL_NCS): Likewise.
22332         (INTERNAL_VSYSCALL_CALL): New macro.
22333         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22335         Likewise.
22336         (INTERNAL_VSYSCALL): Likewise.
22337         (INTERNAL_VSYSCALL_NCS): Likewise.
22338         (INTERNAL_VSYSCALL_CALL): New macro.
22339         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22341         (INLINE_VSYSCALL): Remove macro.
22342         (INTERNAL_VSYSCALL): Remove macro.
22343         (INTERNAL_VSYSCALL_NCS): Remove macro.
22344         (INTERNAL_VSYSCALL_CALL): New macro.
22345         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22346         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22347         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22348         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22349         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22351         (INLINE_VSYSCALL): Remove macro.
22352         (INTERNAL_VSYSCALL): Likewise.
22353         (INTERNAL_VSYSCALL_NCS): Likewise.
22354         (INTERNAL_VSYSCALL_CALL): New macro.
22355         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22356         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22357         PTR_DEMANGLE on vDSO pointer.
22358         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22359         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22360         macro.
22361         (INTERNAL_SYSCALL): Likewise.
22362         (INTERNAL_VSYSCALL_NCS): Remove macro.
22363         (INTERNAL_VSYSCALL_CALL): New macro.
22364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22365         Remove macro.
22366         (INTERNAL_VSYSCALL): Likewise.
22367         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22368         sysdep-vdso.h instead of libc-vdso.h.
22369         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22370         definition.
22371         (INLINE_VSYSCALL): Likewise.
22372         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22373         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22374         definition.
22375         (INLINE_VSYSCALL): Likewise.
22376         (INTERNAL_VSYSCALL): Likewise.
22377         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22378         * sysdeps/unix/sysv/linux/timespec_get.c
22379         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22380         (timespec_get): Use ANSI prototype.
22381         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22382         and definition for Linux.
22384 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22386         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22387         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22389 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22391         [BZ #2981]
22392         [BZ #18410]
22393         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22394         for missing DT_PLTRELSZ.
22396 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22398         Remove obsolete aliases that broke 'locale -a'
22399         [BZ #18412]
22400         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22401         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22402         breaking some applications that use 'locale -a' output.
22403         Change the encoding of this file from Latin-1 to ASCII to avoid
22404         other potential problems with people grepping this file.
22406 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22408         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22409         -fasynchronous-unwind-tables.
22410         (CFLAGS-sendto.c): Likewise.
22411         (CFLAGS-sendmsg.c): Likewise.
22412         (CFLAGS-connect.c): Likewise.
22413         (CFLAGS-recvmsg.c): Likewise.
22414         (CFLAGS-recvfrom.c): Likewise.
22415         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22416         (SOCKETCALL): New macro: non-cancellable socketcall.
22417         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22418         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22419         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22420         * sysdeps/unix/sysv/linux/accept.c: New file.
22421         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22422         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22423         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22424         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22425         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22426         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22427         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22428         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22429         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22430         * sysdeps/unix/sysv/linux/send.c: Likewise.
22431         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22432         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22433         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22434         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22435         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22436         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22437         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22438         prototype.
22439         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22440         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22441         instead of __internal_xxx function.
22442         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22443         prototype.
22444         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22445         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22446         instead of __internal_xxx function.
22447         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22448         prototype.
22449         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22450         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22451         instead of __internal_xxx function.
22452         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22453         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22454         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22455         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22456         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22457         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22458         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22459         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22460         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22461         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22462         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22463         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22464         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22465         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22466         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22467         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22468         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22469         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22470         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22471         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22474         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22475         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22476         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22477         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22478         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22479         * sysdeps/unix/sysv/linux/send.S: Likewise.
22480         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22481         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22482         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22483         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22484         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22485         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22486         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22487         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22488         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22489         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22490         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22491         socketcall is implemented in GLIBC.
22493 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22495         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22496         (__fma): Ignore uninitialized warnings around packing.
22497         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22498         (__fmaf): Ignore uninitialized warnings around packing.
22499         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22500         (__fmal): Ignore uninitialized warnings around packing.
22502         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22503         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22504         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22505         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22507         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22508         switch statement into default case.
22509         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22511         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22512         a conditional in forcing "inexact".
22513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22514         Likewise.
22516 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22518         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22519         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22520         for each INTERNAL_SYSCALL use.
22522 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22524         [BZ #438]
22525         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22526         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22527         variable.
22529         [BZ #18444]
22530         * string/basename.c (basename): Rename to __basename and define as
22531         weak alias of __basename.  Use libc_hidden_weak.
22532         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22533         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22534         __basename instead of basename.
22535         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22536         Remove variable.
22537         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22539 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22541         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22542         (_IO_JUMPS_FILE_plus): New.
22543         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22544         _IO_CAST_FIELD_ACCESS.
22545         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22546         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22547         * libio/freopen.c (freopen): Likewise.
22548         * libio/freopen64.c (freopen64): Likewise.
22549         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22550         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22551         * libio/iofwide.c (_IO_fwide): Likewise.
22552         * libio/memstream.c (open_memstream): Likewise.
22553         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22554         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22555         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22557 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22559         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22560         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22561         NADJ.
22562         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22563         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22564         NADJ.
22565         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22566         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22567         NADJ.
22569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22570         (p == 4) case.
22572         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22573         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22574         Remove variable.
22575         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22576         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22577         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22579 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22581         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22582         Adjust jump table label generation macros.
22584 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22586         * stdio-common/vfprintf.c (vfprintf): Move local variables
22587         args_malloced, specs, specs_malloced, and the code after
22588         do_positional to the printf_positional function.
22589         (printf_positional): New function.
22591 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22593         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22594         function.
22595         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22596         STEP4_TABLE, process_arg): Move macro definitions
22597         out of the vfprintf function.  (Cosmetic change only.)
22599 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22601         * benchtests/Makefile (stdio-common-bench): Define.
22602         (benchset): Add stdio-common-bench.
22603         * sprintf-inputs: New file.
22604         * sprintf-source.c: New file.
22606 2015-05-21  Andreas Schwab  <schwab@suse.de>
22608         [BZ #13028]
22609         [BZ #17053]
22610         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22611         of struct __res_state.
22612         * resolv/res_send.c (__libc_res_nsend): Likewise.
22613         (get_nsaddr): New function.
22614         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22615         statp directly.
22617 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22619         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22620         -D_POSIX_C_SOURCE=199506L.
22622         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22624         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22625         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22626         Do not mention otherwise.
22627         [POSIX] (_XOPEN_VERSION): Do not expect.
22628         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22629         [POSIX] (_POSIX2_C_BIND): Likewise.
22630         [POSIX] (_POSIX2_VERSION): Likewise.
22631         [POSIX] (_XOPEN_XPG2): Likewise.
22632         [POSIX] (_XOPEN_XPG3): Likewise.
22633         [POSIX] (_XOPEN_XPG4): Likewise.
22634         [POSIX] (_XOPEN_UNIX): Likewise.
22635         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22636         [POSIX] (_POSIX_BARRIERS): Likewise.
22637         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22638         [POSIX] (_POSIX_CPUTIME): Likewise.
22639         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22640         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22641         [POSIX] (_POSIX_SHELL): Likewise.
22642         [POSIX] (_POSIX_SPAWN): Likewise.
22643         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22644         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22645         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22646         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22647         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22648         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22649         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22650         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22651         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22652         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22653         [POSIX] (_POSIX2_PBS): Likewise.
22654         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22655         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22656         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22657         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22658         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22659         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22660         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22661         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22662         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22663         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22664         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22665         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22666         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22667         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22668         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22669         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22670         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22671         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22672         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22673         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22674         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22675         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22676         [POSIX] (_SC_2_C_BIND): Likewise.
22677         [POSIX] (_SC_2_C_VERSION): Likewise.
22678         [POSIX] (_SC_2_PBS): Likewise.
22679         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22680         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22681         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22682         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22683         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22684         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22685         [POSIX] (_SC_BARRIERS): Likewise.
22686         [POSIX] (_SC_BASE): Likewise.
22687         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22688         [POSIX] (_SC_DEVICE_IO): Likewise.
22689         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22690         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22691         [POSIX] (_SC_FD_MGMT): Likewise.
22692         [POSIX] (_SC_FIFO): Likewise.
22693         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22694         [POSIX] (_SC_FILE_LOCKING): Likewise.
22695         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22696         [POSIX] (_SC_IOV_MAX): Likewise.
22697         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22698         [POSIX] (_SC_NETWORKING): Likewise.
22699         [POSIX] (_SC_PAGE_SIZE): Likewise.
22700         [POSIX] (_SC_PASS_MAX): Likewise.
22701         [POSIX] (_SC_PIPE): Likewise.
22702         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22703         [POSIX] (_SC_REGEXP): Likewise.
22704         [POSIX] (_SC_SHELL): Likewise.
22705         [POSIX] (_SC_SIGNALS): Likewise.
22706         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22707         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22708         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22709         [POSIX] (_SC_USER_GROUPS): Likewise.
22710         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22711         [POSIX] (_SC_STREAMS): Likewise.
22712         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22713         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22714         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22715         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22716         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22717         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22718         [POSIX] (_PC_FILESIZEBITS): Likewise.
22719         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22720         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22721         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22722         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22723         [POSIX] (uid_t): Likewise.
22724         [POSIX] (gid_t): Likewise.
22725         [POSIX] (off_t): Likewise.
22726         [POSIX] (pid_t): Likewise.
22727         [POSIX] (cuserid): Allow.
22728         (_SC_2_CHAR_TERM): Require constant.
22729         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22730         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22731         variable.
22733 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22735         * sysdeps/nacl/pthread-pids.h: New file.
22736         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22737         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22739         * nptl/pthread-pids.h: New file.
22740         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22741         * nptl/nptl-init.c: Include <pthread-pids.h>.
22742         (__pthread_initialize_minimal_internal):
22743         Call __pthread_initialize_pids instead of set_tid_address syscall.
22745         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22746         * sysdeps/posix/usleep.c: ... here.
22748 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22750         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22751         call_pselect6 object.
22752         [$(subdir) = io]: Remove call_sync_file_range object.
22753         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22754         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22755         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22756         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22758 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22760         * math/s_cproj.c: Add include "math_private.h".
22761         * math/s_cprojf.c: Likewise.
22762         * math/s_cprojl.c: Likewise.
22764 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22766         [BZ #18244]
22767         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22768         high mantissa bit when testing whether P is a NaN.
22769         * math/libm-test.inc (remainder_test_data): Add more tests.
22770         (remquo_test_data): Likewise.
22772         [BZ #18049]
22773         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22774         below -32, return the argument, with underflow if subnormal.
22775         * math/auto-libm-test-in: Add more tests of atanh.
22776         * math/auto-libm-test-out: Regenerated.
22778 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22780         [BZ #18434]
22781         * nptl/tst-sem15.c: New file.
22782         * nptl/Makefile (tests): Add it.
22783         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22784         s/<</>>/ to fix typo in EOVERFLOW check.
22785         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22787 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22789         * manual/strings.texi (envz_remove): Fix typo in safety
22790         annotations.
22792 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22793             Steve Ellcey  <sellcey@imgtec.com>
22795         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22796         in order to avoid strict alias warnings.
22797         (iruserok_af): Ditto for ra.
22799 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22801         [BZ #17581]
22802         * malloc/hooks.c
22803         (magicbyte): Convert to a function and avoid returning 0x01.
22804         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22805         (mem2chunk_check): Fix unsigned comparisons to zero.
22806         Hoist defs of sz and magic.
22808 2015-05-19  Richard Henderson  <rth@redhat.com>
22810         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22812         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22814 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22816         [BZ #16159]
22817         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22818         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22819         (reused_arena): Find a non-corrupt arena.
22820         (heap_trim): Pass arena to unlink.
22821         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22822         malloc_printerr.
22823         (top_check): Likewise.
22824         (free_check): Likewise.
22825         (realloc_check): Likewise.
22826         * malloc/malloc.c (malloc_printerr): Add arena argument.
22827         (unlink): Likewise.
22828         (munmap_chunk): Adjust.
22829         (ARENA_CORRUPTION_BIT): New macro.
22830         (arena_is_corrupt): Likewise.
22831         (set_arena_corrupt): Likewise.
22832         (sysmalloc): Use mmap if there are no usable arenas.
22833         (_int_malloc): Likewise.
22834         (__libc_malloc): Don't fail if arena_get returns NULL.
22835         (_mid_memalign): Likewise.
22836         (__libc_calloc): Likewise.
22837         (__libc_realloc): Adjust for additional argument to
22838         malloc_printerr.
22839         (_int_free): Likewise.
22840         (malloc_consolidate): Likewise.
22841         (_int_realloc): Likewise.
22842         (_int_memalign): Don't touch corrupt arenas.
22843         * malloc/tst-malloc-backtrace.c: New test case.
22845         * Makefile (summarize-tests): Fix return value on success.
22847         * manual/string.texi (Envz Functions): Add envz_remove.
22849 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22851         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22852         (invalid_name): New function, broken out of ...
22853         (__opendirat): ... here.  Call it.
22854         (need_isdir_precheck): New function, broken out of ...
22855         (__opendirat): ... here.  Call it.
22856         Use __fxstatat64, not __xstatat64.
22857         (opendir_oflags): New function, broken out of ...
22858         (__opendirat): ... here.  Call it.
22859         (opendir_tail): New function, broken out of ...
22860         (__opendirat): ... here.  Call it.
22861         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22862         opendir_tail, rather than punting to __opendirat.
22863         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22865 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22867         * .gitignore: Ignore generated *.pyc.
22869 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22871         * include/stdio.h: Define __need_wint_t.
22872         * test-skeleton.c: Avoid `for' loop initial declaration.
22873         * nptl/tst-initializers1.c: Use test-skeleton.c.
22875 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22877         [BZ #18418]
22878         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22880 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22882         [BZ #16352]
22883         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22884         (__ieee754_atanh): Force underflow exception for results with
22885         small absolute value.
22886         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22887         (__ieee754_atanhf): Force underflow exception for results with
22888         small absolute value.
22889         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22890         (__ieee754_atanh): Force underflow exception for results with
22891         small absolute value.
22892         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22893         (__ieee754_atanhf): Force underflow exception for results with
22894         small absolute value.
22895         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22896         (__ieee754_atanhl): Force underflow exception for results with
22897         small absolute value.
22898         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22899         (__ieee754_atanhl): Force underflow exception for results with
22900         small absolute value.
22901         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22902         (__ieee754_atanhl): Force underflow exception for results with
22903         small absolute value.
22904         * math/auto-libm-test-in: Do not allow missing underflow
22905         exceptions from atanh.
22906         * math/auto-libm-test-out: Regenerated.
22908         [BZ #18221]
22909         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22910         2**-28 as threshold for returning x or +/- 1/x.
22911         * math/auto-libm-test-in: Add more tests of tan.
22912         * math/auto-libm-test-out: Regenerated.
22914         [BZ #18220]
22915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22916         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22917         * math/auto-libm-test-in: Add another test of lgamma.
22918         * math/auto-libm-test-out: Regenerated.
22920 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22922         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22923         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22924         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22925         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22926         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22927         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22928         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22929         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22931         (log1): Use fabs.  (my_log2): Use fabs.
22932         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22933         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22935         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22937         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22938         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22939         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22940         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22941         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22942         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22944 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22946         [BZ #18217]
22947         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22948         as threshold for returning 1 - x.
22949         * math/auto-libm-test-in: Add more tests of erfc.
22950         * math/auto-libm-test-out: Regenerated.
22952 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22954         [BZ #18196]
22955         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22956         threshold for large arguments.
22957         * math/auto-libm-test-in: Add another test of atan.
22958         * math/auto-libm-test-out: Regenerated.
22960         [BZ #16339]
22961         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22962         (__log1p): Force underflow exception for results with small
22963         absolute value.
22964         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22965         (__log1pf): Force underflow exception for results with small
22966         absolute value.
22967         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22968         (__log1p): Force underflow exception for results with small
22969         absolute value.
22970         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22971         (__log1pf): Force underflow exception for results with small
22972         absolute value.
22973         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22974         (__log1pl): Force underflow exception for results with small
22975         absolute value.
22976         * math/auto-libm-test-in: Do not allow missing underflow
22977         exceptions from log1p.
22978         * math/auto-libm-test-out: Regenerated.
22980 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22981             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22983         [BZ #16704]
22984         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22986 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22988         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22989         (libmvec): New variable.
22990         * configure.ac: Added option for mathvec build.
22991         * configure: Regenerated.
22992         * mathvec/Depend: New file.
22993         * mathvec/Makefile: New file.
22994         * shlib-versions: Added libmvec.
22995         * math/Makefile: Added rule for libm.so installation.
22997         * bits/math-vector.h: New file.
22998         * bits/libm-simd-decl-stubs.h: New header.
22999         * math/Makefile (headers): Added new header
23000         libm-simd-decl-stubs.h.
23001         * math/math.h (__MATHCALL_VEC): New macro.
23003         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23004         for conditions in testing functions.
23005         * math/Makefile: Added call of libm-have-vector-test.sh.
23006         * math/libm-test.inc (HAVE_VECTOR): New macros.
23008         * math/libm-test.inc: START refactored.
23009         * math/test-double.c (TEST_MATHVEC): Add define.
23010         * math/test-float.c: Likewise.
23011         * math/test-idouble.c: Likewise.
23012         * math/test-ifloat.c: Likewise.
23013         * math/test-ildoubl.c: Likewise.
23014         * math/test-ldouble.c: Likewise.
23015         * sysdeps/generic/math-tests-arch.h
23016         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23017         architecture check.
23019         * math/test-double.c (FUNC_TEST): New macro.
23020         * math/test-float.c: Likewise.
23021         * math/test-idouble.c: Likewise.
23022         * math/test-ifloat.c: Likewise.
23023         * math/test-ildoubl.c: Likewise.
23024         * math/test-ldouble.c: Likewise.
23025         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23027 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23029         * sysdeps/nacl/fdopendir.c: New file.
23031         * dirent/scandir-tail.c: New file.
23032         * dirent/scandir64-tail.c: New file.
23033         * dirent/Makefile (routines): Add them.
23034         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23035         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23036         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23037         [!SCANDIR] (SCANDIR_TAIL): New macro.
23038         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23039         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23040         (SCANDIRAT): Macro removed.
23041         (SCANDIR_TAIL): New macro.
23042         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23043         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23044         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23045         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23046         (READDIR): Macro removed.
23047         (SCANDIR_TAIL): New macro.
23048         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23049         (SCANDIR_TAIL): New macro.
23051         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23052         * dirent/scandir-cancel.c: ... to this new file.
23053         * dirent/Makefile (routines): Add it.
23054         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23055         * sysdeps/unix/sysv/linux/i386/scandir64.c
23056         (SKIP_SCANDIR_CANCEL): Macro removed.
23057         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23059         * dirent/tst-scandir.c: New file.
23060         * dirent/tst-scandir64.c: New file.
23061         * dirent/Makefile (tests): Add them.
23063 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23065         [BZ #18409]
23066         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23068 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23070         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23071         list.
23073 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23075         * benchtests/bench-strcoll.c: New benchmark.
23076         * benchtests/Makefile: Generate locales and run benchmark.
23077         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23078         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23079         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23080         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23081         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23082         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23083         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23084         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23085         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23086         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23087         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23088         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23089         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23090         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23091         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23092         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23093         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23094         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23095         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23096         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23097         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23098         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23099         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23100         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23102 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23104         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23105         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23107 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23109         * posix/uname-values.h: New file.
23110         * posix/uname.c: Include that instead of <config-name.h>.
23111         * sysdeps/nacl/uname-values.h: New file.
23112         * sysdeps/arm/nacl/uname-values.h: New file.
23114 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23116         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23117         splitting into fields.
23119 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23121         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23122         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23123         * locale/localeinfo.h: Add enum collation_encoding_type.
23124         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23125         * programs/ld-collate.c (collate_output): Add encoding type info.
23126         * string/strcoll_l.c (STRDIFF): New function.
23127         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23128         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23130 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23132         [BZ #18397]
23133         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23134         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23135         <fpu_control.h> instead of <math/fpu_control.c>.
23136         * sysdeps/mips/mips32/fpu/Makefile: New file.
23138 2015-05-11  Andreas Schwab  <schwab@suse.de>
23140         [BZ #18007]
23141         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23142         nss_endgrent.
23143         (_nss_compat_endgrent): Call nss_endgrent.
23144         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23145         nss_endpwent.
23146         (_nss_compat_endpwent): Call nss_endpwent.
23147         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23148         needent, call nss_setspent only if non-zero.
23149         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23150         (internal_endspent): Don't call nss_endspent.
23151         (_nss_compat_endspent): Call nss_endspent.
23152         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23153         Remove.  All uses removed.
23154         (internal_setent): Remove parameter stayopen, add parameter
23155         stream.  Use it instead of global variable.
23156         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23157         (internal_endent, internal_getent): Add parameter stream.  Use it
23158         instead of global variable.
23159         (CONCAT(_nss_files_end,ENTNAME))
23160         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23161         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23162         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23163         uses removed.
23164         (internal_setent, internal_endent): Add parameter stream.  Use it
23165         instead of global variable.
23166         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23167         stream.
23168         (get_next_alias): Add parameter stream.
23169         (_nss_files_getaliasent_r): Pass global stream.
23170         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23171         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23172         (_nss_files_gethostbyname4_r): Pass local stream to
23173         internal_setent, internal_getent and internal_endent.  Remove
23174         locking.
23176 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23178         * tst-strfmon1.c (tests): Update expected currency symbol.
23180 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23182         * sysdeps/nacl/gethostname.c: New file.
23184 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23186         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23187         and sinh.
23188         * math/auto-libm-test-out: Regenerated.
23189         * sysdeps/i386/fpu/libm-test-ulps: Update.
23190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23192 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23194         [BZ #18125]
23195         * stdlib/tst-setcontext3.c: New file.
23196         * stdlib/tst-setcontext3.sh: New file.
23197         * stdlib/Makefile (tests): Add tst-setcontext3.
23198         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23199         to verify test program created output file.
23200         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23201         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23202         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23203         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23205 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23207         [BZ #18383]
23208         * elf/tst-tlsalign.c: New file.
23209         * elf/tst-tlsalign-static.c: New file.
23210         * elf/tst-tlsalign-lib.c: New file.
23211         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23212         (tests-static): Add tst-tlsalign-static.
23213         (modules-names): Add tst-tlsalign-lib.
23214         (test-xfail-tst-tlsalign): New variable.
23215         (test-xfail-tst-tlsalign-static): New variable.
23217         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23218         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23220 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23222         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23223         csqrt, erfc, sin and sincos.
23224         * math/auto-libm-test-out: Regenerated.
23225         * sysdeps/i386/fpu/libm-test-ulps: Update.
23226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23228 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23230         * sysdeps/aarch64/libm-test-ulps: Update.
23232 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23234         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23235         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23236         * math/auto-libm-test-out: Regenerated.
23237         * sysdeps/i386/fpu/libm-test-ulps: Update.
23238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23242         [BZ #18265]
23243         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23244         (wcsncpy): Likewise.
23246 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23248         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23249         Assume __ASSUME_FALLOCATE is always true.
23250         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23251         (__posix_fallocate64_l64): Likweise.
23252         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23253         (posix_fallocate): Likewise.
23254         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23255         (__posix_fallocate64_l64): Likewise.
23256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23257         [!__ASSUME_FALLOCATE]: Add comment.
23259 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23261         * sysdeps/unix/sysv/linux/i386/Makefile
23262         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23263         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23264         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23265         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23266         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23267         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23268         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23270 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23272         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23273         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23274         tgamma.
23275         * math/auto-libm-test-out: Regenerated.
23276         * sysdeps/i386/fpu/libm-test-ulps: Update.
23277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23279 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23281         * math/auto-libm-test-in: Add more tests of tgamma.
23282         * math/auto-libm-test-out: Regenerated.
23283         * sysdeps/i386/fpu/libm-test-ulps: Update.
23284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23286         * math/auto-libm-test-in: Add more tests of tanh.
23287         * math/auto-libm-test-out: Regenerated.
23288         * sysdeps/i386/fpu/libm-test-ulps: Update.
23289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291         * math/auto-libm-test-in: Add more tests of tan.
23292         * math/auto-libm-test-out: Regenerated.
23293         * sysdeps/i386/fpu/libm-test-ulps: Update.
23294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23296         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23297         * math/auto-libm-test-out: Regenerated.
23298         * sysdeps/i386/fpu/libm-test-ulps: Update.
23299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23301         * math/auto-libm-test-in: Add another test of pow.
23302         * math/auto-libm-test-out: Regenerated.
23303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23305         * math/auto-libm-test-in: Add more tests of lgamma.
23306         * math/auto-libm-test-out: Regenerated.
23307         * sysdeps/i386/fpu/libm-test-ulps: Update.
23308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23310         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23311         log1p.
23312         * math/auto-libm-test-out: Regenerated.
23313         * sysdeps/i386/fpu/libm-test-ulps: Update.
23314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23316 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23318         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23319         Elf64_Chdr structs and ELFCOMPRESS constants.
23321 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23323         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23324         expm1.
23325         * math/auto-libm-test-out: Regenerated.
23326         * sysdeps/i386/fpu/libm-test-ulps: Update.
23327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23329         * math/auto-libm-test-in: Add more tests of erf and erfc.
23330         * math/auto-libm-test-out: Regenerated.
23331         * sysdeps/i386/fpu/libm-test-ulps: Update.
23332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23334 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23336         * config.h.in (HAVE_AARCH64_BE): Add.
23338 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23340         * math/auto-libm-test-in: Add more tests of csqrt.
23341         * math/auto-libm-test-out: Regenerated.
23342         * sysdeps/i386/fpu/libm-test-ulps: Update.
23343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23345         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23346         * math/auto-libm-test-out: Regenerated.
23347         * sysdeps/i386/fpu/libm-test-ulps: Update.
23348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23352 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23354         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23355         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23357         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23358         (euidaccess, eaccess): Define as weak aliases.
23360         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23361         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23362         but __suseconds_t is often 'long int' so some sources assume that
23363         type is being used (e.g. they use %ld to print tv_usec).
23365 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23367         [BZ #18007]
23368         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23369         (CVE-2014-8121)
23370         * nss/tst-nss-getpwent.c: New file.
23371         * nss/Makefile (tests): Add new test.
23373 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23375         [BZ #18346]
23376         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23377         exponents less than 48 as cases where high part of mantissa needs
23378         examining to determine whether argument is integral.
23379         * math/libm-test.inc (round_test_data): Add more tests.
23381 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23383         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23385 2015-04-27  David S. Miller  <davem@davemloft.net>
23387         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23388         __tls_get_addr.
23389         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23391 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23393         [BZ#18333]
23394         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23396 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23398         [BZ#18333]
23399         * time/tzset.c (parse_tzname): Return error on memory allocation
23400         failure.
23401         * test-skeleton.c (struct temp_name_list): Change type of name
23402         member to non-const.
23403         (add_temp_file): Create a copy of the file name.
23404         (delete_temp_files): Deallocate memory.
23405         (create_temp_file): Add comment.
23407 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23409         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23410         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23412 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23414         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23415         * sysdeps/arm/configure: Regenerated.
23417 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23419         [BZ #17715]
23420         * time/tzfile.c (__tzfile_read): Check for large values of
23421         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23422         * time/tzset.c (__tzstring_len): New function, based on the old
23423         __tzstring function.
23424         (__tzstring): Call __tzstring_len.
23425         (parse_tzname): New helper function extracted from
23426         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23427         the input string.
23428         (parse_offset): New helper function extracted from
23429         __tzset_parse_tz.  Replace switch with fallthrough with
23430         initialization before sscanf.
23431         (parse_rule): Likewise.
23432         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23433         new-style function definition.
23434         * timezone/Makefile (tests): Add tst-tzset.
23435         (tst-tzset.out): Dependencies on time zone files.
23436         (tst-tzset-ENV): Set TZDIR.
23437         (testdata/XT%): Copy crafted time zone files.
23438         * timezone/README: Mention crafted time zone files.
23439         * timezone/testdata/XT1, timezone/testdata/XT2,
23440         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23441         files.
23442         * timezone/tst-tzset.c: New test.
23444 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23446         * Makeconfig (+gccwarn): Remove -Winline.
23448 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23450         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23452 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23454         * NEWS: Mention sysconf() cache information support for s390.
23455         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23457 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23459         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23460         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23461         (__nearbyint): Likewise.
23462         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23463         (copysignl): Likewise.
23465 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23467         [BZ #18287]
23468         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23469         based on padding.  (CVE-2015-1781)
23471 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23473         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23474         libc-vdso.h.
23475         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23476         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23477         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23478         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23479         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23480         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23483         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23484         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23486         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23487         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23488         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23489         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23490         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23491         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23493         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23494         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23495         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23496         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23497         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23499 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23501         * stdlib/setenv.c (__add_to_environ):
23502         Dump core quickly if setenv (..., NULL, ...) is called.
23503         This time, do it the right way, and pacify GCC with a pragma.
23505 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23507         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23508         IMAP->l_prev cannot be null, and #if out the code for the contrary
23509         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23510         believe that NS (&_dl_ns[NSID]) could point outside the array.
23512         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23513         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23514         before using NSID as an index.
23516 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23518         [BZ #17825]
23519         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23520         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23521         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23523 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23525         Add preliminary port to Google Native Client on ARM.
23526         * abi-tags (.*-.*-nacl.*): New entry.
23527         * sysdeps/arm/nacl: New directory.
23528         * sysdeps/nacl: New directory.
23530 2015-04-16  David S. Miller  <davem@davemloft.net>
23532         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23533         lowlevellock-futex.h
23535 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23537         * sysdeps/tile/configure.ac: New file.
23538         * sysdeps/tile/configure: Regenerated.
23540 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23542         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23543         conditionals for weak_alias and libc_hidden_weak.
23544         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23545         libc_hidden_weak and weak_alias.
23546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23547         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23548         and weak_alias for static one.
23550 2015-04-15  David S. Miller  <davem@davemloft.net>
23552         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23554 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23556         [BZ #18206]
23557         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23558           Use signed comparision instead of substraction to avoid
23559           overflow bug.
23560         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23561           Take the sign of ret.
23562         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23563           Do not expect precise return values. Only the sign matters.
23564         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23565         * wcsmbs/test-wcsncmp.c: New File.
23566         * string/test-strncmp.c: Add wcsncmp support.
23568 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23570         [BZ #6792]
23571         * math/w_log1p.c: New file.
23572         * math/w_log1pf.c: Likewise.
23573         * math/w_log1pl.c: Likewise.
23574         * math/Makefile (libm-calls): Add w_log1p.
23575         * math/s_log1pl.c (log1pl): Remove weak_alias.
23576         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23577         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23578         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23579         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23580         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23581         [NO_LONG_DOUBLE] (log1pl): Likewise.
23582         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23583         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23584         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23585         (log1p): Remove long_double_symbol.
23586         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23587         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23588         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23589         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23590         remove weak_alias for corresponding log1p function.
23591         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23592         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23593         * sysdeps/ia64/fpu/w_log1p.c: New file.
23594         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23595         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23596         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23598 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23600         [BZ #18247]
23601         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23602         decimal exponent by 1.
23603         * stdlib/tst-strtod-round-data: Add more tests.
23604         * stdlib/tst-strtod-round.c (tests): Regenerated.
23606 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23608         * math/auto-libm-test-in: Add more tests of clog and clog10.
23609         * math/auto-libm-test-out: Regenerated.
23610         * sysdeps/i386/fpu/libm-test-ulps: Update.
23611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23613 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23615         * Makeconfig (module-cppflags): Exclude all .v.i files.
23616         (skip-module-cppflags): Variable removed.
23618         * configure.ac (libc_config_ok): Initialize before reading
23619         preconfigure scripts, not after.
23620         * configure: Regenerated.
23622         * test-skeleton.c (TIMEOUT): Move #define to top level.
23623         (main): Grok environment variable TEST_DIRECT.  If set, print
23624         test expectation details into that file and then behave as if
23625         given --direct.
23627 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23629         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23630         warning on 32-bit.
23632 2015-04-08  David S. Miller  <davem@davemloft.net>
23634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23636 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23638         * math/auto-libm-test-in: Add more tests of atanh.
23639         * math/auto-libm-test-out: Regenerated.
23640         * sysdeps/i386/fpu/libm-test-ulps: Update.
23641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23643         * math/auto-libm-test-in: Add more tests of atan.
23644         * math/auto-libm-test-out: Regenerated.
23645         * sysdeps/i386/fpu/libm-test-ulps: Update.
23646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23648 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23650         * elf/pldd.c (main): Rewrite to use struct
23651         scratch_buffer instead of extend_alloca.
23652         * elf/pldd-xx.c (find_maps): Likewise.
23653         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23654         <alloca.h>.
23655         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23656         scratch_buffer instead of extend_alloca.
23657         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23658         grp/compat-initgroups.c.
23659         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23660         Rewrite to use struct scratch_buffer instead of extend_alloca.
23661         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23662         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23664 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23666         * math/auto-libm-test-in: Add more tests of cbrt.
23667         * math/auto-libm-test-out: Regenerated.
23668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23670         * math/auto-libm-test-in: Add more tests of cabs.
23671         * math/auto-libm-test-out: Regenerated.
23672         * sysdeps/i386/fpu/libm-test-ulps: Update.
23673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23675         [BZ #18210]
23676         [BZ #18211]
23677         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23678         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23679         computations.
23680         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23681         clog10.
23682         * math/auto-libm-test-out: Regenerated.
23683         * sysdeps/i386/fpu/libm-test-ulps: Update.
23684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23686         [BZ #18197]
23687         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23688         (atan): Set FE_TONEAREST mode for internal computations.
23689         * math/auto-libm-test-in: Add more tests of atan.
23690         * math/auto-libm-test-out: Regenerated.
23692 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23694         [BZ #17930]
23695         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23697 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23699         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23701 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23703         * include/scratch_buffer.h: New file.
23704         * malloc/scratch_buffer_grow.c: Likewise.
23705         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23706         * malloc/scratch_buffer_set_array_size.c: Likewise.
23707         * malloc/tst-scratch_buffer.c: Likewise.
23708         * malloc/Makefile (routines): Add scratch_buffer_grow.
23709         (tests): Add test case.
23710         * malloc/Versions (GLIBC_PRIVATE): Export
23711         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23712         __libc_scratch_buffer_set_array_size.
23714 2015-04-06  Richard Henderson  <rth@redhat.com>
23716         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23717         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23719         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23720         unsigned int before printing.
23722 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23724         [BZ #17596]
23725         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23726         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23728 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23730         * include/libc-internal.h (libc_max_align_t): Define.
23732 2015-04-02  Andreas Schwab  <schwab@suse.de>
23734         [BZ #16850]
23735         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23737 2015-04-02  Mel Gorman  <mgorman@suse.de>
23739         [BZ #17195]
23740         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23741         as well as the main arena.
23743 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23745         [BZ #18185]
23746         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23747         sharing L2 cache to 2 for Silvermont/Knights Landing.
23749 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23751         [BZ #17711]
23752         * config.make.in (have-protected-data): New.
23753         * configure.ac: Check linker support for protected data symbol.
23754         * configure: Regenerated.
23755         * elf/Makefile (modules-names): Add tst-protected1moda and
23756         tst-protected1modb if $(have-protected-data) is yes.
23757         (tests): Add tst-protected1a and tst-protected1b if
23758         $(have-protected-data) is yes.
23759         ($(objpfx)tst-protected1a): New.
23760         ($(objpfx)tst-protected1b): Likewise.
23761         (tst-protected1modb.so-no-z-defs): Likewise.
23762         * elf/tst-protected1a.c: New file.
23763         * elf/tst-protected1b.c: Likewise.
23764         * elf/tst-protected1mod.h: Likewise.
23765         * elf/tst-protected1moda.c: Likewise.
23766         * elf/tst-protected1modb.c: Likewise.
23768 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23770         [BZ #17711]
23771         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23772         indicates it is called from do_lookup_x on relocation against
23773         protected data, skip the data definion in the executable from
23774         copy reloc.
23775         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23776         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23777         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23778         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23779         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23780         otherwise to 0.
23781         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23782         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23783         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23784         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23785         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23786         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23788 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23790         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23791         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23793 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23795         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23796         THREAD_SETMEM_NC.
23797         * sysdeps/x86_64/nptl/tls.h: Ditto.
23799 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23801         * dlfcn/tststatic.c (main): Converted to ...
23802         (do_test): ... this.
23803         (TEST_FUNCTION): New macro.
23804         Include test-skeleton.c.
23806 2015-03-26  Alan Modra  <amodra@gmail.com>
23808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23809         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23810         zero for undefined weak.
23811         (elf_machine_plt_conflict): Similarly.
23813 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23815         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23816         atanh.
23817         * math/auto-libm-test-out: Regenerated.
23818         * sysdeps/i386/fpu/libm-test-ulps: Update.
23819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23821         * math/auto-libm-test-in: Add another test of asin.
23822         * math/auto-libm-test-out: Regenerated.
23823         * sysdeps/i386/fpu/libm-test-ulps: Update.
23824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23827         Remove macro.
23828         (LLL_EBX_REG): Likewise.
23829         (LLL_ENTER_KERNEL): Likewise.
23831         * math/auto-libm-test-in: Add more tests of asin.
23832         * math/auto-libm-test-out: Regenerated.
23833         * sysdeps/i386/fpu/libm-test-ulps: Update.
23834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23836         [BZ #18138]
23837         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23838         libc_do_syscall_args): New structure.
23839         (INTERNAL_SYSCALL_MAIN_0): New macro.
23840         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23841         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23842         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23843         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23844         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23845         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23846         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23847         Replace conditional definitions by conditional definitions of ....
23848         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23849         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23850         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23851         (libpthread-sysdep_routines): Add libc-do-syscall.
23852         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23854         to __NR_futex not 240.
23856 2015-03-25  Alan Modra  <amodra@gmail.com>
23858         * NEWS: Advertise TLS optimization.
23859         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23860         (DT_PPC_NUM): Increment.
23861         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23862         (CHECK_STATIC_TLS): Use here.
23863         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23864         TLS descriptors.
23865         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23866         * sysdeps/powerpc/dl-tls.c: New file.
23867         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23868         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23869         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23870         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23875 2015-03-25  Alan Modra  <amodra@gmail.com>
23877         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23878         for overlapping .opd entries" to "support...".
23879         * sysdeps/powerpc/powerpc64/configure: Regenerate
23881 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23883         * math/auto-libm-test-in: Add more tests of acos.
23884         * math/auto-libm-test-out: Regenerated.
23885         * sysdeps/i386/fpu/libm-test-ulps: Update.
23886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23888         * math/auto-libm-test-in: Add more tests of expm1.
23889         * math/auto-libm-test-out: Regenerated.
23890         * sysdeps/i386/fpu/libm-test-ulps: Update.
23891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23893 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23895         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23896         * math/auto-libm-test-out: Regenerated.
23897         * sysdeps/i386/fpu/libm-test-ulps: Update.
23898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23900         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23903         * math/auto-libm-test-in: Add more tests of log2.
23904         * math/auto-libm-test-out: Regenerated.
23905         * sysdeps/i386/fpu/libm-test-ulps: Update.
23906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23908 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23910         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23911         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23912         _IO_IS_APPENDING bit in READ_WRITE instead.
23914 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23916         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23917         (__determine_cpumask_size): Replace extend_alloca with a
23918         variable-length array.  Do not treat res == 0 as an error.
23920 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23922         [BZ #18100]
23923         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23924         and integer overflow.
23925         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23926         (main): Add integer overflow tests.
23927         * manual/pattern.texi (Calling Wordexp): Document additional use
23928         for WRDE_SYNTAX.
23930 2015-03-23  Alan Modra  <amodra@gmail.com>
23932         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23933         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23934         and false branch of conditional.
23935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23936         Likewise.
23938 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23940         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23941         libc-modules.h
23942         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23943         unused declaration of _hurd_intr_rpc_msg_in_trap.
23944         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23945         defined instead of whether it is non-zero.
23946         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23947         input constraint instead of both input and output constraint.  Use ecx
23948         clobber instead of %ecx.
23949         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23950         mutex_unlock): Use a statement expression instead of an expression list.
23951         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23952         type to vm_size_t instead of vm_address_t.
23953         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23954         defined instead of whether it is non-zero.
23955         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23956         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23957         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23958         comparisons with mapaddr.
23959         * nscd/nscd-client.h: Include <time.h>.
23960         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23961         9th parameter to __vm_region instead of int.
23962         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23963         * scripts/check-local-headers.sh (exclude): Add device/,
23964         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23965         cthreads.h.
23967 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23969         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23970         to account for alignment padding.
23971         * sysdeps/arm/memmove.S: Likewise.
23973 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23975         * sysdeps/unix/sysv/linux/generic/README: New file.
23977 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #18138]
23980         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23981         (futex_abstimed_wait)
23982         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23983         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23984         of lll_futex_timed_wait.
23986 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23988         [BZ #17542]
23989         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23991 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23993         [BZ #17090]
23994         [BZ #17620]
23995         [BZ #17621]
23996         [BZ #17628]
23997         * NEWS: Update.
23998         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23999         entries with Static TLS too.  Skip entries past the end of the
24000         allocated DTV, from Alan Modra.
24001         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24002         Static TLS DTV entry set up from...
24003         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24004         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24005         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24006         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24007         for Static TLS.
24008         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24009         that the slot we find is associated with the given map before
24010         using its generation count.
24011         * nptl_db/db_info.c: Include ldsodefs.h.
24012         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24013         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24014         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24015         (link_map::l_tls_offset): New struct field.
24016         (dtv_t::counter): Likewise.
24017         (rtld_global): New struct.
24018         (_rtld_global): New rtld variable.
24019         (dl_tls_dtv_slotinfo_list): New rtld global field.
24020         (dtv_slotinfo_list): New struct.
24021         (dtv_slotinfo): Likewise.
24022         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24023         (td_lookup): Rename to...
24024         (td_mod_lookup): ... this.  Use new mod parameter instead of
24025         LIBPTHREAD_SO.
24026         * nptl_db/td_thr_tlsbase.c: Include link.h.
24027         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24028         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24029         addresses even if the DTV is out of date or missing them.
24030         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24031         index zero-length arrays.
24032         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24033         (td_lookup): Make it a macro implemented in terms of...
24034         (td_mod_lookup): ... this declaration.
24035         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24036         (DB_MAIN_VARIABLE): Likewise.
24038 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24040         [BZ #18134]
24041         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24043 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24045         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24047 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24049         [BZ #18128]
24050         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24051         (atomic_add, atomic_increment_and_test)
24052         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24054 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24056         * stdlib/setenv.c (__add_to_environ):
24057         Dump core quickly if setenv (..., NULL, ...) is called.
24059 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24061         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24062         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24063         all the necessary asm magic in one place.
24064         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24065         using those.
24067 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24069         [BZ #14906]
24070         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24071         traced file mtime. Use consistent log message.
24072         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24073         (register_traced_file): Call install_watches. Always set mtime.
24074         (invalidate_cache): Iterate over all trace files. Call install_watches.
24075         (inotify_check_files): Don't inline. Handle watching parent
24076         directories and configuration file movement in and out.
24077         (handle_inotify_events): New function.
24078         (main_loop_poll): Call handle_inotify_events.
24079         (main_loop_epoll): Likewise.
24080         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24081         (struct traced_file): Use array of inotify fds. Add parent directory,
24082         and basename.
24083         (struct database_dyn): Remove unused file_mtime.
24084         (init_traced_file): New inline function.
24085         (define_traced_file): New macro.
24086         * nss/nss_db/db-init.c: Use define_traced_file.
24087         (_nss_db_init): Use init_traced_file.
24088         * nss/nss_files/files-init.c: Use define_traced_file.
24089         (_nss_files_init): Use init_traced_file.
24091 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24093         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24094         [_LIBC]: Do not include <stdlib.h>.
24095         [!_LIBC] (abort): Remove declaration.
24096         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24097         _FP_STATIC_ASSERT instead of conditionally calling abort.
24098         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24099         (_FP_EXTEND_CNAN): Likewise.
24100         (FP_TRUNC): Likewise.
24101         (__FP_CLZ): Likewise.
24102         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24104 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24106         * manual/string.texi (XPG basename): Fix prototype.
24108 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24110         [BZ #18080]
24111         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24112         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24113         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24114         (__setcontext): Likewise.
24115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24116         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24117         Call rt_sigprocmask syscall one time to set new signal mask
24118         and retrieve the current signal mask instead of two calls.
24119         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24120         (__swapcontext): Likewise.
24121         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24122         * stdlib/tst-setcontext2.c: New file.
24124 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24126         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24128 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24130         [BZ #18093]
24131         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24132         the wrong size.
24134 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24136         [BZ #18043]
24137         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24139 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24141         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24142         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24143         Remove define.
24144         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24145         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24146         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24147         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24148         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24149         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24150         define.
24151         * nptl_db/td_symbol_list.c (td_lookup): Remove
24152         HAVE_ASM_GLOBAL_DOT_NAME code.
24153         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24154         HAVE_ASM_GLOBAL_DOT_NAME check.
24155         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24156         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24157         (DOT_LABEL): Remove define.
24158         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24159         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24160         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24161         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24162         (__TLS_GET_ADDR): Likewise.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24164         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24166 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24168         [BZ #18111]
24169         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24170         (_FPU_SETCW): Initialize cw from fpsr before storing.
24171         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24172         (fesetexceptflag): Rewrite using fpu_control.h.
24173         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24175 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24177         [BZ #18110]
24178         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24179         asms.
24180         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24182 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24184         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24185         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24186         abort.
24187         (_FP_FMA): Likewise.
24188         (_FP_DIV): Likewise.
24190 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24192         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24193         with 0 in that case.
24194         * Makefile (summarize-tests): New canned sequence, factored out of
24195         commands for targets tests and xtests.  Display summary lines that
24196         don't start with PASS: or XFAIL: rather than ones that do start with
24197         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24198         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24199         do start with ERROR: or FAIL:.
24200         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24201         (except for [$(build-shared) = yes]).
24202         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24203         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24204         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24205         * nptl/Makefile: Revert 2015-03-04 changes.
24206         [$(CXX) empty] (tests-unsupported): New variable.
24207         * debug/Makefile: Likewise.
24209         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24210         gnulib file.  Replace __attribute with __attribute__ throughout.
24212 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24214         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24216 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24218         [BZ #18104]
24219         * math/auto-libm-test-in: Add another test of pow.
24220         * math/auto-libm-test-out: Regenerated.
24222 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24224         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24225         $(config-cflags-nofma).
24227 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24229         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24230         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24231         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24232         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24233         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24234         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24235         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24236         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24237         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24238         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24239         Add comment on closing #endif.
24241 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24243         * posix/wordexp.c (CHAR_IN_SET): New macro.
24244         (parse_param): Use it.
24246 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24248         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24250 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24252         [BZ #18043]
24253         * posix/wordexp.c (parse_param): Fix buffer overflow.
24254         * posix/wordexp-test.c (test_case): Add test case.
24256 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24258         [BZ #18042]
24259         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24260         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24262 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24264         [BZ #18043]
24265         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24266         (do_bz18043): Delete.
24267         (at_page_end): New.
24268         (testit): Refactor to have words at the edge of unreadable page.
24270 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24272         [BZ #16734]
24273         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24274         Cleanup read-only streams as well.
24275         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24277 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24279         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24280         <bits/libc-lockP.h>
24282 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24284         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24285         on [__KERNEL__].
24286         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24287         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24288         * soft-fp/op-common.h (_FP_DECL): Likewise.
24290 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24292         * elf/ifuncdep2.c (global): Replace
24293         __attribute__((visibility("protected"))) with
24294         asm (".protected global").
24295         * elf/ifuncmod1.c (global): Likewise.
24296         * elf/ifuncmod5.c (global): Likewise.
24298 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24300         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24301         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24303 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24305         * manual/install.texi (Configuring and compiling):
24306         Document test-wrapper-env-only.
24307         * INSTALL: Regenerated.
24309 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24311         [BZ #18043]
24312         * posix/wordexp.c (parse_param): Fix buffer overflow.
24313         * posix/wordexp-test.c (do_bz18043): Add test case.
24315 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24317         * time/tst-strptime2.c (do_test): Ensure failing tests are
24318         reported correctly.
24319         * time/tst-strptime3.c (do_test): Likewise.
24321 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24323         Fix aio_error thread-safety.
24324         * sysdeps/pthread/aio_error.c: New file
24325         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24326         synchronization.
24328 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24330         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24331         (group_number, vfprintf): Use it.
24332         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24333         (JUMP, REF): Use it.
24334         (WORK_BUFFER_SIZE): New enum constant.
24335         (process_arg, vfprintf): Use it.
24337 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24339         * manual/errno.texi (Error Messages): Complete example function
24340         by adding missing #define.
24341         (program_invocation_name): Add statement indicating GNU
24342         extension and reference which header file declares the variable.
24343         (program_invocation_short_name): Likewise.
24345 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24347         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24348         compatibility note.
24350 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24352         * Makeconfig (test-wrapper-env-only): New variable.
24353         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24354         then use that with $(test-wrapper-env-only) rather than using
24355         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24357 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24359         [BZ #18082]
24360         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24361         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24362         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24363         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24364         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24365         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24366         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24367         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24368         Likewise.
24369         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24370         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24371         Likewise.
24372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24373         Likewise.
24374         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24375         Likewise.
24376         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24377         Likewise.
24378         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24380         Likewise.
24381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24382         Likewise.
24383         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24384         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24386 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24388         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24389         (ETH_ALEN): New macro.
24390         (struct ether_addr): Use it for length of ether_addr_octet.
24392         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24393         (setdb): Don't call __nss_configure_lookup for "rpc".
24394         (do_test): Don't call test_rpc.
24395         (output_rpcent, test_rpc): Functions moved ...
24396         * sunrpc/test-rpcent.c: ... to this new file.
24397         * sunrpc/Makefile (tests): Add it.
24399         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24400         __xpg_sigpause.
24401         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24402         * nptl/tst-signal6.c: Likewise.
24403         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24404         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24406         * configure.ac (libc_cv_cxx_link_ok): New check.
24407         Reset CXX to empty if it fails to link.
24408         * configure: Regenerated.
24409         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24410         bug-atexit3-lib only if $(CXX) is nonempty.
24411         * nptl/Makefile (tests): Likewise for tst-cancel24.
24412         (tests, tests-static): Likewise for tst-cancel24-static.
24413         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24414         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24415         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24416         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24418 2015-03-04  Andreas Schwab  <schwab@suse.de>
24420         [BZ #17631]
24421         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24422         for non-GCC compilers.
24423         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24424         Likewise.
24426 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24428         [BZ #17776]
24429         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24430         integer before bitwise and assembly operations.
24431         (feclearexcept): Likewise.
24432         * math/test-fenvinline.c: New file.
24433         * math/Makefile: Add test-fenvinline test.
24435 2015-03-03  Alan Modra  <amodra@gmail.com>
24437         [BZ #16512]
24438         * scripts/localplt.awk: Strip off symbol version.
24439         * NEWS: Mention bug fix.
24441 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24443         * sysdeps/pthread/timer_routines.c
24444         (timer_free_list, thread_free_list, thread_active_list): Make static.
24446 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24448         [BZ #17779]
24449         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24450         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24451         Undefine.
24452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24453         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24454         Likewise.
24455         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24456         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24457         Likewise.
24459 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24461         [BZ #18036]
24462         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24463         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24465 2015-03-02  Andreas Schwab  <schwab@suse.de>
24467         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24468         variable name.
24470 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24472         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24473         Return error status.
24475 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24477         [BZ #15969]
24478         * locale/findlocale.c (_nl_find_locale): Introduce const
24479         version of loc_name and drop unsafe type casts.
24481 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24483         * dlfcn/tststatic2.c (main): Converted to ...
24484         (do_test): ... this.
24485         (TEST_FUNCTION): New macro.
24486         Include test-skeleton.c.
24488 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24490         [BZ #17711]
24491         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24492         (tests-pie): Add vismain.
24493         (CFLAGS-vismain.c): New.
24494         * elf/vismain.c: Add comments for PIE requirement.
24496 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24498         [BZ #18046]
24499         [BZ #18047]
24500         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24501         0x1p-56L as threshold for just returning the argument.
24502         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24503         0x1p-32L as threshold for just returning the argument.
24504         * math/auto-libm-test-in: Add more tests of atanh.
24505         * math/auto-libm-test-out: Regenerated.
24506         * sysdeps/i386/fpu/libm-test-ulps: Update.
24507         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24509 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24511         * string/bcopy.c (bcopy): Call memmove for performance.
24513 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24515         * string/bzero.c (__bzero): Call memset for performance.
24517 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24519         [BZ #18068]
24520         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24521         to 00100000.
24523 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24525         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24527 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24529         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24530         (__kernel_standard): Use CSTR macro when setting exc.name.
24531         * sysdeps/ieee754/Makefile [$(subdir) = math]
24532         (CFLAGS-k_standard.c): Remove variable.
24534         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24535         setting p and q from "else if" to "else".
24536         (qzero): Likewise.
24537         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24538         (qone): Likewise.
24539         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24540         (qzerof): Likewise.
24541         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24542         (qonef): Likewise.
24543         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24544         (qzero): Likewise.
24545         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24546         (qone): Likewise.
24548         [BZ #18038]
24549         [BZ #18039]
24550         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24551         return pi/2 for arguments below 0x1p-113L.
24552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24553         return pi/2 for arguments below 0x1p-106L.
24554         * math/auto-libm-test-in: Add more tests of acos.
24555         * math/auto-libm-test-out: Regenerated.
24557         [BZ #16351]
24558         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24559         (MO): New macro.
24560         (__ieee754_asin): Force underflow exception for results with small
24561         absolute value.
24562         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24563         (MO): New macro.
24564         (__ieee754_asinf): Force underflow exception for results with
24565         small absolute value.
24566         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24567         (__ieee754_asin): Force underflow exception for results with small
24568         absolute value.
24569         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24570         (__ieee754_asinf): Force underflow exception for results with
24571         small absolute value.
24572         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24573         (__ieee754_asinl): Force underflow exception for results with
24574         small absolute value.
24575         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24576         (__ieee754_asinl): Force underflow exception for results with
24577         small absolute value.
24578         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24579         (__ieee754_asinl): Force underflow exception for results with
24580         small absolute value.
24581         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24582         Include <math.h>.
24583         * math/auto-libm-test-in: Do not mark underflow exceptions as
24584         possibly missing for bug 16351.
24585         * math/auto-libm-test-out: Regenerated.
24587         [BZ #18030]
24588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24589         of power of 2 down when low part has opposite sign.
24590         * math/libm-test.inc (logb_test_data): Add more tests.
24592 2015-02-26  Andreas Schwab  <schwab@suse.de>
24594         [BZ #18032]
24595         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24596         over collating symbol inside a bracket expression.  Minor cleanup.
24597         * posix/tst-fnmatch3.c (do_test): Add test case.
24599 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #18029]
24602         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24603         Adjust exponent of power of 2 down when low part has opposite
24604         sign.
24605         * math/libm-test.inc (ilogb_test_data): Add more tests.
24607 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24609         [BZ #15969]
24610         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24611         the previous change.
24613         [BZ #15969]
24614         * locale/findlocale.c (_nl_find_locale): Retry archive search
24615         after alias expansion.
24617 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24619         * iconv/tst-iconv3.c (main): Converted to ...
24620         (do_test): ... this.
24621         (TEST_FUNCTION): New macro.
24622         Include test-skeleton.c.
24624         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24625         (convert): Make function static.
24626         (test_unalign): Likewise.  Add const to argument pointee types.
24627         (main): Replace with static function do_test.
24628         Print "Succeeded." only if RET is zero.
24629         (TEST_FUNCTION): New macro.
24630         Include test-skeleton.c.
24632         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24633         returns a null pointer.
24635 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24637         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24638         to __memcpy_ppc only for static builds.
24640 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24642         [BZ #18020]
24643         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24644         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24645         * math/auto-libm-test-in: Add more tests of asinh.
24646         * math/auto-libm-test-out: Regenerated.
24647         * sysdeps/i386/fpu/libm-test-ulps: Update.
24648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24650 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24652         [BZ #15850]
24653         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24654         and ip6_mtuinfo definitions here.
24655         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24656         in this define too.  Update comment.
24658 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24660         * elf/sprof.c (load_shobj): Tweak error message to match others.
24662 2015-02-24  Kevin Easton  <kevin@guarana.org>
24664         [BZ #16145] (partial fix)
24665         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24666         to reduce lock contention.
24668 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24670         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24671         (struct timex): Update time comment.
24672         (ADJ_SETOFFSET): Define.
24674 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24676         [BZ #18019]
24677         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24678         2**56 not 2**28 as threshold for log (2x) formula.
24679         * math/auto-libm-test-in: Add more tests of acosh.
24680         * math/auto-libm-test-out: Regenerated.
24681         * sysdeps/i386/fpu/libm-test-ulps: Update.
24682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24684 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24686         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24687         parenthesis around the buf assignment.
24688         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24690 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #16783]
24693         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24694         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24695         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24696         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24697         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24698         * math/libm-test.inc (scalb_test_data): Add more tests.
24700 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24702         [BZ #17916]
24703         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24704         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24706 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24708         [BZ #17523]
24709         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24710         * io/bits/fcntl2.h (open): Use it.
24711         (openat): Likewise.
24712         * io/open.c (__libc_open): Likewise.
24713         * io/open64.c (__libc_open64): Likewise.
24714         * io/open64_2.c (__open64_2): Likewise.
24715         * io/open_2.c (__open_2): Likewise.
24716         * io/openat.c (__openat): Likewise.
24717         * io/openat64.c (__openat64): Likewise.
24718         * io/openat64_2.c (__openat64_2): Likewise.
24719         * io/openat_2.c (__openat_2): Likewise.
24720         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24721         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24722         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24723         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24724         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24725         (__open_nocancel): Likewise.
24726         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24727         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24728         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24730 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24732         [BZ #14841]
24733         * resolv/gethnamaddr.c (getanswer): Skip logging if
24734         RES_USE_DNSSEC is set.
24735         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24737 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24739         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24741 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24743         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24744         201304L, for Unicode 7.
24746 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24748         [BZ #17836]
24749         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24750         shared library.  Add gmon-start.os otherwise.
24751         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24752         $(objpfx)gmon-start.os if builing shared library.
24753         ($(objpfx)g$(static-start-installed-name)): Likewise.
24755 2015-02-23  Andreas Schwab  <schwab@suse.de>
24757         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24759 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24761         [BZ #17269]
24762         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24763         (enlarge_userbuf): Likewise.
24765 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24767         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24768         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24769         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24770         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24772 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24774         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24775         expression inside statement expression.
24777 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24779         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24780         <sysdeps/nptl/lowlevellock.h> and remove macros and
24781         functions that are now defined there.
24782         (SYS_futex): Remove.
24783         (lll_compare_and_swap): Remove.
24784         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24786 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24788         [BZ #17999]
24789         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24790         instead of scandirat.
24791         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24792         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24793         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24794         __scandirat.
24795         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24796         (__scandirat): Declare.  Use libc_hidden_proto.
24797         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24798         Remove variable.
24799         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24801 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24803         [BZ #15319]
24804         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24805         (MO): New macro.
24806         (__ieee754_atan2): For results with small absolute value, force
24807         underflow exception and remove excess range and precision from
24808         return value.
24809         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24810         (MO): New macro.
24811         (__ieee754_atan2f): For results with small absolute value, force
24812         underflow exception and remove excess range and precision from
24813         return value.
24814         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24815         (MO): New macro.
24816         (__atan): For results with small absolute value, force underflow
24817         exception and remove excess range and precision from return value.
24818         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24819         (MO): New macro.
24820         (__atanf): For results with small absolute value, force underflow
24821         exception and remove excess range and precision from return value.
24822         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24823         <math.h>.
24824         (__ieee754_atan2): Force underflow exception for results with
24825         small absolute value.
24826         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24827         <math_private.h>.
24828         (atan): Force underflow exception for results with small absolute
24829         value.
24830         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24831         (__atanf): Force underflow exception for results with small
24832         absolute value.
24833         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24834         <math.h>.
24835         (__atanl): Force underflow exception for results with small
24836         absolute value.
24837         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24838         (__atanl): Force underflow exception for results with small
24839         absolute value.
24840         * sysdeps/x86/fpu/bits/mathinline.h
24841         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24842         (__ieee754_atan2): Only define inline for long double.
24843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24845         * math/auto-libm-test-in: Do not mark underflow exceptions as
24846         possibly missing for bug 15319.  Add more tests of atan2.
24847         * math/auto-libm-test-out: Regenerated.
24848         * math/libm-test.inc (casin_test_data): Do not mark underflow
24849         exceptions as possibly missing for bug 15319.
24850         (casinh_test_data): Likewise.
24851         * sysdeps/i386/fpu/libm-test-ulps: Update.
24853 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24855         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24856         * sysdeps/mips/bits/endian.h: Fix comments.
24858 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24860         [BZ #17996]
24861         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24862         (hdestroy_r): Likewise.
24863         (hsearch_r): Likewise.
24864         (__hcreate_r): Declare and use libc_hidden_proto.
24865         (__hdestroy_r): Likewise.
24866         (__hsearch_r): Likewise.
24867         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24868         (hcreate): Call __hcreate_r instead of hcreate_r.
24869         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24870         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24871         as weak alias of __hcreate_r.
24872         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24873         __hdestroy_r.
24874         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24875         __hsearch_r.
24876         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24877         Remove variable.
24878         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24879         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24880         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24881         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24883 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24885         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24886         arena_lock into a single arena_get.
24888 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24890         * dl-reloc.c: Inlucde libc-internal.h.
24891         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24892         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24893         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24894         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24895         (grow_heap): Likewise.
24896         * malloc/malloc.c: Include libc-internal.h.
24897         (do_check_malloc): Call powerof2.
24898         (sysmalloc): Use pagesize. Call ALIGN_UP.
24899         (systrim): Use pagesize.
24900         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24901         (__libc_valloc): Use pagesize.
24902         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24904 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24906         [BZ #17991]
24907         * include/sys/resource.h (__getrlimit64): Declare.  Use
24908         libc_hidden_proto.
24909         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24910         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24911         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24912         getrlimit64.
24913         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24914         __getrlimit64.
24915         [!getrlimit64] (getrlimit64): Define as weak alias of
24916         __getrlimit64.  Use libc_hidden_weak.
24917         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24918         using __getrlimit64 not __new_getrlimit64.
24919         (__GI_getrlimit64): Likewise.
24920         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24921         Likewise.
24922         (__GI_getrlimit64): Likewise.
24923         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24925         (getrlimit): Add __getrlimit64 alias.
24926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24927         Likewise.
24928         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24929         Remove variable.
24930         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24931         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24933 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24935         * libio/fileops.c: Add missing sys/mman.h
24936         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24938 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24940         * manual/math.texi (Errors in Math Functions): Clarify goals
24941         regarding inexact and underflow exceptions.
24943 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24945         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24946         * sysdeps/mips/memset.S: Ditto.
24948 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24950         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24952 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24954         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24955         (__v1longjmp): Remove versioned symbol.
24956         (__v1siglongjmp): Remove alias and versioned symbol.
24957         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24958         (__v2siglongjmp): Likewise.
24960 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24962         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24964 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24966         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24968 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24970         [BZ #17987]
24971         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24972         zero result does not depend on the sign resulting from
24973         subtraction.
24974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24975         Likewise.
24976         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24977         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24978         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24979         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24980         * math/libm-test.inc (remquo_test_data): Add more tests.
24982 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24984         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24985         Problem reported by J William Piggott.
24987 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24989         [BZ #17978]
24990         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24991         products 4 * y and 2 * y where those would overflow.
24992         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24993         Likewise.
24994         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24995         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24996         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24997         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24998         * math/libm-test.inc (remquo_test_data): Add more tests.
25000         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25002         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25003         [defined _COMPILING_NEWLIB].
25004         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25005         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25007         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25008         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25010 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25012         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25013         acquired.
25015 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25017         [BZ #17792]
25018         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25019         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25020         HOST_STACK_END_ADDR): Likewise.
25022 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25024         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25025         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25026         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25028 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25030         * sysdeps/generic/c++-types.data: New file.
25031         * sysdeps/generic/ld.abilist: New file.
25032         * sysdeps/generic/libBrokenLocale.abilist: New file.
25033         * sysdeps/generic/libanl.abilist: New file.
25034         * sysdeps/generic/libc.abilist: New file.
25035         * sysdeps/generic/libcrypt.abilist: New file.
25036         * sysdeps/generic/libdl.abilist: New file.
25037         * sysdeps/generic/libm.abilist: New file.
25038         * sysdeps/generic/libpthread.abilist: New file.
25039         * sysdeps/generic/libresolv.abilist: New file.
25040         * sysdeps/generic/librt.abilist: New file.
25042 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25044         [BZ #17569]
25045         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25046         Compute absolute value of x as modified by fmod, not original
25047         value of x.
25048         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25049         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25050         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25051         RUN_TEST_ffI_f1_mod8.
25052         (remquo_test_data): Add more tests.
25054 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25056         * sysdeps/init_array/pt-crti.S: New file.
25058 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25060         [BZ #17967]
25061         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25062         __builtin_fmaf instead of relying on contraction of a * b + c.
25064 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25066         [BZ #17969]
25067         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25068         node.
25070 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25072         [BZ #17964]
25073         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25074         __builtin_fma instead of relying on contraction of a * b + c.
25076 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25078         * Makeconfig (ASFLAGS): Add -Werror=undef.
25079         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25080         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25081         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25083         * Makeconfig (after-link): New variable.
25084         (+link-pie, +link-pie-tests): Use it.
25085         (+link-static, +link-static-tests): Likewise.
25086         (+link, +link-tests): Likewise.
25087         * Makerules (build-module, build-module-asneeded): Likewise.
25088         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25089         Likewise.
25090         * elf/Makefile ($(objpfx)ld.so): Likewise.
25092 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25094         [BZ #17965]
25095         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25096         both struct timeval and struct timespec.
25098 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25100         [BZ #16560]
25101         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25102         and redefine.
25103         (__ieee754_exp2l): Do not multiply small fractional parts by
25104         M_LN2l.
25105         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25106         small argument.
25107         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25108         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25109         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25110         * math/auto-libm-test-in: Add more tests of exp2.
25111         * math/auto-libm-test-out: Regenerated.
25113 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25115         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25116         unaligned path.
25118 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25120         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25121         little endian.
25123 2015-02-12  Andreas Schwab  <schwab@suse.de>
25125         [BZ #15790]
25126         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25127         Filter out elision flags from value returned in kind.
25128         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25129         * nptl/tst-pthread-mutexattr.c: New file.
25131 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25133         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25134         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25135         into gnu-gnu, and update comment to refer to abi-tags.
25137 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25139         [BZ #15467]
25140         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25141         (__sincos): Set errno to EDOM for infinite argument.
25142         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25143         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25144         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25145         (__sincosl): Set errno to EDOM for infinite argument.
25146         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25147         (__sincosl): Set errno to EDOM for infinite argument.
25148         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25149         (__sincosl): Set errno to EDOM for infinite argument.
25150         * math/libm-test.inc (sincos_test_data): Test errno setting.
25152 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25154         * string/strxfrm_l.c: Remove #define STRCMP.
25155         * string/strcoll_l.c: Remove #define STRLEN.
25156         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25157         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25159 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25161         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25162         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25163         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25164         * sysdeps/mips/mips64/Makefile: ... here.
25165         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25166         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25167         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25168         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25169         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25170         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25171         * sysdeps/mips/mips64/n64/Implies: Likewise.
25173 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25175         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25176         <sys/time.h>, <string.h>, and <errno.h>.
25177         (dest_offset, dest_address, value, zero): Remove unused variables.
25178         (ldouble): Remove typedef.
25179         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25180         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25181         1).  Fix code style.
25182         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25183         (check): Function removed.
25184         (CHECK): New macro.
25185         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25186         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25187         Don't call set_sigaction_FP and remove_sigaction_FP here.
25188         (ldouble_test): Just use 'long double' as macro argument, no need for
25189         the 'ldouble' typedef.
25190         (do_test): Set up SIGFPE handler at start, using plain signal rather
25191         than sigaction.  Fix code style.
25193 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25195         [BZ #17949]
25196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25197         jump label.
25199 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25201         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25202         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25204         * sysdeps/powerpc/configure.ac: Remove file.
25205         * sysdeps/powerpc/configure: Likewise.
25207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25208         [sysdep_routines]: Remove wordcopy-power6 object.
25209         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25210         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25211         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25212         (__memmove_ppc32): Likewise.
25213         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25214         file.
25215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25217         Remove preprocessor.
25219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25220         [sysdep_routines]: Remove wide chars objects.
25221         [wcsmbs]: New rule for wide char objects.
25223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25224         Remove wordcopy-power6 obejct.
25225         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25226         Use local call for wordcopy and memcpy symbols.
25227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25228         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25229         implementation for loader.
25230         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25233         Remove wordcopy-power7 object.
25234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25235         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25236         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25237         (_wordcopy_fwd_dest_aligned): Likewise.
25238         (_wordcopy_bwd_aligned): Likewise.
25239         (_wordcopy_bwd_dest_aligned): Likewise.
25241         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25242         Rewrite to call __memmove_ppc instead of include default
25243         implementation.
25245         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25246         Remove wide chars objects.
25247         [wcsmbs]: New rule for wide char objects.
25249 2015-02-09  Andreas Schwab  <schwab@suse.de>
25251         [BZ #17912]
25252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25253         in terms of __O_DIRECTORY.
25255 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25257         * time/getdate.c: Include <stdbool.h>.
25258         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25259         call PTR_MANGLE.
25260         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25261         PTR_DEMANGLE.
25263 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25265         Add ersatz _Static_assert on older C hosts
25266         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25267         pre-C11 C platform that is not known to support _Static_assert.
25269 2015-02-07  Richard Braun  <rbraun@sceen.net>
25271         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25272         sigstate.
25273         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25275 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25277         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25278         priority against unexistent AIO_PRIO_DELTA_MAX.
25279         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25280         instead of int.
25281         * misc/fchflags.c (fchflags): Likewise.
25282         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25283         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25284         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25285         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25286         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25287         Declare macros.
25288         [__USE_MISC] (chflags, fchflags): Declare functions.
25289         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25290         EINVAL when nfds is greater than FD_SETSIZE.
25291         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25292         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25293         45.
25294         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25295         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25296         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25297         MACH_RCV_TIMED_OUT.
25298         * hurd/hurd/signal.h (_hurd_self_sigstate,
25299         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25300         Explicit casts from void *.
25301         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25302         * abi-tags: Rename gnu-gnu os into gnu.
25304         [BZ #4719]
25305         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25306         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25307         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25308         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25309         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25310         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25312         [BZ #17944]
25313         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25314         duplicates ADDR->sun_path with sockaddr LEN limitation.
25315         * sysdeps/mach/hurd/connect.c: Include <string.h>
25316         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25317         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25318         * sysdeps/mach/hurd/sendto.c: Likewise.
25319         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25320         implementing it by hand.
25322 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25324         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25325         Use sfi_breg on ldr.
25326         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25327         Likewise.
25329         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25330         it's defined.
25331         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25332         Test SIGSETXID only if it's defined.
25334         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25336         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25337         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25339         * nptl/tst-align2.c: Moved ...
25340         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25341         * nptl/Makefile (tests): Remove tst-align2.
25342         * sysdeps/unix/sysv/linux/Makefile
25343         [$(subdir) = nptl] (tests): Add tst-align-clone.
25344         * nptl/tst-getpid1.c: Moved ...
25345         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25346         * nptl/tst-getpid2.c: Moved ...
25347         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25348         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25349         * sysdeps/unix/sysv/linux/Makefile
25350         [$(subdir) = nptl] (tests): ... here.
25351         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25352         * sysdeps/unix/sysv/linux/Makefile
25353         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25355         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25356         Drop trailing \n from perror argument.  Use return rather than exit.
25358         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25359         on [SA_SIGINFO].
25360         * nptl/tst-cancel21.c (do_test): Likewise.
25361         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25362         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25363         [!SA_SIGINFO]: Make it a stub test.
25365         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25366         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25368         * posix/tst-getlogin.c: Move to ...
25369         * login/tst-getlogin.c: ... here.
25370         * posix/Makefile (tests): Move tst-getlogin to ...
25371         * login/Makefile (tests): ... here.
25373         * libio/tst-atime.c (do_test): Move local variables SV and E
25374         inside [ST_NOATIME] conditional.
25376         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25378         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25380         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25381         (wait_code): New function replaces macro.
25382         Call nanosleep rather than syscall.
25384         * nptl/pt-system.c: Rewritten.  Put everything under
25385         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25386         Use IFUNC to redirect when possible.
25388         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25389         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25390         Use IFUNC to redirect when possible.
25392         * nptl/pt-fork.c: Rewritten.  Put everything under
25393         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25394         Use IFUNC to redirect when possible.
25395         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25398         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25399         unconditionally nowadays.  This included the only reference to
25400         __vdso_clock_gettime that appears outside libc proper.
25401         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25402         Remove version set (containing only __vdso_clock_gettime).
25403         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25404         Add attribute_hidden.
25405         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25406         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25407         libc_hidden_data_def.
25408         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25409         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25411         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25412         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25413         setrpcent, and getrpcport to ...
25414         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25415         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25416         getrpcbynumber_r, and getrpcent_r to ...
25417         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25418         * inet/getrpcbyname.c: Moved ...
25419         * sunrpc/getrpcbyname.c: ... here.
25420         * inet/getrpcbyname_r.c: Moved ...
25421         * sunrpc/getrpcbyname_r.c: ... here.
25422         * inet/getrpcbynumber.c: Moved ...
25423         * sunrpc/getrpcbynumber.c: ... here.
25424         * inet/getrpcbynumber_r.c: Moved ...
25425         * sunrpc/getrpcbynumber_r.c: ... here.
25426         * inet/getrpcent.c: Moved ...
25427         * sunrpc/getrpcent.c: ... here.
25428         * inet/getrpcent_r.c: Moved ...
25429         * sunrpc/getrpcent_r.c: ... here.
25430         * inet/Makefile (routines): Move those to ...
25431         * sunrpc/Makefile (routines): ... here.
25432         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25433         the $(subdirs) list.
25434         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25435         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25436         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25437         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25439         * elf/Makefile (routines): Include $(all-dl-routines), not just
25440         $(dl-routines).
25441         (rtld-routines): Likewise.  Use = rather than :=.
25442         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25443         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25444         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25445         * sysdeps/arm/Makefile: Likewise.
25446         * sysdeps/i386/Makefile: Likewise.
25447         * sysdeps/x86_64/Makefile: Likewise.
25448         * sysdeps/hppa/Makefile [$(subdir) = elf]
25449         (sysdep_routines, sysdep-rtld-routines): Don't add
25450         $(sysdep-dl-routines) to these.
25451         * sysdeps/ia64/Makefile: Likewise.
25452         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25453         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25454         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25455         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25456         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25457         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25458         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25459         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25460         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25461         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25462         these; sysdep-dl-routines alone is enough.
25464 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25466         [BZ #17932]
25467         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25468         where multiplication results in zero and third argument is finite
25469         and nonzero.
25470         * math/auto-libm-test-in: Add more tests of fma.
25471         * math/auto-libm-test-out: Regenerated.
25473         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25474         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25475         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25476         (_FP_CMP_EQ): Likewise.
25477         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25479         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25480         extra argument CHECK_NAN.  Redefine as wrapper around
25481         _FP_EXTEND_CNAN.
25483 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25485         * version.h (RELEASE): Set to "stable".
25486         (VERSION): Set to "2.21"
25487         * include/features.h (__GLIBC_MINOR__): Set to 21.
25489         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25491 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25492             Paul Eggert  <eggert@cs.ucla.edu>
25494         [BZ #16618]
25495         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25497         size in bytes. Store needed elements in wpmax. Use needed size
25498         in bytes for extend_alloca.
25500 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25502         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25503         binutls 2.25, and texinfo 5.2.
25504         * INSTALL: Regenerate.
25505         * sysdeps/nios2/configure: Regenerate.
25506         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25507         * manual/contrib.texi: Update.
25508         * po/be.po: Update.
25509         * po/bg.po: Update.
25510         * po/ca.po: Update.
25511         * po/cs.po: Update.
25512         * po/da.po: Update.
25513         * po/de.po: Update.
25514         * po/el.po: Update.
25515         * po/eo.po: Update.
25516         * po/es.po: Update.
25517         * po/fi.po: Update.
25518         * po/fr.po: Update.
25519         * po/gl.po: Update.
25520         * po/hr.po: Update.
25521         * po/hu.po: Update.
25522         * po/ia.po: Update.
25523         * po/id.po: Update.
25524         * po/it.po: Update.
25525         * po/ja.po: Update.
25526         * po/ko.po: Update.
25527         * po/lt.po: Update.
25528         * po/nb.po: Update.
25529         * po/nl.po: Update.
25530         * po/pl.po: Update.
25531         * po/pt_BR.po: Update.
25532         * po/ru.po: Update.
25533         * po/rw.po: Update.
25534         * po/sk.po: Update.
25535         * po/sl.po: Update.
25536         * po/sv.po: Update.
25537         * po/tr.po: Update.
25538         * po/uk.po: Update.
25539         * po/vi.po: Update.
25540         * po/zh_CN.po: Update.
25541         * po/zh_TW.po: Update.
25543         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25544         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25545         * sysdeps/hppa/dl-irel.h: Remove #warning.
25546         * sysdeps/hppa/entry.h: Provide prototype for
25547         __canonicalize_funcptr_for_compare and cast argument.
25548         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25549         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25550         * sysdeps/hppa/sotruss-lib.c: New file.
25551         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25552         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25553         (atomic_compare_and_exchange_bool_acq): Likewise.
25554         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25555         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25557         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25558         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25559         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25561 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25563         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25564         called function in non-PIC case.
25566 2015-01-31  David S. Miller  <davem@davemloft.net>
25568         * sysdeps/sparc/sparc32/bits/atomic.h
25569         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25570         unlock not after it.
25571         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25572         volatile register usage warnings from the compiler.
25574         * sysdeps/sparc/nptl/sem_init.c: Delete.
25575         * sysdeps/sparc/nptl/sem_post.c: Delete.
25576         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25577         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25578         * sysdeps/sparc/sparc32/sem_init.c: New file.
25579         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25580         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25581         padding explicitly initialized.
25582         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25583         padding for in-semaphore spinlock.
25584         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25585         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25586         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25587         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25588         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25589         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25590         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25591         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25592         version.
25593         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25594         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25596 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25598         [BZ #17801]
25599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25600         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25601         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25602         New.
25603         (index_AVX_Fast_Unaligned_Load): Likewise.
25604         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25605         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25606         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25607         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25608         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25609         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25610         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25611         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25612         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25614 2015-01-29  Andreas Schwab  <schwab@suse.de>
25616         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25618 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25620         [BZ #17892]
25621         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25623 2015-01-28  Martin Sebor  <msebor@redhat.com>
25625         * math/README.libm-test: Clarify. Add "How to read the test output."
25627 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25629         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25630         Define to 0.
25632 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25634         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25635         (__HAVE_64B_ATOMICS): Define to 0.
25637 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25639         [BZ #17885]
25640         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25641         value to set as new flag.
25643         [BZ #16576]
25644         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25645         and use _ARCH_PPCSQ instead.
25646         (__ieee754_sqrt): Likewise.
25647         (__ieee754_sqrtf): Likewise.
25648         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25649         _ARCH_PPCSQ is defined.
25650         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25651         fsqrt instruction.
25652         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25653         _ARCH_PPCSQ is defined.
25654         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25655         fsqrts instruction.
25656         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25658 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25660         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25661         bug (GCC BZ #64739).
25663 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25665         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25666         Mark _retval as used.
25667         (lll_futex_wake_unlock): Likewise.
25668         (lll_futex_timed_wait_requeue_pi): Likewise.
25670         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25671         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25672         register variables.
25674         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25675         libm_hidden_def.
25677         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25678         (__bswap_64): Mark as __always_inline.
25680 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25682         [BZ #15378]
25683         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25684         when none of the search directories exist.
25686 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25688         [BZ #17869]
25689         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25690         power8 in .machine directive.
25692         [BZ #17868]
25693         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25694         set dependency from opd value.
25696 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25699         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25700         architecture.
25702 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25704         [BZ #17870]
25705         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25706         with uint64_t.
25707         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25708         (uint64_t) 1.
25709         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25710         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25711         Replace 1UL with (uint64_t) 1.
25712         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25713         int with uint64_t.
25715 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25717         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25718         (if_freenameindex): Likewise.
25720         * resource/getrlimit64.c: Add missing libc_hidden_def.
25722 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25724         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25725         __label__.
25726         (_FP_FMA): Likewise.
25727         (_FP_TO_INT_ROUND): Likewise.
25728         (_FP_FROM_INT): Likewise.
25730 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25732         [BZ #16418]
25733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25734         Make code racy and cancel safe.
25736 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25738         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25739         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25740         attribution.
25742         * pwd/tst-getpw.c: Rewrite.
25744         [BZ #17702]
25745         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25746         (modules-names): Add moddummy1 and moddummy2.
25747         ($(objpfx)tst-rec-dlopen): Define.
25748         * dlfcn/moddummy1.c: New file.
25749         * dlfcn/moddummy2.c: New file.
25750         * dlfcn/tst-rec-dlopen.c: New file.
25751         * elf/dl-cache.c (_dl_load_cache_lookup):
25752         Return char*. Copy result with alloca/strcpy/strdup.
25753         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25754         returns char*. Free cached. If not saving realname
25755         free cached.
25756         * elf/dl-open.c (dl_open_worker): Do not assert that
25757         _r_debug->r_state is RT_CONSISTENT.
25758         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25759         returns char*.
25761 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25762             Carlos O'Donell  <carlos@redhat.com>
25764         [BZ #12674]
25765         * nptl/sem_waitcommon.c: New file.
25766         * nptl/sem_wait.c: Include sem_waitcommon.c.
25767         (__sem_wait_cleanup, do_futex_wait): Remove.
25768         (__new_sem_wait): Adapt.
25769         (__new_sem_trywait): New function.
25770         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25771         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25772         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25773         (sem_timedwait): Adapt.
25774         * nptl/sem_post.c (__new_sem_post): Adapt.
25775         (futex_wake): New function.
25776         (__old_sem_post): Add release MO fence.
25777         * nptl/sem_open.c (sem_open): Adapt.
25778         * nptl/sem_init.c (__new_sem_init): Adapt.
25779         (futex_private_if_supported): New function.
25780         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25781         (__old_sem_getvalue): Add using previous code.
25782         * sysdeps/nptl/internaltypes.h: Adapt.
25783         * nptl/tst-sem13.c (do_test): Adapt.
25784         * nptl/tst-sem11.c (main): Adapt.
25785         * nptl/sem_trywait.c: Remove.
25786         * nptl/DESIGN-sem.txt: Remove.
25787         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25788         (gen-as-const-headers): Remove structsem.sym.
25789         * nptl/structsem.sym: Remove.
25790         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25791         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25792         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25793         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25794         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25795         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25796         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25797         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25798         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25799         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25800         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25801         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25802         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25803         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25804         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25805         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25806         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25807         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25808         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25809         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25810         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25811         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25813 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25815         * INSTALL: Regenerated.
25817         * po/libc.pot: Regenerated.
25819 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25820             Sandra Loosemore  <sandra@codesourcery.com>
25821             Andrew Jenner  <andrew@codesourcery.com>
25822             Joseph Myers  <joseph@codesourcery.com>
25823             Nathan Sidwell  <nathan@codesourcery.com>
25825         * NEWS: Mention new Nios II port.
25826         * sysdeps/nios2/Implies: New file.
25827         * sysdeps/nios2/Makefile: New file.
25828         * sysdeps/nios2/Subdirs: New file.
25829         * sysdeps/nios2/Versions: New file.
25830         * sysdeps/nios2/__longjmp.S: New file.
25831         * sysdeps/nios2/abort-instr.h: New file.
25832         * sysdeps/nios2/backtrace.c: New file.
25833         * sysdeps/nios2/bits/endian.h: New file.
25834         * sysdeps/nios2/bits/fenv.h: New file.
25835         * sysdeps/nios2/bits/link.h: New file.
25836         * sysdeps/nios2/bits/setjmp.h: New file.
25837         * sysdeps/nios2/bsd-_setjmp.S: New file.
25838         * sysdeps/nios2/bsd-setjmp.S: New file.
25839         * sysdeps/nios2/configure: New generated file.
25840         * sysdeps/nios2/configure.ac: New file.
25841         * sysdeps/nios2/crti.S: New file.
25842         * sysdeps/nios2/crtn.S: New file.
25843         * sysdeps/nios2/dl-init.c: New file.
25844         * sysdeps/nios2/dl-machine.h: New file.
25845         * sysdeps/nios2/dl-sysdep.h: New file.
25846         * sysdeps/nios2/dl-tls.h: New file.
25847         * sysdeps/nios2/dl-trampoline.S: New file.
25848         * sysdeps/nios2/gccframe.h: New file.
25849         * sysdeps/nios2/gmp-mparam.h: New file.
25850         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25851         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25852         * sysdeps/nios2/ldsodefs.h: New file.
25853         * sysdeps/nios2/libc-tls.c: New file.
25854         * sysdeps/nios2/libm-test-ulps: New file.
25855         * sysdeps/nios2/machine-gmon.h: New file.
25856         * sysdeps/nios2/math-tests.h: New file.
25857         * sysdeps/nios2/math_private.h: New file.
25858         * sysdeps/nios2/memusage.h: New file.
25859         * sysdeps/nios2/nptl/Makefile: New file.
25860         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25861         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25862         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25863         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25864         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25865         * sysdeps/nios2/nptl/tls.h: New file.
25866         * sysdeps/nios2/preconfigure: New file.
25867         * sysdeps/nios2/s_fma.c: New file.
25868         * sysdeps/nios2/s_fmaf.c: New file.
25869         * sysdeps/nios2/setjmp.S: New file.
25870         * sysdeps/nios2/sfp-machine.h: New file.
25871         * sysdeps/nios2/sotruss-lib.c: New file.
25872         * sysdeps/nios2/stackguard-macros.h: New file.
25873         * sysdeps/nios2/stackinfo.h: New file.
25874         * sysdeps/nios2/start.S: New file.
25875         * sysdeps/nios2/sysdep.h: New file.
25876         * sysdeps/nios2/tls-macros.h: New file.
25877         * sysdeps/nios2/tst-audit.h: New file.
25878         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25879         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25880         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25881         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25882         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25883         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25884         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25885         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25886         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25887         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25888         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25889         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25890         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25891         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25892         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25893         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25894         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25895         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25896         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25897         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25898         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25899         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25900         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25901         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25902         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25903         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25904         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25905         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25906         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25907         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25908         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25909         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25910         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25911         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25912         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25913         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25914         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25915         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25916         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25917         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25918         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25919         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25920         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25921         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25923 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25925         [BZ #17844]
25926         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25927         (getutent): Use weak_alias in non SHARED case
25928         and default_symbol_version in SHARED case.
25929         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25930         (getutent_r, pututline): Likewise.
25931         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25932         (getutid): Likewise.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25934         (getutid_r): Likewise.
25935         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25936         (getutline): Likewise.
25937         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25938         (getutline_r): Likewise.
25939         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25940         (updwtmp): Likewise.
25942 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25944         [BZ #17848]
25945         * sysdeps/s390/s390-32/memcmp.S
25946         (memcmp_g5): Rename to __memcmp_g5.
25947         * sysdeps/s390/s390-32/memcpy.S
25948         (memcpy_g5): Rename to __memcpy_g5.
25949         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25950         (memcpy_mvcle) Rename to __memcpy_mvcle.
25951         * sysdeps/s390/s390-32/memset.S
25952         (memset_g5): Rename to __memset_g5.
25953         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25954         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25955         and use prefixed functions.
25956         * sysdeps/s390/s390-32/multiarch/memcmp.S
25957         (memcmp_z196): Rename to __memcmp_z196.
25958         (memcmp_z10): Rename to __memcmp_z10.
25959         (memcmp): Set alias to __memcmp_g5.
25960         (bcmp): Set alias to __memcmp_g5.
25961         * sysdeps/s390/s390-32/multiarch/memcpy.S
25962         (memcpy_z196): Rename to __memcpy_z196.
25963         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25964         (memcpy_z10): Rename to __memcpy_z10.
25965         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25966         (memcpy): Set alias to __memcpy_g5.
25967         * sysdeps/s390/s390-32/multiarch/memset.S
25968         (memset_z196): Rename to __memset_z196.
25969         Jump to __memset_mvcle instead of memset_mvcle.
25970         (memset_z10): Rename to __memset_z10.
25971         Jump to __memset_mvcle instead of memset_mvcle.
25972         (memset_mvcle) Rename to __memset_mvcle.
25973         (memset): Set alias to __memset_g5.
25974         * sysdeps/s390/s390-64/memcmp.S
25975         (memcmp_z900): Rename to __memcmp_z900.
25976         * sysdeps/s390/s390-64/memcpy.S
25977         (memcpy_z900): Rename to __memcpy_z900.
25978         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25979         (memcpy_mvcle) Rename to __memcpy_mvcle.
25980         * sysdeps/s390/s390-64/memset.S
25981         (memset_z900): Rename to __memset_z900.
25982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25983         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25984         and use prefixed functions.
25985         * sysdeps/s390/s390-64/multiarch/memcmp.S
25986         (memcmp_z196): Rename to __memcmp_z196.
25987         (memcmp_z10): Rename to __memcmp_z10.
25988         (memcmp): Set alias to __memcmp_z900.
25989         (bcmp): Set alias to __memcmp_z900.
25990         * sysdeps/s390/s390-64/multiarch/memcpy.S
25991         (memcpy_z196): Rename to __memcpy_z196.
25992         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25993         (memcpy_z10): Rename to __memcpy_z10.
25994         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25995         (memcpy): Set alias to __memcpy_z900.
25996         * sysdeps/s390/s390-64/multiarch/memset.S
25997         (memset_z196): Rename to __memset_z196.
25998         Jump to __memset_mvcle instead of memset_mvcle.
25999         (memset_z10): Rename to __memset_z10.
26000         Jump to __memset_mvcle instead of memset_mvcle.
26001         (memset_mvcle) Rename to __memset_mvcle.
26002         (memset): Set alias to __memset_z900.
26004 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26006         [BZ #17748]
26007         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26008         __fesetenv instead of fesetenv.
26010 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26012         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26013         macro.
26015 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26017         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26018         regression on LE.
26020         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26021         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26023         strncmp-power8 object.
26024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26025         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26026         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26027         * NEWS: Update.
26029 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26030             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26032         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26033         trailing byte check.
26035 2015-01-13  David S. Miller  <davem@davemloft.net>
26037         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26039 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26041         * login/logout.c (logout): Use memset rather than bzero.
26042         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26043         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26044         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26045         (_gethtbyaddr): Likewise.
26046         * locale/programs/simple-hash.c (bcopy): Macro removed.
26048 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26051         Add strcmp-power8 object.
26052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26053         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26054         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26055         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26056         __strcmp_power8 implementation.
26057         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26058         * NEWS: Update.
26060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26061         Add strncpy-power8 and stpncpy-power8 objects.
26062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26063         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26064         implementations.
26065         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26067         __stpncpy_power8 implementation.
26068         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26069         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26070         __strncpy_power8 implementation.
26071         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26072         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26073         * NEWS: Update.
26075         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26076         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26077         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26079         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26080         strncat-power8 object.
26081         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26082         __strcat_power8 implementation.
26083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26084         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26085         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26086         optimized strcat for power8.
26088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26089         strcpy-power8 and stpcpy-power8 objects.
26090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26091         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26092         implementations.
26093         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26094         multiarch stpcpy implementation for POWER8.
26095         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26096         multiarch strcpy implementation for POWER8.
26097         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26098         __strcpy_power8 function.
26099         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26100         stpcpy for POWER8.
26101         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26102         strcpy for POWER8.
26103         * NEWS: Update.
26105 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26107         [BZ #16009]
26108         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26109         weights and rules. Use do_xfrm_cached if data fits in cache,
26110         do_xfrm otherwise.  Moved former main loop to...
26111         * (do_xfrm_cached): New function.
26112         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26113         find_idx, find_position and stack_push.
26114         * (find_idx): New function.
26115         * (find_position): Likewise.
26116         * localedata/sort-test.sh: Added test run for do_xfrm.
26117         * localedata/xfrm-test.c (main): Added command line option
26118         -nocache to run the test with strings that are too large for
26119         the STRXFRM cache.
26121 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26123         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26124         variable to lll_futex_wake call, not the value itself.
26126 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #17803]
26129         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26130         twom64.  Adjust value to 0x1p-64L.
26131         (__scalblnl): Only return standard underflowing result for K <=
26132         -64 not K <= -63; adjust exponent for underflowing result by 64
26133         not 63.
26134         * math/libm-test.inc (scalbn_test_data): Add more tests.
26135         (scalbln_test_data): Likewise.
26137         [BZ #17834]
26138         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26139         0x1p63L.
26140         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26141         not HX.
26142         * math/libm-test.inc (scalbn_test_data): Add more tests.
26143         (scalbln_test_data): Likewise.
26145 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26146             Stefani Seibold  <stefani@seibold.net>
26148         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26149         (sysdep_routines): Add dl-vdso here, ...
26150         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26151         (sysdep_routines): ... not here.
26152         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26153         fallback when vDSO is not presented.
26154         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26155         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26156         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26157         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26158         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26159         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26160         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26161         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26162         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26164         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26165         fallback configurable symbol when vDSO is not available.
26166         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26167         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26168         be able to redefine fallback symbol when vDSO is not available.
26169         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26170         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26172 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26174         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26175         (TLS_INIT_TP): Add tm_capable initialization.
26176         (TLS_DEFINE_INIT_TP): Likewise.
26177         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26178         TCB.
26179         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26180         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26181         calculation.
26182         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26183         transactoion is lock elision is built and TCB tm_capable is set.
26184         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26186         (INTERNAL_SYSCALL_NCS): Likewise.
26187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26188         (INTERNAL_SYSCALL_NCS): Likewise.
26189         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26191         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26192         for powerpc.
26193         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26194         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26195         and remove it for 32 bits case.
26196         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26197         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26198         initialization.
26199         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26200         Disable lock elision with rdlocks if elision is not available.
26202         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26203         (sysdep_routines): Add lock elision objects.
26204         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26205         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26206         [pthread_mutex_t] (__elision): Add field.
26207         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26208         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26209         elision definitions for powerpc.
26210         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26211         implementation of lock elision for powerpc.
26212         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26213         implementation of timed lock elision for powerpc.
26214         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26215         implementation of trylock with lock elision for powerpc.
26216         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26217         implementaion of unlock for lock elision for powerpc.
26218         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26219         automatic enable lock elision for mutexes.
26220         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26221         transaction execution definitions for powerpc.
26222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26223         definitions.
26224         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26225         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26226         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26227         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26228         * NEWS: Update.
26230 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26232         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26233         for #include of <shm-directory.h>.
26235 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26237         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26238         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26240 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26242         [BZ #17791]
26243         * NEWS: Mention bug fix.
26244         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26245         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26246         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26248 2015-01-09  Torvald Riegel <triegel@redhat.com>
26250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26252 2015-01-09  Torvald Riegel <triegel@redhat.com>
26254         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26256 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26258         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26259         pointer and cast to uintptr_t.
26261 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26263         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26264         removed.
26265         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26267 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26269         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26270         of 0.
26272 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26274         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26275         <nptl/pthreadP.h> instead.
26276         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26278         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26279         already defined.
26280         [__SIGRTMIN] (init): Function removed.
26281         [__SIGRTMIN] (initialized): Variable removed.
26282         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26283         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26284         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26285         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26286         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26287         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26288         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26289         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26290         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26291         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26292         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26293         * sysdeps/nptl/allocrtsig.c: New file.
26294         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26295         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26296         * sysdeps/generic/testrtsig.h: File removed.
26298         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26299         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26301         * nptl/nptl-init.c (pthread_functions): Conditionalize
26302         .ptr__nptl_setxid initialization on [SIGSETXID].
26304         * sysdeps/nptl/sys/procfs.h: New file.
26305         * nptl_db/Makefile (headers): Add it.
26306         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26308         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26309         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26310         * nptl/pthread_attr_setaffinity.c: Include it.
26311         * nptl/pthread_setattr_default_np.c: Likewise.
26312         * nptl/check-cpuset.h: New file.
26314 2015-01-08  Richard Henderson  <rth@redhat.com>
26316         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26317         (CFLAGS-tst-execstack-prog.c): Likewise.
26318         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26320 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26321             Sandra Loosemore  <sandra@codesourcery.com>
26322             Andrew Jenner  <andrew@codesourcery.com>
26323             Joseph Myers  <joseph@codesourcery.com>
26324             Nathan Sidwell  <nathan@codesourcery.com>
26326         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26327         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26328         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26329         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26330         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26331         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26332         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26333         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26334         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26335         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26336         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26337         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26338         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26339         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26340         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26341         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26342         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26344 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26346         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26347         timespec struct member in syscall macro.
26348         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26349         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26350         first timeval struct member in syscall macro.
26351         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26353 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #17748]
26356         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26357         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26358         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26359         __feupdateenv and define as weak alias of __feupdateenv.  Use
26360         libm_hidden_weak.
26361         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26362         libm_hidden_def.
26363         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26364         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26365         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26366         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26367         libm_hidden_def.
26368         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26369         __feupdateenv and define as weak alias of __feupdateenv.  Use
26370         libm_hidden_weak.
26371         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26372         libm_hidden_def.
26373         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26374         __feupdateenv and define as weak alias of __feupdateenv.  Use
26375         libm_hidden_weak.
26376         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26377         libm_hidden_def.
26378         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26379         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26380         (__feupdateenv): Likewise.
26381         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26382         __feupdateenv and define as weak alias of __feupdateenv.  Use
26383         libm_hidden_weak.
26384         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26385         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26386         libm_hidden_def.
26387         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26388         function.
26389         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26390         libm_hidden_def.
26391         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26392         __feupdateenv instead of feupdateenv.
26393         (default_libc_feupdateenv_test): Likewise.
26394         (libc_feresetround_ctx): Likewise.
26396 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26398         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26399         prototype.
26401 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26403         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26404         COLL_SYM in a couple of places to avoid uninitialized variable
26405         wanings on tilegx gcc 4.8.2.
26407 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26409         * sysdeps/aarch64/strcpy.S: New file.
26410         * sysdeps/aarch64/stpcpy.S: New file.
26411         * NEWS: Updated.
26413 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26415         * sysdeps/aarch64/strrchr.S: New file.
26416         * NEWS: Updated.
26418 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26420         [BZ #17658]
26421         * stdlib/setenv.c: Fix memory leak when setting large,
26422         duplicate string.
26424 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26426         [BZ #17273]
26427         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26428         and tabs from buffer before parsing fstab entry.
26429         * misc/tst-mntent.c (main): Add test for mount entry with
26430         trailing spaces and tabs.
26432 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26434         [BZ #17748]
26435         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26436         * math/fesetround.c (fesetround): Rename to __fesetround and
26437         define as weak alias of __fesetround.  Use libm_hidden_weak.
26438         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26439         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26440         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26441         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26442         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26443         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26444         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26445         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26446         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26447         __fesetround_inline.
26448         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26449         __fesetround_inline instead of __fesetround.
26450         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26451         __fesetround and define as weak alias of __fesetround.  Use
26452         libm_hidden_weak.  Call __fesetround_inline instead of
26453         __fesetround.
26454         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26455         __fesetround and define as weak alias of __fesetround.  Use
26456         libm_hidden_weak.
26457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26458         Likewise.
26459         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26460         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26461         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26462         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26463         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26464         __fesetround and define as weak alias of __fesetround.  Use
26465         libm_hidden_weak.
26466         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26467         __fesetround instead of fesetround.
26468         (default_libc_feholdexcept_setround): Likewise.
26469         (libc_feholdsetround_ctx): Likewise.
26470         (libc_feholdsetround_noex_ctx): Likewise.
26472         [BZ #17748]
26473         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26474         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26475         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26476         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26477         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26478         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26479         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26480         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26481         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26482         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26483         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26484         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26485         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26486         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26487         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26488         libm_hidden_def.
26489         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26490         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26491         Likewise.
26492         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26493         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26494         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26495         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26496         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26497         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26498         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26499         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26500         __fesetenv instead of fesetenv.
26501         (libc_feresetround_noex_ctx): Likewise.
26502         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26503         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26504         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26505         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26506         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26507         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26508         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26509         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26510         (__feupdateenv): Likewise.
26511         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26512         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26513         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26514         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26516 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26518         [BZ #17806]
26519         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26520         addresses have been freed.
26522 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26524         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26525         and nservall.
26527 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26529         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26530         Clean up check_pf allocation pattern. addresses
26532 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26534         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26535         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26536         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26537         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26538         * nptl/pthread_join.c (pthread_join): Likewise.
26539         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26540         * sysdeps/posix/waitid.c (__waitid): Likewise.
26541         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26542         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26543         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26544         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26546         Likewise.
26547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26548         (__libc_pread64): Likewise.
26549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26550         (__libc_pwrite): Likewise.
26551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26552         (__libc_pwrite64): Likewsie.
26553         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26554         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26555         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26556         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26557         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26558         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26559         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26561         Likewise.
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26563         (__libc_pread64): Likewise.
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26565         Likewise.
26566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26567         (__libc_pwrite64): Likewise.
26568         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26569         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26570         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26571         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26572         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26573         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26574         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26575         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26576         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26577         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26578         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26579         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26580         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26581         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26582         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26583         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26584         Likewise.
26586 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26588         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26589         (CFLAGS-test-double.c): Likewise.
26590         (CFLAGS-test-ldouble.c): Likewise.
26591         (CPPFLAGS-test-ifloat.c): Likewise.
26592         (CPPFLAGS-test-idouble.c): Likewise.
26593         (CPPFLAGS-test-ildoubl.c): Likewise.
26594         (CFLAGS-test-test-fenv.c): Remove variable.
26595         (CFLAGS-test-misc.c): Likewise.
26597 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26599         [BZ #17797]
26600         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26601         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26602         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26603         CLOCKS_PER_SEC == 1000000.
26604         * time/clocktest.c (main): Replace %ld with %jd and cast to
26605         intmax_t.
26607 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26609         * sysdeps/generic/unwind-resume.h: New file.
26610         * sysdeps/gnu/unwind-resume.c: Include it.
26611         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26612         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26613         argument list.
26614         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26615         global rather than static.
26616         (_Unwind_Resume): Update user.
26617         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26618         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26619         rather than static.  Add __attribute__ ((cold)).
26620         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26621         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26622         * sysdeps/arm/arm-unwind-resume.S: New file.
26623         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26624         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26625         * sysdeps/arm/Makefile [$(subdir) = csu]
26626         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26627         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26628         Add rt-arm-unwind-resume.
26629         [$(subdir) = nptl]
26630         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26631         Add pt-arm-unwind-resume.
26632         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26633         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26635 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26637         [BZ #17748]
26638         * include/fenv.h (__feholdexcept): Declare.  Use
26639         libm_hidden_proto.
26640         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26641         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26642         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26643         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26644         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26645         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26646         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26647         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26648         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26649         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26650         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26651         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26652         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26653         (feholdexcept): Likewise.
26654         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26655         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26656         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26657         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26658         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26659         __feholdexcept instead of feholdexcept.
26660         (default_libc_feholdexcept_setround): Likewise.
26662 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26664         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26665         to avoid using stl/str to align destination.
26667 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26669         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26671 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26673         [BZ #17796]
26674         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26675         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26676         Define as weak alias not strong alias.
26678 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26680         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26681         bltzal with addiupc.
26682         (RTLD_START): Ditto.
26684 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26686         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26687         for __vdso_* functions in declarations.
26688         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26689         definitions.
26690         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26691         INTERNAL_VSYSCALL): Use struct return types to check for error.
26693         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26694         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26695         function with cast from llround().
26696         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26697         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26698         Define.
26700 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26702         [BZ #17793]
26703         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26704         Define as weak alias not strong alias.
26706         [BZ #17635]
26707         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26708         ...
26709         * ctype/ctype-extn.c: ... here.
26710         (__isblank_l): Move to ...
26711         * ctype/ctype-c99_l.c: ... here.  New file.
26712         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26713         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26714         Remove variable.
26715         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26716         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26717         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26718         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26719         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26721         [BZ #17777]
26722         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26723         (posix_fadvise64): Define as weak alias not strong alias.
26724         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26725         (posix_fallocate64): Likewise.
26726         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26727         Remove variable.
26728         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26729         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26730         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26731         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26732         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26734 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26736         [BZ #16191]
26737         * NEWS: Mention bug fix.
26738         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26739         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26740         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26741         (HOST_STACK_END_ADDR): Likewise.
26743 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #17748]
26746         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26747         * math/fegetround.c (fegetround): Rename to __fegetround and
26748         define as weak alias of __fegetround.  Use libm_hidden_weak.
26749         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26750         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26751         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26752         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26753         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26754         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26755         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26756         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26757         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26758         Undefine after rather than before function definition; use
26759         parentheses around function name in definition.
26760         (__fegetround): Also undefine macro after function definition.
26761         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26762         __fegetround and define as weak alias of __fegetround.  Use
26763         libm_hidden_weak.  Do not undefine as macro.
26764         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26765         Likewise.
26766         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26767         __fegetround and define as weak alias of __fegetround.  Use
26768         libm_hidden_weak.
26769         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26770         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26771         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26772         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26773         __fegetround and define as weak alias of __fegetround.  Use
26774         libm_hidden_weak.
26775         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26776         __fegetround instead of fegetround.
26778         [BZ #17782]
26779         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26780         Condition macro definition on [__USE_MISC].
26782         [BZ #17781]
26783         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26784         (struct sigaction): Change type of sa_flags field to int.
26786         [BZ #17780]
26787         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26788         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26789         __glibc_reserved0.
26791         * nptl/version.c (banner): Use single year in copyright notice.
26793         * NEWS: Update copyright dates.
26794         * catgets/gencat.c (print_version): Likewise.
26795         * csu/version.c (banner): Likewise.
26796         * debug/catchsegv.sh: Likewise.
26797         * debug/pcprofiledump.c (print_version): Likewise.
26798         * debug/xtrace.sh (do_version): Likewise.
26799         * elf/ldconfig.c (print_version): Likewise.
26800         * elf/ldd.bash.in: Likewise.
26801         * elf/pldd.c (print_version): Likewise.
26802         * elf/sotruss.sh: Likewise.
26803         * elf/sprof.c (print_version): Likewise.
26804         * iconv/iconv_prog.c (print_version): Likewise.
26805         * iconv/iconvconfig.c (print_version): Likewise.
26806         * locale/programs/locale.c (print_version): Likewise.
26807         * locale/programs/localedef.c (print_version): Likewise.
26808         * login/programs/pt_chown.c (print_version): Likewise.
26809         * malloc/memusage.sh (do_version): Likewise.
26810         * malloc/memusagestat.c (print_version): Likewise.
26811         * malloc/mtrace.pl: Likewise.
26812         * manual/libc.texinfo: Likewise.
26813         * nptl/version.c (banner): Likewise.
26814         * nscd/nscd.c (print_version): Likewise.
26815         * nss/getent.c (print_version): Likewise.
26816         * nss/makedb.c (print_version): Likewise.
26817         * posix/getconf.c (main): Likewise.
26818         * scripts/test-installation.pl: Likewise.
26819         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26821 2015-01-02  Will Newton  <will.newton@linaro.org>
26823         * sysdeps/arm/armv7/configure: Removed.
26824         * sysdeps/arm/armv7/configure.ac: Likewise.
26826 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26828         * All files with FSF copyright notices: Update copyright dates
26829         using scripts/update-copyrights.
26830         * intl/plural.c: Regenerated.
26831         * locale/programs/charmap-kw.h: Likewise.
26832         * locale/programs/locfile-kw.h: Likewise.
26834 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26836         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26838 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26840         [BZ #17748]
26841         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26842         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26843         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26844         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26845         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26846         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26847         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26848         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26849         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26850         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26851         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26852         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26853         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26854         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26855         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26856         libm_hidden_def.
26857         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26858         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26859         Likewise.
26860         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26861         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26862         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26863         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26864         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26865         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26866         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26867         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26868         __fegetenv instead of fegetenv.
26869         (libc_feholdsetround_noex_ctx): Likewise.
26871 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26873         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26874         (Elf_MIPS_ABIFlags_v0): New structure.
26875         (EF_MIPS_FP64): Define.
26876         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26877         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26878         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26879         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26880         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26881         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26882         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26883         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26884         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26885         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26886         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26887         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26888         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26889         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26890         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26891         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26892         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26893         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26894         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26895         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26896         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26897         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26898         field.
26899         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26900         EF_MIPS_FP64.
26901         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26902         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26903         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26904         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26905         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26906         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26907         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26908         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26909         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26910         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26911         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26912         record the current FP ABI extension.
26913         (mips-mode-switch): Define to show if kernel headers support mode
26914         switching.
26915         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26916         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26917         supported SYSV ABI version to 3.
26918         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26919         feature.
26921 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26922             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26924         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26925         path.
26926         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26928 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26930         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26931         __fegetround and redefine to call __fegetround.  Remove condition
26932         on [!__NO_MATH_INLINES].
26933         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26934         function.
26935         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26936         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26937         Remove macro.
26938         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26939         instead of <fenv_libc.h>.
26940         (__llrintl): Call fegetround instead of __fegetround.
26941         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26942         instead of <fenv_libc.h>.
26943         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26944         (__lrintl): Call fegetround instead of __fegetround.
26945         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26946         instead of <fenv_libc.h>.
26947         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26948         (__rintl): Call fegetround instead of __fegetround.
26950 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26953         arrays.
26955 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26957         [BZ #17775]
26958         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26959         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26960         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26962 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26964         * sysdeps/i386/tls-macros.h: Include <features.h>.
26965         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26966         (TLS_IE): Likewise.
26967         (TLS_LD): Likewise.
26968         (TLS_GD): Likewise.
26969         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26970         define for GCC >= 5.0.
26972 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26974         * math/test-fenv.c (test_single_exception, set_single_exc,
26975         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26976         feexcp_mask_test, feenable_test, fe_single_test): Add
26977         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26978         case where they are not used.
26979         * math/libm-test.inc: Likewise.
26980         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26981         unused in the absence of FP rounding/exception support.
26982         * stdio-common/tst-printf-round.c: Likewise.
26983         * stdlib/tst-strtod-round.c: Likewise.
26984         * stdlib/tst-strtod-underflow.c: Likewise.
26986 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #17723]
26989         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26990         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26991         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26992         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26993         libm_hidden_weak.
26994         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26995         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26996         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26997         libm_hidden_def.
26998         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26999         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27000         libm_hidden_weak.
27001         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27002         Likewise.
27003         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27004         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27005         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27006         libm_hidden_weak.
27007         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27008         libm_hidden_def.
27009         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27010         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27011         (__feraiseexcept): Likewise.
27012         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27013         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27014         libm_hidden_weak.
27015         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27016         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27017         libm_hidden_def.
27018         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27019         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27020         Use libm_hidden_def.
27021         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27022         libm_hidden_def.
27023         (feraiseexcept): Define as weak not strong alias.  Use
27024         libm_hidden_weak.
27025         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27026         New inline function.  Factored out of ...
27027         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27028         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27029         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27030         feraiseexcept.
27031         * math/w_acos.c (__acos): Likewise.
27032         * math/w_asin.c (__asin): Likewise.
27033         * math/w_ilogb.c (__ilogb): Likewise.
27034         * math/w_j0.c (y0): Likewise.
27035         * math/w_j1.c (y1): Likewise.
27036         * math/w_jn.c (yn): Likewise.
27037         * math/w_log.c (__log): Likewise.
27038         * math/w_log10.c (__log10): Likewise.
27039         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27040         * sysdeps/aarch64/fpu/math_private.h
27041         (libc_feupdateenv_test_aarch64): Likewise.
27042         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27043         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27044         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27045         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27046         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27047         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27048         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27049         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27050         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27051         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27053 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27055         [BZ #17732]
27056         * io/test-utime.c (main): Replace %ld with %jd and cast to
27057         intmax_t.
27058         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27059         * nptl/tst-mutex5.c: Include <stdint.h>.
27060         (do_test): Replace %ld with %jd and cast to intmax_t.
27061         * posix/tst-regex.c (run_test): Likewise.
27062         (run_test_backwards): Likewise.
27063         * rt/tst-clock.c: Include <stdint.h>.
27064         (clock_test): Replace %ld with %jd and cast to intmax_t.
27065         * rt/tst-cpuclock1.c: Include <stdint.h>.
27066         (do_test): Replace %lu with %ju and cast to uintmax_t.
27067         * rt/tst-cpuclock2.c: Include <stdint.h>.
27068         (do_test): Replace %lu with %ju and cast to uintmax_t.
27069         * rt/tst-mqueue1.c: Include <stdint.h>.
27070         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27071         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27072         intmax_t.
27073         * rt/tst-mqueue4.c (do_test): Likewise.
27074         * rt/tst-timer4.c: Include <stdint.h>.
27075         (check_ts): Replace %ld with %jd and cast to intmax_t.
27076         (do_test): Likewise.
27077         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27078         and cast to intmax_t.
27079         * sysdeps/pthread/tst-timer.c (main): Likewise.
27080         * time/clocktest.c (main): Likewise.
27081         * time/tst-posixtz.c (do_test): Likewise.
27082         * timezone/tst-timezone.c (main): Likewise.
27084 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27085             H.J. Lu  <hongjiu.lu@intel.com>
27087         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27088         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27089         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27090         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27091         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27092         version if bit_Fast_Unaligned_Load is set.
27093         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27095         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27096         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27097         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27098         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27100         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27101         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27102         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27103         to 4.
27104         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27105         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27106         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27107         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27109 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27111         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27112         instead of #if to avoid a Wundef warning.
27113         * stdlib/tst-limits.c (do_test): Likewise.
27115         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27116         parallel other exception macros.
27117         (fegetenv): Convert from macro to extern inline so that it applies
27118         retroactively to inline functions already seen by the compiler.
27119         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27121         * posix/Makefile (before-compile): Use $(objpfx) for
27122         posix-conf-vars-def.h.
27124 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27126         * posix/getconf.c (main): Use size_t for type of I.
27127         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27128         NSPEC.
27130         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27131         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27132         * posix/posix-envs.def: Likewise.
27133         * sysdeps/posix/sysconf.c: Likewise.
27134         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27135         (specs): Remove array.
27136         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27137         array.
27139         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27140         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27141         (__sysconf): Use CONF_IS_* macros.
27143         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27144         ($(objpfx)posix-conf-vars-def.h): New target.
27145         * posix/posix-conf-vars.list: New file.
27146         * posix/posix-conf-vars.h: New file.
27147         * posix/confstr.c: Include posix-conf-vars.h.
27148         (confstr): Use CONF_IS_* macros.
27149         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27150         CONF_IS_* macros.
27151         * scripts/gen-posix-conf-vars.awk: New file.
27153 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27155         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27156         fegetround): Add no-op macros to avoid linknamespace issues.
27158         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27159         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27161         * sysdeps/unix/sysv/linux/tile/sysdep.h
27162         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27163         assembly-specific section to avoid a redefinition warning.
27165         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27166         long before casting to pointer to avoid a cast warning.
27168 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27170         * sysdeps/tile/tilegx/Implies: New file.
27172 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27174         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27176 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27178         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27180 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27182         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27183         not define.
27184         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27185         <kernel-features.h>.
27186         (__utimes) [__NR_utimes]: Make code unconditional.
27187         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27188         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27189         (__ASSUME_UTIMES): Do not undefine.
27190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27191         (__ASSUME_UTIMES): Likewise.
27192         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27193         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27194         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27195         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27197 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27199         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27201 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27203         [BZ #17747]
27204         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27205         alias to weak alias for j0l, y0l.
27206         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27207         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27209         [BZ #17746]
27210         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27211         conversion.
27213 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27215         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27216         to zero if not already defined.
27218 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27220         [BZ #17724]
27221         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27222         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27223         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27224         (char *) casts added.
27225         * sysdeps/ieee754/k_standardf.c: New file.
27226         * sysdeps/ieee754/k_standardl.c: Likewise.
27227         * math/Makefile (libm-support): Remove k_standard.
27228         (libm-calls): Add k_standard.
27230 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27232         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27233         Optimize to avoid an unnecessary FPCR read.
27235 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27237         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27238         Optimize to reduce FPCR/FPSR accesses.
27240 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27242         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27243         Call libc_fetestexcept_aarch64.
27245 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27247         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27248         Call libc_fesetround_aarch64.
27250 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27252         [BZ #17733]
27253         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27254         (__bind): Do not define as weak alias.
27255         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27256         define.
27257         (__getsockname): Do not define as weak alias.
27259 2014-12-22  Will Newton  <will.newton@linaro.org>
27261         * manual/install.texi: Document that we require bison 2.7
27262         or above.
27263         * INSTALL: Regenerate.
27264         * configure.ac: Use AC_CHECK_PROG_VER instead of
27265         AC_PATH_PROG when checking for bison and check for
27266         version 2.7 or above.
27267         * configure: Regenerate.
27269 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27271         [BZ #17745]
27272         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27273         * sysdeps/tile/ffsll.c (ffsll): To here.
27275         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27277 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27279         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27280         if not defined.
27281         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27282         definition.
27283         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27284         hidden ___tls_get_addr.
27285         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27286         hidden __tls_get_addr.
27287         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27288         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27289         Likewise.
27291 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27293         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27294         _dl_init call.
27296 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27298         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27299         from "call _dl_init@PLT".
27300         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27302 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27304         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27305         guarantees.
27307 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27309         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27311 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27313         [BZ #17744]
27314         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27315         strnlen.
27317 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27319         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27320         of multu on MIPSr6.
27321         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27322         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27323         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27324         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27325         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27327 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27329         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27330         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27331         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27332         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27333         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27334         mips32r6/mips64r6.
27335         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27337 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27339         * string/strncat.c (STRNCAT): Simplify implementation.
27341 2014-12-19  David S. Miller  <davem@davemloft.net>
27343         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27344         access the quad as both a long double and as a series of 4 words.
27346         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27347         link_map->l_info array access.
27349 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27351         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27353         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27354         * math/atest-exp2.c (TIMEOUT): Likewise.
27355         * math/atest-sincos.c (TIMEOUT): Likewise.
27357 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27359         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27360         -Wno-error with -fno-builtin-lround.
27362 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27364         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27365         Contains futex constants and functions moved over from ...
27366         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27367         <lowlevellock-futex.h>.
27368         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27369         (lll_timedwait_tid): Add comments and parentheses around macro
27370         arguments.
27372 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27374         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27375         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27376         (__lll_private_flag): Remove.
27377         (lll_futex_wait): Likewise.
27378         (lll_futex_timed_wait): Likewise.
27379         (lll_futex_wake): Likewise.
27380         (lll_futex_requeue): Likewise.
27381         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27382         (__lll_timedwait_tid): Spell out argument names.
27383         (lll_timedwait_tid): Add comments and parentheses around macro
27384         arguments.
27385         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27386         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27388 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27390         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27391         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27392         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27393         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27394         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27395         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27396         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27397         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27398         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27399         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27400         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27401         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27402         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27403         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27404         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27405         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27406         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27407         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27408         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27410 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27412         * sysdeps/x86_64/x32/Makefile: New file.
27414 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27416         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27417         1L with (mp_limb_t) 1.
27419 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27421         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27422         * nptl/libc_pthread_init.c: ... here.
27423         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27424         * nptl/register-atfork.c: ... here.
27426         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27427         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27428         Use assert_perror to check its return value.
27429         (__gai_create_helper_thread): Likewise.
27431         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27433         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27435 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27437         [BZ #17725]
27438         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27439         __profil_counter.
27440         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27441         Likewise.
27442         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27443         Likewise.
27444         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27445         Likewise.
27446         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27447         (profil_counter): Likewise.
27448         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27449         (profil_counter): Likewise.
27450         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27451         Likewise.
27452         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27453         Likewise.
27454         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27455         (profil_counter): Likewise.
27456         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27457         Likewise.
27458         [!__profil_counter] (profil_counter): Define as weak alias of
27459         __profil_counter.
27460         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27461         (profil_counter): Rename to __profil_counter.
27462         [!__profil_counter] (profil_counter): Define as weak alias of
27463         __profil_counter.
27464         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27465         (profil_counter): Rename to __profil_counter.
27466         [!__profil_counter] (profil_counter): Define as weak alias of
27467         __profil_counter.
27468         * sysdeps/posix/profil.c: Update comment referring to
27469         profil_counter.
27470         (__profil): Use __profil_counter instead of profil_counter.
27471         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27472         __profil_counter.  Use __profil_counter_ushort and
27473         __profil_counter_uint in definitions.
27474         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27475         instead of profil_counter_uint and profil_counter_ushort.
27477         [BZ #17722]
27478         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27479         define as weak alias of __inet_makeaddr.
27480         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27481         as weak alias of __inet_addr.
27482         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27483         as weak alias of __inet_pton.  Use libc_hidden_weak.
27484         * include/arpa/inet.h (__inet_pton): Declare.  Use
27485         libc_hidden_proto.
27486         (inet_makeaddr): Don't use libc_hidden_proto.
27487         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27488         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27489         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27490         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27491         Remove variable.
27492         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27493         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27495 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27497         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27499 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27501         * stdio-common/bug-vfprintf-nargs.c (do_test):
27502         Cast value to intptr_t to avoid format warning
27503         for usage with PRIdPTR printing macro.
27505 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27507         * libio/tst-widetext.c (do_test):
27508         Use format type %td instead of %Zd for ptrdiff_t
27509         in order to avoid format warning.
27511 2014-12-17  Andreas Schwab  <schwab@suse.de>
27513         * nscd/mem.c (gc): Add size_t cast to match printf format.
27515 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27517         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27518         (init): Apply PTR_MANGLE to pointers before storing them.
27519         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27520         before using them.
27522 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #17719]
27525         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27526         define as weak alias of __memrchr.
27527         (__memrchr): Do not define as strong alias of memrchr.
27528         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27529         Remove variable.
27530         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27531         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27532         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27534         [BZ #17717]
27535         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27536         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27537         (if_indextoname): Rename to __if_indextoname and define as weak
27538         alias of __if_indextoname.  Use libc_hidden_weak.
27539         (if_freenameindex): Rename to __if_freenameindex and define as
27540         weak alias of __if_freenameindex.
27541         (if_nameindex): Rename to __if_nameindex and define as weak alias
27542         of __if_nameindex.
27543         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27544         __if_nametoindex and define as weak alias of __if_nametoindex.
27545         Use libc_hidden_weak.
27546         (if_freenameindex): Rename to __if_freenameindex and define as
27547         weak alias of __if_freenameindex.
27548         (if_nameindex): Rename to __if_nameindex and define as weak alias
27549         of __if_nameindex.
27550         (if_indextoname): Rename to __if_indextoname and define as weak
27551         alias of __if_indextoname.  Use libc_hidden_weak.
27552         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27553         __if_nametoindex and define as weak alias of __if_nametoindex.
27554         Use libc_hidden_weak.
27555         (if_freenameindex): Rename to __if_freenameindex and define as
27556         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27557         (if_nameindex_netlink): Use __if_freenameindex instead of
27558         if_freenameindex.
27559         (if_nameindex): Rename to __if_nameindex and define as weak alias
27560         of __if_nameindex.  Use libc_hidden_weak.
27561         (if_indextoname): Rename to __if_indextoname and define as weak
27562         alias of __if_indextoname.  Use libc_hidden_weak.
27563         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27564         libc_hidden_proto.
27565         [!_ISOMAC] (__if_freenameindex): Likewise.
27566         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27567         if_nametoindex.
27568         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27569         variable.
27570         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27571         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27572         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27573         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27574         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27575         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27576         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27578         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27579         Remove variable.
27580         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27581         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27583 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27585         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27586         subscript above bounds'
27588         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27589         bounds.
27591 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27593         * libio/tst-fopenloc.c: Use test-skeleton.c.
27595         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27596         (entry): Rename to ITEM.
27597         (do_test, comp): Adjust.
27599         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27601 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27603         * string/tester.c: Include <libc-internal.h>.
27604         (test_memset): Ignore -Wmemset-transposed-args.
27606 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27608         * misc/tst-mntent2.c (do_test): Fix warning.
27610 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27612         * elf/tst-unique4lib.cc(a): Mark as used.
27614 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27616         [BZ #17630]
27617         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27618         names.
27620 2014-12-16  Allan McRae  <allan@archlinux.org>
27622         * stdio-common/Makefile (tests): Re-add bug26.
27624 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27626         [BZ #17657]
27627         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27628         static array.
27630 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27632         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27633         (__lll_lock_wait): Likewise.
27634         (__lll_timedlock_wait): Likewise.
27635         (__lll_timedwait_tid): Likewise.
27636         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27637         (__lll_robust_timedlock_wait): Likewise.
27638         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27639         (lll_cond_trylock): Likewise.
27640         (__lll_lock): Likewise.
27641         (__lll_robust_lock): Likewise.
27642         (__lll_cond_lock): Likewise.
27643         (lll_robust_cond_lock): Likewise.
27644         (__lll_timedlock): Likewise.
27645         (__lll_robust_timedlock): Likewise.
27646         (__lll_unlock): Likewise.
27647         (__lll_robust_unlock): Likewise.
27648         (lll_wait_tid): Likewise.
27649         (lll_timedwait_tid): Likewise.
27651 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27653         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27655 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27657         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27659 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27661         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27662         * stdio-common/tst-sprintf.c: Likewise.
27664 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27666         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27668 2014-12-15  Jeff Law  <law@redhat.com>
27670         [BZ #16617]
27671         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27672         on the heap.  (CVE-2012-3406)
27673         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27674         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27675         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27677 2014-12-15  Will Newton  <will.newton@linaro.org>
27679         * manual/install.texi: Bump required version of texinfo
27680         to 4.7 from 4.5.
27681         * INSTALL: Regenerated.
27682         * configure.ac: Check for makeinfo version 4.7 and above.
27683         * configure: Regenerated.
27685 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27687         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27688         PREFIX, string constant to insert between directory and name.
27689         * sysdeps/posix/shm_open.c: Update caller.
27690         * sysdeps/posix/shm_unlink.c: Likewise.
27691         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27692         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27693         (SEM_SHM_PREFIX): New macro.
27694         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27695         [$(have-thread-library) = no].
27696         * nptl/Makefile (libpthread-routines): Add shm-directory.
27697         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27698         * sysdeps/nptl/shm-directory.h: New file.
27699         * sysdeps/posix/shm-directory.c
27700         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27701         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27702         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27703         INTERNAL_SYSCALL.
27704         (__where_is_shmfs): Function removed.
27705         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27706         Variables removed.
27707         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27708         Use SHM_GET_NAME.
27709         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27711         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27712         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27713         unconditional for use inside libpthread.
27714         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27716 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27718         * nptl/pthread_getaffinity.c: New file.
27719         * nptl/pthread_setaffinity.c: New file.
27720         * nptl/pthread_getname.c: New file.
27721         * nptl/pthread_setname.c: New file.
27723         * nptl/pthread_create.c (START_THREAD_DEFN)
27724         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27726 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27727             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27729         * resolv/res_send.c (send_vc): Disable warning resplen may
27730         be used uninitialized.
27732 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27734         * nptl/tst-mutex6.c
27735         (ATTR_NULL): New define checks ATTR against NULL.
27736         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27737         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27739 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27741         [BZ #17581]
27742         * malloc/hooks.c
27743         (mem2mem_check): Revert my previous change.
27744         (malloc_check_get_size): Revert my previous change.
27745         (mem2chunk_check): Revert my previous change.
27747 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27749         * sysdeps/posix/shm-directory.c: New file.
27750         * sysdeps/posix/shm-directory.h: New file.
27751         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27752         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27753         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27754         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27755         Transmute EPERM to EACCES.
27756         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27757         from ...
27758         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27759         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27761 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27763         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27764         pointer and cast to uintptr_t.
27765         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27766         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27767         Add cast to avoid warning.
27768         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27770 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27772         * nptl/semaphore.h: Move to ...
27773         * sysdeps/pthread/semaphore.h: ... here.
27774         * Makefile (installed-headers): Change nptl/semaphore.h to
27775         sysdeps/pthread/semaphore.h.
27777 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27779         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27780         generated error format strings.
27782         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27783         -Wformat-extra-args warnings for scanf formats.
27784         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27785         test of zero-length format (duh).
27786         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27787         corner-case scanf format test.
27788         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27789         generated fprintf format string.
27790         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27791         corner-case sprintf format tests.
27792         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27793         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27794         -Wformat-extra-args warnings throughout.
27795         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27796         (CFLAGS-scanf4.c): Likewise.
27797         (CFLAGS-scanf7.c): Likewise.
27798         (CFLAGS-tst-sprintf.c): Likewise.
27799         (CFLAGS-tst-printf.c): Likewise.
27800         (CFLAGS-tst-printfsz.c): Likewise.
27802 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27804         * include/cpio.h: New file.
27805         * include/fmtmsg.h: Likewise.
27807         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27808         corresponding format argument to size_t.
27809         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27810         arguments.
27811         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27812         corresponding format argument to size_t.
27813         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27814         arguments.
27815         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27816         corresponding format argument to size_t.
27817         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27818         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27819         (CFLAGS-tst-mbswcs2.c): Likewise.
27820         (CFLAGS-tst-mbswcs3.c): Likewise.
27821         (CFLAGS-tst-mbswcs4.c): Likewise.
27822         (CFLAGS-tst-mbswcs5.c): Likewise.
27823         (CFLAGS-tst-trans.c): Likewise.
27825 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27827         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27828         rather than assuming they won't contain any '%'s.
27830 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27832         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27833         inhibit_loop_to_libcall to avoid recursive calls.
27834         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27835         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27837 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27839         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27840         prototype.
27842 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27844         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27845         integer value instead of boolean.
27847 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27849         * malloc/malloc.c: Fix powerof2 check.
27851 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27853         * locale/programs/locfile.h (maybe_swap_uint32):
27854         Remove inline and add unused attribute.
27856 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27858         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27859         Truncating assembler expression to a .long expression.
27861 2014-12-11  Andreas Schwab  <schwab@suse.de>
27863         * elf/rtld.c (struct map_args): Constify str member.
27864         (do_preload): Constify fname argument.
27866 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27868         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27869         constants definition.
27871 2014-12-11  Andreas Schwab  <schwab@suse.de>
27873         [BZ #16657]
27874         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27875         FORCE_ELISION instead of DO_ELISION.
27876         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27877         Remove.
27878         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27879         Likewise.
27881         * iconvdata/gconv-modules: Remove duplicate entry.
27883 2014-12-11  Will Newton  <will.newton@linaro.org>
27885         Merge gettext 0.19.3 into intl/.
27887         This involves a number of cosmetic changes to comments
27888         and ANSI function definitions and prototypes throughout
27889         all the files. The gettext copyright header is used but
27890         with the date ranges taken from the glibc copy.
27892         * NEWS: Add gettext merge to 2.21.
27893         * intl/bindtextdom.c: Switch to gettext copyright.
27894         Use ANSI definitions and prototypes.
27895         Use gl_* locking primitives rather than __libc_* ones.
27896         Use __builtin_expect rather than __glibc_likely/unlikely.
27897         * intl/dcgettext.c: Switch to gettext copyright.
27898         Use ANSI definitions and prototypes.
27899         * intl/dcigettext.c: Switch to gettext copyright.
27900         Use ANSI definitions and prototypes.
27901         (INTDIV0_RAISES_SIGFPE): New define.
27902         Use gl_* locking primitives rather than __libc_* ones.
27903         Include eval-plural.h instead of plural-eval.c.
27904         Use __builtin_expect rather than __glibc_likely/unlikely.
27905         * intl/dcngettext.c: Switch to gettext copyright.
27906         Use ANSI definitions and prototypes.
27907         * intl/dgettext.c: Likewise.
27908         * intl/dngettext.c: Likewise.
27909         * intl/plural-eval.c: Renamed to...
27910         * intl/eval-plural.h: ...this.
27911         * intl/explodename.c: Switch to gettext copyright.
27912         Use ANSI definitions and prototypes.
27913         (_nl_explode_name): Use strchr instead of __rawmemchr.
27914         * intl/finddomain.c: Switch to gettext copyright.
27915         Use ANSI definitions and prototypes.
27916         Use gl_* locking primitives rather than __libc_* ones.
27917         (_nl_find_domain): Use malloc rather than alloca for
27918         allocation of temporary locale name.
27919         * intl/gettext.c: Switch to gettext copyright.
27920         Use ANSI definitions and prototypes.
27921         * intl/gettextP.h: Switch to gettext copyright.
27922         Use ANSI definitions and prototypes.
27923         Use gl_* locking primitives rather than __libc_* ones.
27924         * intl/gmo.h: Switch to gettext copyright.
27925         (struct sysdep_string): Move struct segment_pair outside of
27926         struct definition.
27927         * intl/hash-string.c: Use ANSI definitions and prototypes.
27928         * intl/hash-string.h: Switch to gettext copyright.
27929         Use ANSI definitions and prototypes.
27930         * intl/l10nflist.c: Switch to gettext copyright.
27931         Use ANSI definitions and prototypes.
27932         (_nl_normalize_codeset): Avoid integer overflow.
27933         * intl/loadinfo.h: Switch to gettext copyright.
27934         Use ANSI definitions and prototypes.
27935         (LIBINTL_DLL_EXPORTED): New define.
27936         (PATH_SEPARATOR): New define.
27937         * intl/loadmsgcat.c: Switch to gettext copyright.
27938         * intl/localealias.c: Switch to gettext copyright.
27939         Use ANSI definitions and prototypes.
27940         (_nl_expand_alias): Use PATH_SEPARATOR.
27941         * intl/ngettext.c: Switch to gettext copyright.
27942         Use ANSI definitions and prototypes.
27943         * intl/plural-exp.c: Likewise.
27944         * intl/plural-exp.h: Switch to gettext copyright.
27945         Use ANSI definitions and prototypes.
27946         (struct expression): Move definition of enum operator outside
27947         of struct definition.
27948         * intl/plural.c: Regenerate.
27949         * intl/plural.y: Switch to gettext copyright.
27950         Use ANSI definitions and prototypes.
27951         Port to bison 3.0.
27952         * intl/textdomain.c: Switch to gettext copyright.
27953         Use ANSI definitions and prototypes.
27954         Use gl_* locking primitives rather than __libc_* ones.
27956 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27958         * debug/warning-nop.c: Add used atrribute.
27960 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27962         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27964         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27965         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27966         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27968 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27969             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27971         [BZ #17634]
27972         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27973         Undefine after defining function.  Define as weak alias of
27974         __wcschr.  Use libc_hidden_weak.
27975         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27976         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27977         (libc_hidden_def): Also define __GI___wcschr alias.
27978         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27979         __wcschr and define as weak alias of __wcschr.
27980         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27981         __wcschr.
27982         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27983         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27984         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27985         libc_hidden_weak.  Do not use libc_hidden_def.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27987         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27988         __GI___wcschr alias.
27989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27990         [IS_IN (libc)] (wcschr): Define as macro expanding to
27991         __redirect_wcschr.
27992         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27993         [IS_IN (libc)] (__wcschr_power6): Likewise.
27994         [IS_IN (libc)] (__wcschr_power7): Likewise.
27995         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27996         instead of wcschr.
27997         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27998         __libc_wcschr.
27999         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28000         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28001         __wcschr and define as weak alias of __wcschr.  Use
28002         libc_hidden_builtin_def.
28003         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28004         as weak alias of __wcschr.  Use libc_hidden_weak.
28005         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28006         wcschr.
28007         * time/era.c (_nl_init_era_entries): Likewise.
28008         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28009         variable.
28010         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28011         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28013 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28015         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28016         format for long int variable.
28018 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28020         [BZ #10672]
28021         * manual/search.texi: (Array Sort Function): Remove claim how to make
28022         qsort stable.
28024 2014-12-10  Andreas Schwab  <schwab@suse.de>
28026         [BZ #12847]
28027         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28028         user-controlled locks.
28030 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28032         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28033         register.
28035 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28037         * configure.ac (--disable-werror): New configure option.
28038         (enable_werror): New AC_SUBST.
28039         * configure: Regenerated.
28040         * config.make.in (enable-werror): New variable.
28041         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28042         -Wno-error=undef.
28043         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28044         * manual/install.texi (Configuring and compiling): Document
28045         --disable-werror.
28046         * INSTALL: Regenerated.
28047         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28048         (CFLAGS-tst-chk2.c): Likewise.
28049         (CFLAGS-tst-chk3.c): Likewise.
28050         (CFLAGS-tst-chk4.cc): Likewise.
28051         (CFLAGS-tst-chk5.cc): Likewise.
28052         (CFLAGS-tst-chk6.cc): Likewise.
28053         (CFLAGS-tst-lfschk1.c): Likewise.
28054         (CFLAGS-tst-lfschk2.c): Likewise.
28055         (CFLAGS-tst-lfschk3.c): Likewise.
28056         (CFLAGS-tst-lfschk4.cc): Likewise.
28057         (CFLAGS-tst-lfschk5.cc): Likewise.
28058         (CFLAGS-tst-lfschk6.cc): Likewise.
28060         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28061         (main): Disable -Wdeprecated-declarations around calls to
28062         register_printf_function.
28064         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28065         (do_test): Disable -Wdiv-by-zero around some calls to
28066         fwrite_unlocked and fread_unlocked.
28068         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28069         (DIAG_POP_NEEDS_COMMENT): Likewise.
28070         (_DIAG_STR1): Likewise.
28071         (_DIAG_STR): Likewise.
28072         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28073         * stdio-common/bug21.c: Include <libc-internal.h>.
28074         (do_test): Disable -Wformat around call to sscanf.
28075         * stdio-common/scanf14.c: Include <libc-internal.h>.
28076         (main): Disable -Wformat around some calls to scanf functions.
28078 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28080         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28082 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28084         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28085         stack variable alignment.
28087 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28089         [BZ #17682]
28090         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28091         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28092         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28093         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28094         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28095         __getrlimit instead of getrlimit.
28096         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28097         __gettimeofday instead of gettimeofday.
28098         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28099         Likewise.
28100         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28101         Likewise.
28102         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28103         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28104         Remove variable.
28105         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28106         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28108 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28110         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28111         for wide-character tests.
28113 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28115         * io/openat64.c: #include <libc-internal.h>
28116         (__openat64): Prototypify.  Use ignore_value on MODE.
28117         * io/openat.c: Likewise.
28118         * misc/reboot.c: #include <libc-internal.h>
28119         (reboot): Prototypify.  Use ignore_value on HOWTO.
28120         * misc/ptrace.c: #include <libc-internal.h>
28121         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28123 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28125         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28126         XPG4, UNIX98 and XOPEN2K.
28127         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28128         Remove variable.
28129         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28131 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28133         * libio/fileops.c: Use ISO C style for function definitions.
28134         * libio/iofopen.c: Likewise.
28135         * libio/wfileops.c: Likewise.
28137         [BZ #17653]
28138         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28139         offset on EOF.
28140         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28141         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28142         (fgets_func): Function pointer to fgets and fgetws.
28143         (do_ftell_test): Add test to verify ftell value after read
28144         EOF.
28145         (do_test): Set fgets_func.
28147         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28148         O_TRUNC flag for w and w+ modes.
28149         (do_rewind_test): Likewise.
28150         (do_ftell_test): Likewise.
28151         (do_write_test): Likewise.
28153         [BZ #17647]
28154         * libio/fileops.c (do_ftell): Seek only when there are
28155         unflushed writes.
28156         * libio/wfileops.c (do_ftell_wide): Likewise.
28157         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28158         test case.
28159         (do_one_test): Call it.
28161 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28163         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28164         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28165         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28166         Remove variable.
28167         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28171 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28173         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28174         Remove variable.
28175         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28177         [BZ #17668]
28178         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28179         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28180         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28181         __freeifaddrs.  Use libc_hidden_weak.
28182         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28183         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28184         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28185         __freeifaddrs.  Use libc_hidden_weak.
28186         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28187         __getifaddrs and define as weak alias of __getifaddrs.  Use
28188         libc_hidden_weak.
28189         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28190         __freeifaddrs.  Use libc_hidden_weak.
28191         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28192         Remove variable.
28193         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28194         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28196 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28198         [BZ #17601]
28199         * sysdeps/mips/start.S (__start): Use indirect jump to call
28200         __libc_start_main.
28202 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28204         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28206         * nptl/tst-mutex1.c: Include <stdbool.h>.
28207         [!ATTR] (ATTR_NULL): New macro.
28208         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28209         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28210         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28212         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28213         to char *.
28215         [BZ #17665]
28216         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28217         Change conditional to [__USE_MISC].
28219         [BZ #17664]
28220         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28221         fgets_unlocked.
28222         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28223         __fgets_unlocked.
28224         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28225         fgets_unlocked.
28226         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28227         Remove variable.
28228         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28229         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28230         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28231         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28232         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28233         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28234         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28235         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28236         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28238         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28240 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28242         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28243         Remove strpbrk objects.
28244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28245         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28246         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28247         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28248         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28249         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28251         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28252         Remove strcspn objects.
28253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28254         (__libc_ifunc_impl_list): Remove strcspn implementation.
28255         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28256         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28257         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28258         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28261         Remove strspn objetcs.
28262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28263         (__libc_ifunc_impl_list): Remove strspn implementation.
28264         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28265         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28266         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28267         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28269 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28271         [BZ #17581]
28272         * malloc/hooks.c
28273         (mem2mem_check): Add a terminator to the chain of checking blocks.
28274         (malloc_check_get_size): Use it here.
28275         (mem2chunk_check): Ditto.
28277 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28279         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28280         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28282 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28284         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28286         * nptl/nptl-init.c: Include libc-internal.h.
28287         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28289         * elf/ldconfig.c (search_dir): Expand comment.
28291 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28293         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28294         variable.
28295         (linknamespace-symlist-stdlibs-tests): Likewise.
28296         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28297         instead of $(objpfx)symlist-stdlibs.
28298         (linknamespace-libs-isoc): New variable.
28299         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28300         (linknamespace-libs-ISO): New variable.
28301         (linknamespace-libs-ISO99): Likewise.
28302         (linknamespace-libs-ISO11): Likewise.
28303         (linknamespace-libs-XPG3): Likewise.
28304         (linknamespace-libs-XPG4): Likewise.
28305         (linknamespace-libs-POSIX): Likewise.
28306         (linknamespace-libs-UNIX98): Likewise.
28307         (linknamespace-libs-XOPEN2K): Likewise.
28308         (linknamespace-libs-POSIX2008): Likewise.
28309         (linknamespace-libs-XOPEN2K8): Likewise.
28310         ($(objpfx)symlist-stdlibs): Replace by
28311         $(linknamespace-symlist-stdlibs-tests).  Use
28312         $(linknamespace-libs-$*) as set of libraries.
28313         ($(linknamespace-header-tests)): Update dependencies.  Use
28314         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28315         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28316         * conform/linknamespace.pl: Remove comment about considering
28317         definitions of symbols from irrelevant libraries.
28319 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28321         [BZ #13862]
28322         * elf/dl-tls.c: Include <atomic.h>.
28323         (oom): Remove #ifdef SHARED/#endif.
28324         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28325         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28326         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28327         big enough.
28328         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28329         * nptl/Makefile (tests): Add tst-stack4.
28330         (modules-names): Add tst-stack4mod.
28331         ($(objpfx)tst-stack4): New.
28332         (tst-stack4mod.sos): Likewise.
28333         ($(objpfx)tst-stack4.out): Likewise.
28334         ($(tst-stack4mod.sos)): Likewise.
28335         (clean): Likewise.
28336         * nptl/tst-stack4.c: New file.
28337         * nptl/tst-stack4mod.c: Likewise.
28339 2014-11-27  J. Brown  <jb999@gmx.de>
28341         * sysdeps/x86/bits/string.h: Add recent CPUs.
28343 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28345         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28346         sigblock.
28348         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28349         feof.
28351         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28352         variable.
28354 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28356         * nscd/connections.c: Include libc-internal.h because of macro
28357         usage ignore_value.
28359 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28361         * string/bits/string3.h (__warn_memset_zero_len): Don't
28362         declare for gcc newer than 5.0.
28363         (memset): Don't test for zero-length __LEN for gcc newer than
28364         5.0.
28366 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28368         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28369         size_t for %zu format.
28371         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28372         difference, not %ju.
28374 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28376         * include/libc-internal.h (ignore_value): New macro.
28377         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28378         with ignore_value.
28380         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28381         definition.
28383         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28384         pthread_cleanup_push to void *.
28386         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28387         Undefine.
28389         [BZ #16619]
28390         [BZ #16740]
28391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28392         instead of 1L << 52.
28394         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28395         * libio/bug-rewind2.c (do_test): Likewise.
28397         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28398         * debug/test-strcpy_chk-ifunc.c: Likewise.
28399         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28400         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28401         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28402         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28403         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28404         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28405         * Rules [$(multi-arch) = no] (tests): Do not filter out
28406         $(tests-ifunc).
28407         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28408         * debug/Makefile (tests-ifunc): Remove variable.
28409         (tests): Do not add $(tests-ifunc).
28410         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28411         (tests): Do not add $(tests-ifunc).
28412         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28413         [TEST_IFUNC]: Remove conditionals.
28414         * string/test-string.h (TEST_IFUNC): Remove macro.
28415         [TEST_IFUNC]: Remove conditionals.
28417         * string/test-strchr.c [!WIDE] (L): New macro.
28418         [WIDE] (L): Likewise.
28419         (check1): Use CHAR instead of char.  Use L on string and character
28420         constants.
28422 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28424         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28425         tests.
28426         * sysdeps/powerpc/bits/atomic.h
28427         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28428         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28429         (atomic_exchange_and_add_acq): Likewise.
28430         (atomic_exchange_and_add_rel): Likewise.
28431         * sysdeps/powerpc/powerpc32/bits/atomic.h
28432         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28433         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28434         * sysdeps/powerpc/powerpc64/bits/atomic.h
28435         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28436         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28438 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28440         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28441         Change synchronization of __sched_fifo_min_prio and
28442         __sched_fifo_max_prio.
28443         * nptl/pthread_mutexattr_getprioceiling.c
28444         (pthread_mutexattr_getprioceiling): Likewise.
28445         * nptl/pthread_mutexattr_setprioceiling.c
28446         (pthread_mutexattr_setprioceiling): Likewise.
28447         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28448         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28449         Likewise.
28451 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28453         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28454         void.
28456 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28458         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28459         third argument const.
28461 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28463         fnmatch: work around GCC compiler warning bug with uninit var
28464         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28465         This works around a bug with x86-64 GCC 4.9.2 and earlier
28466         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28467         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28468         used uninitialized in this function [-Wmaybe-uninitialized]".
28470 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28472         * posix/bug-regex31.c (main): Return RES not 0.
28474 2014-11-25  Anton Blanchard <anton@samba.org>
28476         * sysdeps/powerpc/bits/atomic.h
28477         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28479 2014-11-24  Sterling Augustine  <saugustine@google.com>
28481         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28483 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28485         [BZ #17608]
28486         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28488 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28490         [BZ #17633]
28491         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28492         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28493         variable.
28494         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28495         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28497 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28499         * string/strncpy.c (strncpy): Improve performance by using memset.
28501 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28503         * string/strcpy.c (strcpy):
28504         Improve performance by using strlen and memcpy.
28506 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28508         * string/strcoll_l.c (get_next_seq): __always_inline.
28509         * string/strcoll_l.c (do_compare): __always_inline.
28511 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28513         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28514         defined.
28515         * include/mqueue.h: Likewise.
28516         * include/stdlib.h: Likewise.
28518         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28519         (get_null_defines): Adjust.
28520         * sunrpc/Makefile: Adjust comment.
28521         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28522         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28523         (CFLAGS-interp.c): Likewise.
28524         (CFLAGS-ldconfig.c): Likewise.
28525         (CPPFLAGS-.os): Likewise.
28526         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28527         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28528         * extra-modules.mk (extra-modules.mk): Likewise.
28529         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28530         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28531         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28532         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28533         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28534         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28535         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28536         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28537         * iconvdata/Makefile (CPPFLAGS): Likewise.
28538         (cpp-srcs-left): Add libof for all iconvdata routines.
28539         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28540         * include/assert.h: Likewise.
28541         * include/ctype.h: Likewise.
28542         * include/errno.h: Likewise.
28543         * include/libc-symbols.h: Likewise.
28544         * include/math.h: Likewise.
28545         * include/netdb.h: Likewise.
28546         * include/resolv.h: Likewise.
28547         * include/stdio.h: Likewise.
28548         * include/stdlib.h: Likewise.
28549         * include/string.h: Likewise.
28550         * include/sys/stat.h: Likewise.
28551         * include/wctype.h: Likewise.
28552         * intl/l10nflist.c: Likewise.
28553         * libidn/idn-stub.c: Likewise.
28554         * libio/libioP.h: Likewise.
28555         * nptl/libc_multiple_threads.c: Likewise.
28556         * nptl/pthreadP.h: Likewise.
28557         * posix/regex_internal.h: Likewise.
28558         * resolv/res_hconf.c: Likewise.
28559         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28560         * sysdeps/arm/memmove.S: Likewise.
28561         * sysdeps/arm/sysdep.h: Likewise.
28562         * sysdeps/generic/_itoa.h: Likewise.
28563         * sysdeps/generic/symbol-hacks.h: Likewise.
28564         * sysdeps/gnu/errlist.awk: Likewise.
28565         * sysdeps/gnu/errlist.c: Likewise.
28566         * sysdeps/i386/i586/memcpy.S: Likewise.
28567         * sysdeps/i386/i586/memset.S: Likewise.
28568         * sysdeps/i386/i686/memcpy.S: Likewise.
28569         * sysdeps/i386/i686/memmove.S: Likewise.
28570         * sysdeps/i386/i686/mempcpy.S: Likewise.
28571         * sysdeps/i386/i686/memset.S: Likewise.
28572         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28573         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28574         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28575         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28576         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28577         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28578         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28579         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28580         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28581         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28582         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28583         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28584         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28585         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28586         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28587         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28588         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28589         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28590         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28591         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28592         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28593         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28594         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28595         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28596         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28597         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28598         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28599         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28600         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28601         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28602         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28603         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28604         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28605         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28606         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28608         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28609         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28610         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28611         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28612         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28613         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28614         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28615         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28616         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28617         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28618         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28619         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28620         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28621         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28622         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28623         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28624         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28625         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28626         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28627         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28628         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28629         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28630         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28631         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28632         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28633         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28634         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28635         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28636         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28637         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28638         * sysdeps/posix/closedir.c: Likewise.
28639         * sysdeps/posix/opendir.c: Likewise.
28640         * sysdeps/posix/readdir.c: Likewise.
28641         * sysdeps/posix/rewinddir.c: Likewise.
28642         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28643         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28644         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28645         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28646         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28648         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28649         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28653         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28654         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28655         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28656         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28657         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28658         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28659         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28663         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28664         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28665         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28667         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28668         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28669         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28670         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28677         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28678         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28679         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28680         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28681         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28682         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28683         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28684         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28686         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28687         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28688         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28689         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28690         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28691         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28692         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28693         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28694         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28696         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28698         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28699         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28700         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28702         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28703         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28704         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28705         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28706         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28707         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28708         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28709         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28710         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28711         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28712         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28713         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28714         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28715         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28716         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28717         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28718         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28719         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28720         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28721         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28722         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28723         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28724         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28725         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28726         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28728         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28729         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28730         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28732         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28733         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28734         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28735         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28736         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28737         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28738         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28740         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28741         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28743         * sysdeps/unix/alpha/sysdep.S: Likewise.
28744         * sysdeps/unix/alpha/sysdep.h: Likewise.
28745         * sysdeps/unix/make-syscalls.sh: Likewise.
28746         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28748         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28749         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28750         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28751         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28752         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28753         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28754         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28755         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28756         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28757         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28758         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28759         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28760         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28761         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28762         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28763         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28764         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28765         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28766         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28767         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28768         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28769         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28770         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28771         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28772         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28775         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28776         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28780         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28784         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28785         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28786         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28787         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28788         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28789         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28790         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28793         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28797         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28798         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28799         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28800         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28801         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28802         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28804         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28805         * sysdeps/x86_64/memcpy.S: Likewise.
28806         * sysdeps/x86_64/memmove.c: Likewise.
28807         * sysdeps/x86_64/memset.S: Likewise.
28808         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28809         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28810         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28811         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28812         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28813         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28814         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28815         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28816         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28817         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28818         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28819         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28820         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28821         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28822         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28823         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28824         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28825         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28826         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28827         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28828         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28829         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28830         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28832         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28833         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28834         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28835         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28837         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28838         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28839         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28840         * sysdeps/x86_64/strcmp.S: Likewise.
28842         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28844         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28845         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28846         * elf/rtld-Rules: Likewise.
28847         * elf/setup-vdso.h: Likewise.
28848         * include/assert.h: Likewise.
28849         * include/bits/stdlib-float.h: Likewise.
28850         * include/errno.h: Likewise.
28851         * include/sys/stat.h: Likewise.
28852         * include/unistd.h: Likewise.
28853         * sysdeps/aarch64/setjmp.S: Likewise.
28854         * sysdeps/alpha/setjmp.S: Likewise.
28855         * sysdeps/arm/__longjmp.S: Likewise.
28856         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28857         * sysdeps/arm/setjmp.S: Likewise.
28858         * sysdeps/arm/sysdep.h: Likewise.
28859         * sysdeps/generic/_itoa.h: Likewise.
28860         * sysdeps/generic/dl-sysdep.h: Likewise.
28861         * sysdeps/generic/ldsodefs.h: Likewise.
28862         * sysdeps/i386/dl-tls.h: Likewise.
28863         * sysdeps/i386/setjmp.S: Likewise.
28864         * sysdeps/m68k/setjmp.c: Likewise.
28865         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28866         * sysdeps/mach/hurd/opendir.c: Likewise.
28867         * sysdeps/posix/getcwd.c: Likewise.
28868         * sysdeps/posix/opendir.c: Likewise.
28869         * sysdeps/posix/profil.c: Likewise.
28870         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28871         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28872         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28873         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28874         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28875         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28876         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28877         * sysdeps/s390/dl-tls.h: Likewise.
28878         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28879         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28880         * sysdeps/sh/sh3/setjmp.S: Likewise.
28881         * sysdeps/sh/sh4/setjmp.S: Likewise.
28882         * sysdeps/unix/alpha/sysdep.h: Likewise.
28883         * sysdeps/unix/arm/sysdep.S: Likewise.
28884         * sysdeps/unix/i386/sysdep.S: Likewise.
28885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28886         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28887         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28888         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28890         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28891         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28892         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28893         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28894         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28895         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28896         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28900         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28903         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28904         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28905         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28908         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28909         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28910         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28912         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28913         * sysdeps/x86_64/setjmp.S: Likewise.
28915         * include/math.h: Use IS_IN instead of IS_IN_libm.
28916         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28928         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28936         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28937         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28938         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28939         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28940         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28941         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28942         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28943         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28944         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28945         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28946         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28947         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28948         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28950         Likewise.
28951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28952         Likewise.
28953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28954         Likewise.
28955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28956         Likewise.
28957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28958         Likewise.
28959         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28960         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28961         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28962         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28963         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28964         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28970         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28971         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28972         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28973         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28974         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28975         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28976         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28977         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28978         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28979         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28980         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28981         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28983         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28985         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28987         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28988         * nptl/pthreadP.h: Likewise.
28989         * nptl_db/structs.def: Likewise.
28990         * sysdeps/arm/sysdep.h: Likewise.
28991         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28992         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28993         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28994         * sysdeps/unix/alpha/sysdep.h: Likewise.
28995         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28997         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28999         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29000         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29001         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29002         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29003         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29004         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29005         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29006         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29007         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29008         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29013         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29015         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29016         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29017         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29018         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29019         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29020         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29022         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29023         * nptl/pthreadP.h: Likewise.
29024         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29025         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29026         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29027         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29028         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29029         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29030         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29031         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29032         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29033         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29034         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29035         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29037         Likewise.
29038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29039         Likewise.
29040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29042         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29045         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29046         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29047         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29049         * dlfcn/dladdr.c: Use IS_IN.
29050         * dlfcn/dladdr1.c: Likewise.
29051         * dlfcn/dlclose.c: Likewise.
29052         * dlfcn/dlerror.c: Likewise.
29053         * dlfcn/dlinfo.c: Likewise.
29054         * dlfcn/dlmopen.c: Likewise.
29055         * dlfcn/dlopen.c: Likewise.
29056         * dlfcn/dlsym.c: Likewise.
29057         * dlfcn/dlvsym.c: Likewise.
29059         * include/ifaddrs.h: Use IS_IN.
29060         * inet/check_pf.c: Likewise.
29061         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29062         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29064         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29065         IS_IN_ldconfig.
29066         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29067         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29069         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29070         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29071         IS_IN (libc).
29073         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29075         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29076         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29077         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29078         * include/libc-symbols.h (IS_IN_LIB): New macro.
29079         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29080         * include/netdb.h: Likewise.
29081         * include/stap-probe.h: Remove all uses of IN_LIB.
29083         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29084         instead of IN_MODULE.
29085         * include/libc-symbols.h (IN_MODULE): Define using
29086         MODULE_NAME.
29087         (PASTE_NAME, PASTE_NAME1): New macros.
29088         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29089         of IN_LIB.
29090         (STAP_PROBE_ASM): Likewise.
29092 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29094         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29095         __mach_init in dlopened libc.
29097 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29099         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29100         * sysdeps/arm/preconfigure: Regenerate.
29102 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29104         * nptl/pthread_create.c (__pthread_create_2_1): Set
29105         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29106         when copying values from IATTR into PD.
29108 2014-11-21  Will Newton  <will.newton@linaro.org>
29109             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29111         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29112         Refactor inline-asm.  Also add comment.
29114         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29115         ElfW macro instead of hardcoded Elf64 types.
29116         (la_aarch64_gnu_pltenter): Likewise.
29117         * sysdeps/aarch64/dl-machine.h
29118         (elf_machine_runtime_setup): Use ElfW(Addr).
29120         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29121         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29122         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29123         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29124         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29125         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29126         (R_AARCH64_TLS_DTPMOD): This.
29127         (R_AARCH64_TLS_DTPREL64): Rename to ...
29128         (R_AARCH64_TLS_DTPREL): This.
29129         (R_AARCH64_TLS_TPREL64): Rename to ...
29130         (R_AARCH64_TLS_TPREL): This.
29131         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29132         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29133         R_AARCH64_TLS_TPREL64.
29134         (elf_machine_rela): Likewise.
29136 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29138         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29139         by setting it to 0.  64b atomics are not supported currently.
29141 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29143         [BZ #16469]
29144         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29145         search domain names.
29147 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29149         [BZ #16469]
29150         * NEWS: Update.
29151         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29152         trailing dot.
29153         * posix/tst-getaddrinfo5.c: New.
29154         * posix/Makefile (tests): Add it.
29156 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29158         [BZ #14498]
29159         * NEWS: Fixed.
29160         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29161         after parsing line but before break_if_match.
29162         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29163         if there is a protocol mismatch.
29165 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29167         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29168         because the potential race is on the user-supplied stream.
29170 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29172         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29173         string literal if not passed a buffer.
29174         * manual/job.texi (ctermid): Update reasoning, note deviation
29175         from posix, suggest mtasurace when not passed a buffer, for
29176         future non-preliminary safety notes.
29178 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29180         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29181         of not passing it a buffer.
29182         Reported by Peng Haitao.
29184 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29186         * manual/Makefile ($(objpfx)stamp-summary): Require
29187         check-safety.sh to pass.
29188         * manual/check-safety.sh: Wish for verification that every
29189         @deftypefn and @deftypefun is followed by a @safety remark.
29191 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29193         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29195         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29196         PTHREAD_CANCEL_ASYNCHRONOUS.
29197         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29198         send SIGCANCEL.
29200         * nptl/default-sched.h: New file.
29201         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29202         * nptl/pthread_create.c: Include it.
29203         (__pthread_create_2_1): Use collect_default_sched instead of making
29204         Linux syscalls here directly.
29206 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29208         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29209         __pthread_once): Use C11 atomics.
29211 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29213         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29215 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29217         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29218         atomic_thread_fence_acquire, atomic_thread_fence_release,
29219         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29220         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29221         atomic_compare_exchange_weak_relaxed,
29222         atomic_compare_exchange_weak_acquire,
29223         atomic_compare_exchange_weak_release,
29224         atomic_exchange_acquire, atomic_exchange_release,
29225         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29226         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29227         atomic_fetch_and_acquire,
29228         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29230 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29232         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29233         USE_ATOMIC_COMPILER_BUILTINS): Define.
29234         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29236         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29238         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29240         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29242         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29244         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29246         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29248         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29250         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29252         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29254         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29256         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29258         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29260         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29262         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29264         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29266         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29268         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29269         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29270         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29272         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29273         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29275 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29277         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29278         the sched_priority value here.  It was already checked when the user
29279         called pthread_attr_setschedparam.
29281         * nptl/tst-bad-schedattr.c: New file.
29282         * nptl/Makefile (tests): Add it.
29284 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29285             Florian Weimer  <fweimer@redhat.com>
29286             Joseph Myers  <joseph@codesourcery.com>
29287             Adam Conrad  <adconrad@0c3.net>
29288             Andreas Schwab  <schwab@suse.de>
29289             Brooks  <bmoses@google.com>
29291         [BZ #17625]
29292         * wordexp-test.c (__dso_handle): Add prototype.
29293         (__register_atfork): Likewise.
29294         (__app_register_atfork): New function.
29295         (registered_forks): New global.
29296         (register_fork): New function.
29297         (test_case): Add 3 new tests for WRDE_CMDSUB.
29298         (main): Call __app_register_atfork.
29299         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29300         fork count is non-zero fail the test.
29301         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29302         is set.
29303         (parse_dollars): Remove check for WRDE_NOCMD.
29304         (parse_dquote): Likewise.
29306 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29308         * Makeconfig (built-modules): List non-library modules to be
29309         built.
29310         (module-cppflags): Include libc-modules.h for
29311         everything except shlib-versions.v.i.
29312         (CPPFLAGS): Use it.
29313         (before-compile): Add libc-modules.h.
29314         ($(common-objpfx)libc-modules.h,
29315         $(common-objpfx)libc-modules.stmp): New targets.
29316         (common-generated): Add libc-modules.h and libc-modules.stmp.
29317         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29318         * include/libc-symbols.h: Don't include libc-modules.h.
29319         * include/libc-modules.h: Remove file.
29320         * scripts/gen-libc-modules.awk: New script to generate
29321         libc-modules.h.
29322         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29323         Depend on libc-modules.stmp.
29325         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29327         * Makeconfig (in-module): Get value of libof set for the
29328         translation unit.
29329         (CPPFLAGS): Use $(in-module).
29330         * Makerules: Don't suffix routine names for nonlib.
29331         * include/libc-modules.h: New file.
29332         * include/libc-symbols.h: Include libc-modules.h
29333         (IS_IN): New macro to replace IS_IN_* macros.
29334         * elf/Makefile: Set libof-* for each routine.
29335         * elf/rtld-Rules: Likewise.
29336         * extra-modules.mk: Likewise.
29337         * iconv/Makefile: Likewise.
29338         * iconvdata/Makefile: Likewise.
29339         * locale/Makefile: Likewise.
29340         * malloc/Makefile: Likewise.
29341         * nss/Makefile: Likewise.
29342         * sysdeps/gnu/Makefile: Likewise.
29343         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29344         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29345         * sysdeps/s390/s390-64/Makefile: Likewise.
29346         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29347         CPPFLAGS for nscd instead of nonlib.
29349 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29351         * nptl/createthread.c: New file.
29353         * nptl/createthread.c: Moved ...
29354         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29356         * nptl/createthread.c: Add proper top-line comment.
29357         (do_clone): Folded into ...
29358         (create_thread): ... here.  Take new arguments STOPPED_START and
29359         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29360         increment __nptl_threads, do event-reporting logic, do
29361         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29362         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29363         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29364         just send SIGCANCEL.
29365         * nptl/pthread_create.c: Forward-declare create_thread before
29366         including createthread.c.
29367         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29368         declaration, and new macro START_THREAD_SELF to replace argument.
29369         Remove return statement.
29370         (report_thread_creation): New function.
29371         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29372         synchronization logic, and __nptl_nthreads increment here, around
29373         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29374         PD->parent_cancelhandling here, before create_thread.  When
29375         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29376         __deallocate_stack, and ENOMEM translation here.
29378 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #17616]
29381         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29382         (mptwo): Rename to __mptwo.
29383         (__inv): Use __mptwo instead of mptwo.
29384         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29385         (mptwo): Rename to __mptwo.
29386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29387         of mpone and __mptwo instead of mptwo.
29388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29389         instead of mpone.
29390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29391         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29392         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29393         of mpone and __mptwo instead of mptwo.
29394         (__mpranred): Use __mpone instead of mpone.
29395         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29396         variable.
29397         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29398         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29399         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29400         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29401         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29402         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29403         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29404         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29405         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29406         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29407         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29408         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29409         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29410         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29411         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29412         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29413         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29414         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29415         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29417 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29419         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29420         replace BSD Handler xref with BSD Signal Handling.
29422 2014-11-17  Richard Henderson  <rth@redhat.com>
29424         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29425         (_FP_PACK_RAW_2): Remove.
29426         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29427         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29428         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29429         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29430         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29431         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29432         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29433         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29434         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29435         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29436         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29437         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29438         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29439         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29440         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29441         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29443 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29445         * signal/signal.h [__USE_MISC]
29446         (struct sigvec): Remove type.
29447         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29448         (sigvec): Remove declaration.
29449         * sysdeps/posix/sigvec.c: Moved ...
29450         * signal/sigvec.c: ... here, replacing old file.
29451         (struct sigvec): New type, copied from old signal.h definition.
29452         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29453         (__sigvec): Convert definition to prototype.
29454         (sigvec): Replace weak_alias with compat_symbol.
29455         * signal/Versions (libc: GLIBC_2.21): New version set.
29456         * include/signal.h: Remove __sigvec declaration.
29457         * sysdeps/unix/bsd/sigvec.c: Remove file.
29458         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29459         * manual/signal.texi (BSD Handler): Remove subsection.
29460         Move siginterrupt up to ...
29461         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29462         (Blocking in BSD): Fold subsection into its parent.
29463         * NEWS: Mention sigvec removal.
29465 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29467         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29468         (DLA_FMS): Make definition conditional only on [__FMA4__].
29469         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29470         definition.
29472         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29473         Make definition conditional only on [PROF].
29474         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29475         definition.
29476         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29477         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29479         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29480         !__GNUC__].
29481         * include/signal.h (__sigpause): Move declaration above call to
29482         libc_hidden_proto.
29483         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29484         variable.
29485         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29486         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29488 2014-11-14  David S. Miller  <davem@davemloft.net>
29490         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29491         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29493 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29495         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29496         * configure: Regenerated.
29497         * manual/install.texi (Tools for Compilation): Document a
29498         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29499         compiler verified to work.
29500         * INSTALL: Regenerated.
29502         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29503         redeclare with asm name.
29504         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29505         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29506         including <string.h>.
29507         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29508         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29509         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29511         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29512         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29513         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29515 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29517         * stdlib/strtol.c (__strtol): Use prototype definition.
29519         [BZ #17594]
29520         * stdlib/strtol.c (SYM__): New macro.
29521         (SYM__1): Likewise.
29522         (__strtol): Likewise.
29523         (strtol): Rename to __strtol and define as weak alias of
29524         __strtol.  Use libc_hidden_weak.
29526 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29528         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29529         Use numbered labels in inline assembly.
29531 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29533         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29534         Add setjmp LIBC_PROBE.
29535         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29536         Likewise.
29537         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29538         Add longjmp, longjmp_target LIBC_PROBE.
29539         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29540         Likewise.
29542 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29545         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29546         to get rid of unused variable warning.
29548 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29550         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29551         Check for unwind_backtrace ==  NULL only in SHARED case.
29552         (__backchain_backtrace): Compile only in SHARED case.
29553         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29554         Likewise.
29555         (__backchain_backtrace): Declare as static.
29557 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29559         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29560         (__libc_multiple_threads_ptr): Variable moved ...
29561         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29563 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29565         * conform/GlibcConform.pm: New file.
29566         * conform/conformtest.pl: Use GlibcConform module.
29567         * conform/linknamespace.pl: New file.
29568         * conform/list-header-symbols.pl: Likewise.
29569         * conform/Makefile (linknamespace-symlists-base): New variable.
29570         (linknamespace-symlists-tests): Likewise.
29571         (linknamespace-header-base): Likewise.
29572         (linknamespace-header-tests): Likewise.
29573         (tests-special): Add new tests.
29574         ($(linknamespace-symlists-tests)): New rule.
29575         (linknamespace-libs): New variable.
29576         ($(objpfx)symlist-stdlibs): New rule.
29577         ($(linknamespace-header-tests)): Likewise.
29578         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29579         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29580         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29581         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29582         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29583         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29584         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29585         (test-xfail-ISO/math.h/linknamespace): Likewise.
29586         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29587         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29588         (test-xfail-ISO/time.h/linknamespace): Likewise.
29589         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29590         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29591         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29592         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29593         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29594         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29595         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29596         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29597         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29598         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29599         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29600         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29601         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29602         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29603         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29604         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29605         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29606         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29607         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29608         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29609         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29610         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29611         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29612         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29613         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29614         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29615         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29616         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29617         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29618         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29619         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29620         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29621         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29622         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29623         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29624         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29625         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29626         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29627         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29628         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29629         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29630         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29631         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29632         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29633         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29634         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29635         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29636         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29637         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29638         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29639         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29640         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29641         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29642         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29643         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29644         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29645         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29646         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29647         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29648         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29649         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29650         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29651         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29652         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29653         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29654         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29655         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29656         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29657         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29658         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29659         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29660         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29661         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29662         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29663         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29664         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29665         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29666         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29667         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29668         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29669         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29670         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29671         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29672         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29673         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29674         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29675         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29676         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29677         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29678         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29679         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29680         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29681         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29682         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29683         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29684         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29685         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29686         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29687         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29688         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29689         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29690         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29691         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29692         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29693         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29694         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29695         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29696         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29697         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29698         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29699         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29700         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29701         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29702         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29703         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29704         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29705         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29706         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29707         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29708         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29709         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29710         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29711         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29712         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29713         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29714         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29715         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29716         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29717         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29718         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29719         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29720         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29721         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29722         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29723         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29724         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29725         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29726         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29727         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29728         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29729         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29730         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29731         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29732         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29733         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29734         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29735         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29736         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29737         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29738         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29740         [BZ #17589]
29741         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29742         of fgets_unlocked.
29744         [BZ #17585]
29745         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29746         (memmem): Rename to __memmem and define as weak alias of
29747         __memmem.  Use libc_hidden_weak.
29748         (__memmem): Use libc_hidden_def.
29749         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29750         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29751         memmem.
29753         [BZ #17582]
29754         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29755         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29756         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29757         and define as weak alias of __fgets_unlocked.  Use
29758         libc_hidden_weak.
29759         (__fgets_unlocked): Use libc_hidden_def.
29760         * include/stdio.h (__fgets_unlocked): Declare.  Use
29761         libc_hidden_proto.
29762         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29763         __fgets_unlocked instead of fgets_unlocked.
29764         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29765         (GET_NPROCS_CONF_PARSER): Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29767         (GET_NPROCS_CONF_PARSER): Likewise.
29769         [BZ #17574]
29770         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29771         weak alias of __wmemset.  Use libc_hidden_weak.
29772         (__wmemset): Use libc_hidden_def.
29773         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29774         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29775         of wmemset.
29777         [BZ #17573]
29778         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29779         with asm name __mempcpy.
29780         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29782         [BZ #17572]
29783         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29784         and define as weak alias of __rawmemchr.
29785         (__rawmemchr): Do not define as strong alias of rawmemchr.
29787         [BZ #17571]
29788         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29789         alias of __qsort_r.
29790         (qsort): Call __qsort_r instead of qsort_r.
29791         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29792         (__qsort_r): Declare.  Call libc_hidden_proto.
29793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29794         instead of qsort_r.
29795         * nscd/gai.c (__qsort_r): Define to qsort_r.
29796         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29797         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29798         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29800         [BZ #17570]
29801         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29802         define as weak alias of __malloc_info.
29804         [BZ #17584]
29805         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29806         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29807         (__rewinddir): Use libc_hidden_def.
29808         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29809         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29810         (__rewinddir): Use libc_hidden_def.
29811         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29812         weak alias of __rewinddir.  Don't use libc_hidden_def.
29813         (__rewinddir): Use libc_hidden_def.
29814         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29815         (__rewinddir): Use libc_hidden_proto.
29816         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29817         rewinddir.
29818         (__getcwd): Use __rewinddir instead of rewinddir.
29820         [BZ #17583]
29821         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29822         alias of __fileno.  Use libc_hidden_weak.
29823         (__fileno): Use libc_hidden_def.
29824         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29825         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29826         alias of __ftello.
29827         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29828         __ftello.
29829         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29830         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29831         libc_hidden_def.
29832         (fread_unlocked): Don't use libc_hidden_ver.
29833         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29834         and define as weak alias of __fread_unlocked.  Don't use
29835         libc_hidden_def.
29836         (__fread_unlocked): Use libc_hidden_def.
29837         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29838         (ftello): Don't use libc_hidden_proto.
29839         (__ftello): Declare.  Use libc_hidden_proto.
29840         (fread_unlocked): Don't use libc_hidden_proto.
29841         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29842         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29843         and __ftello instead of fileno, fread_unlocked and ftello.
29845 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29847         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29848         GOT12.
29849         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29850         Likewise.
29851         (_dl_start_user): Likewise.
29852         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29854 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29855             Siddhesh Poyarekar  <siddhesh@redhat.com>
29857         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29858         Move argv and envp down instead of moving argc up.
29859         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29861 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29863         [BZ #17506]
29864         * test-skeleton.c (main): Return successful if one of
29865         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29866         * string/tst-strcoll-overflow.c: Define expected status.
29868 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29870         [BZ #17475]
29871         * locale/iso-639.def: Define Bhili and Tulu language codes.
29873 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29875         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29877 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29879         [BZ #17555]
29880         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29882 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29884         * configure.ac: Updated check of minimal required version to
29885         2.22.
29886         * manual/install.texi (Tools for Compilation): Updated version
29887         number.
29888         * configure: Regenerated.
29889         * INSTALL: Likewise.
29891 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29893         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29894         __tls_get_addr.
29896 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29898         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29899         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29900         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29901         libc_hidden_weak.
29902         (waitpid): Define as alias of __waitpid.
29903         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29904         __waitpid.
29905         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29906         libc_hidden_weak.
29907         (waitpid): Define as alias of __waitpid.
29908         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29909         __libc_waitpid alias.
29910         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29911         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29912         Likewise.
29913         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29914         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29915         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29916         alias.
29917         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29918         __waitpid.
29919         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29920         libc_hidden_weak.
29921         (waitpid): Define as alias of __waitpid.
29923 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29925         * manual/llio.texi: Add comment that write safety has been
29926         fixed in Linux.
29928         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29929         (localplt-build-dso): Add elf/ld.so.
29930         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29931         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29932         and free for ld.so.
29933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29934         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29936         Likewise.
29937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29938         Likewise.
29939         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29940         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29941         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29942         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29943         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29944         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29945         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29946         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29947         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29948         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29949         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29951 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29953         [BZ #14132]
29954         * include/libc-symbols.h (INTUSE): Remove macro.
29955         (INTDEF): Likewise.
29956         (INTVARDEF): Likewise.
29957         (_INTVARDEF): Likewise.
29958         (INTDEF2): Likewise.
29959         (INTVARDEF2): Likewise.
29960         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29961         rtld_hidden_def instead of INTVARDEF.
29962         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29963         (_dl_starting_up_internal): Remove declaration.
29964         (_dl_starting_up): Use rtld_hidden_proto.
29965         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29966         declaration.
29967         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29968         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29969         _dl_starting_up.
29970         * elf/dl-writev.h (_dl_writev): Likewise.
29971         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29972         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29973         _dl_starting_up_internal.
29975 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29977         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29978         test-skeleton.c.
29980 2014-11-05  Will Newton  <will.newton@linaro.org>
29982         * benchtests/Makefile: (bench-malloc): Add malloc thread
29983         scalability benchmark.
29984         * benchtests/bench-malloc-threads.c: New file.
29986 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29988         * sysdeps/aarch64/strchrnul.S: New file.
29990 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29992         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29993         definition.
29994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29995         Likwise.
29996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29997         Likewise.
29998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29999         Likewise.
30000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30001         Likewise.
30002         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30003         Likewise.
30005 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30007         * catgets/test-gencat.c: Use test-skeleton.c.
30008         * catgets/tst-catgets.c: Likewise.
30009         * csu/tst-empty.c: Likewise.
30010         * elf/tst-audit2.c: Likewise.
30011         * elf/tst-global1.c: Likewise.
30012         * elf/tst-pathopt.c: Likewise.
30013         * elf/tst-piemod1.c: Likewise.
30014         * elf/tst-tls10.c: Likewise.
30015         * elf/tst-tls11.c: Likewise.
30016         * elf/tst-tls12.c: Likewise.
30017         * gnulib/tst-gcc.c: Likewise.
30018         * iconvdata/tst-e2big.c: Likewise.
30019         * iconvdata/tst-loading.c: Likewise.
30020         * iconv/tst-iconv1.c: Likewise.
30021         * iconv/tst-iconv2.c: Likewise.
30022         * inet/test-inet6_opt.c: Likewise.
30023         * inet/tst-gethnm.c: Likewise.
30024         * inet/tst-network.c: Likewise.
30025         * inet/tst-ntoa.c: Likewise.
30026         * intl/tst-codeset.c: Likewise.
30027         * intl/tst-gettext2.c: Likewise.
30028         * intl/tst-gettext3.c: Likewise.
30029         * intl/tst-ngettext.c: Likewise.
30030         * intl/tst-translit.c: Likewise.
30031         * io/test-stat.c: Likewise.
30032         * libio/test-fmemopen.c: Likewise.
30033         * libio/tst-freopen.c: Likewise.
30034         * libio/tst-sscanf.c: Likewise.
30035         * libio/tst-ungetwc1.c: Likewise.
30036         * libio/tst-ungetwc2.c: Likewise.
30037         * libio/tst-widetext.c: Likewise.
30038         * localedata/tst-ctype.c: Likewise.
30039         * localedata/tst-digits.c: Likewise.
30040         * localedata/tst-leaks.c: Likewise.
30041         * localedata/tst-mbswcs1.c: Likewise.
30042         * localedata/tst-mbswcs2.c: Likewise.
30043         * localedata/tst-mbswcs3.c: Likewise.
30044         * localedata/tst-mbswcs4.c: Likewise.
30045         * localedata/tst-mbswcs5.c: Likewise.
30046         * localedata/tst-setlocale.c: Likewise.
30047         * localedata/tst-trans.c: Likewise.
30048         * localedata/tst-wctype.c: Likewise.
30049         * localedata/tst-xlocale1.c: Likewise.
30050         * login/tst-grantpt.c: Likewise.
30051         * malloc/tst-calloc.c: Likewise.
30052         * malloc/tst-malloc.c: Likewise.
30053         * malloc/tst-mallocstate.c: Likewise.
30054         * malloc/tst-mcheck.c: Likewise.
30055         * malloc/tst-mtrace.c: Likewise.
30056         * malloc/tst-obstack.c: Likewise.
30057         * math/atest-exp2.c: Likewise.
30058         * math/atest-exp.c: Likewise.
30059         * math/atest-sincos.c: Likewise.
30060         * math/test-matherr.c: Likewise.
30061         * math/test-misc.c: Likewise.
30062         * math/test-powl.c: Likewise.
30063         * math/tst-definitions.c: Likewise.
30064         * misc/tst-dirname.c: Likewise.
30065         * misc/tst-efgcvt.c: Likewise.
30066         * misc/tst-fdset.c: Likewise.
30067         * misc/tst-hsearch.c: Likewise.
30068         * misc/tst-mntent2.c: Likewise.
30069         * nptl/tst-sem7.c: Likewise.
30070         * nptl/tst-sem8.c: Likewise.
30071         * nptl/tst-sem9.c: Likewise.
30072         * nss/test-netdb.c: Likewise.
30073         * posix/tst-fnmatch.c: Likewise.
30074         * posix/tst-getlogin.c: Likewise.
30075         * posix/tst-gnuglob.c: Likewise.
30076         * posix/tst-mmap.c: Likewise.
30077         * pwd/tst-getpw.c: Likewise.
30078         * resolv/tst-inet_ntop.c: Likewise.
30079         * rt/tst-timer.c: Likewise.
30080         * stdio-common/test-fseek.c: Likewise.
30081         * stdio-common/test-popen.c: Likewise.
30082         * stdio-common/test-vfprintf.c: Likewise.
30083         * stdio-common/tst-cookie.c: Likewise.
30084         * stdio-common/tst-fileno.c: Likewise.
30085         * stdio-common/tst-gets.c: Likewise.
30086         * stdio-common/tst-obprintf.c: Likewise.
30087         * stdio-common/tst-perror.c: Likewise.
30088         * stdio-common/tst-sprintf2.c: Likewise.
30089         * stdio-common/tst-sprintf3.c: Likewise.
30090         * stdio-common/tst-sprintf.c: Likewise.
30091         * stdio-common/tst-swprintf.c: Likewise.
30092         * stdio-common/tst-tmpnam.c: Likewise.
30093         * stdio-common/tst-unbputc.c: Likewise.
30094         * stdio-common/tst-wc-printf.c: Likewise.
30095         * stdlib/tst-environ.c: Likewise.
30096         * stdlib/tst-fmtmsg.c: Likewise.
30097         * stdlib/tst-limits.c: Likewise.
30098         * stdlib/tst-rand48-2.c: Likewise.
30099         * stdlib/tst-rand48.c: Likewise.
30100         * stdlib/tst-random2.c: Likewise.
30101         * stdlib/tst-random.c: Likewise.
30102         * stdlib/tst-strtol.c: Likewise.
30103         * stdlib/tst-strtoll.c: Likewise.
30104         * stdlib/tst-tls-atexit.c: Likewise.
30105         * stdlib/tst-xpg-basename.c: Likewise.
30106         * string/test-ffs.c: Likewise.
30107         * string/tst-bswap.c: Likewise.
30108         * string/tst-inlcall.c: Likewise.
30109         * string/tst-strtok.c: Likewise.
30110         * string/tst-strxfrm.c: Likewise.
30111         * sysdeps/x86_64/tst-audit10.c: Likewise.
30112         * sysdeps/x86_64/tst-audit3.c: Likewise.
30113         * sysdeps/x86_64/tst-audit4.c: Likewise.
30114         * sysdeps/x86_64/tst-audit5.c: Likewise.
30115         * time/tst-ftime_l.c: Likewise.
30116         * time/tst-getdate.c: Likewise.
30117         * time/tst-mktime3.c: Likewise.
30118         * time/tst-mktime.c: Likewise.
30119         * time/tst-posixtz.c: Likewise.
30120         * time/tst-strptime2.c: Likewise.
30121         * time/tst-strptime3.c: Likewise.
30122         * wcsmbs/tst-btowc.c: Likewise.
30123         * wcsmbs/tst-mbrtowc.c: Likewise.
30124         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30125         * wcsmbs/tst-wchar-h.c: Likewise.
30126         * wcsmbs/tst-wcpncpy.c: Likewise.
30127         * wcsmbs/tst-wcrtomb.c: Likewise.
30128         * wcsmbs/tst-wcsnlen.c: Likewise.
30129         * wcsmbs/tst-wcstof.c: Likewise.
30131 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30133         [BZ #14132]
30134         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30135         INTDEF.
30136         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30137         declaration.
30138         (_dl_mcount): Use rtld_hidden_proto.
30139         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30140         _dl_mcount.
30141         * elf/rtld.c (_rtld_global_ro): Likewise.
30143         [BZ #14132]
30144         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30145         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30146         of _dl_init_internal.
30147         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30148         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30149         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30150         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30151         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30152         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30153         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30154         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30155         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30156         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30157         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30158         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30159         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30160         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30161         * sysdeps/tile/dl-start.S (_start): Likewise.
30162         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30163         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30165         [BZ #14132]
30166         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30167         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30168         (rtld_progname): Make macro definition unconditional.
30169         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30170         INTDEF.
30171         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30172         (dl_main): Likewise.
30173         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30174         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30175         instead of _dl_argv_internal.
30176         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30177         __GI__dl_argv instead of INTUSE(_dl_argv).
30178         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30179         __GI__dl_argv instead of _dl_argv_internal.
30181         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30182         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30183         macro.
30184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30185         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30186         New macro.
30187         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30188         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30189         macro.
30190         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30191         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30193 2014-11-04  Andreas Schwab  <schwab@suse.de>
30195         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30197 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30199         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30200         mtvsrd instruction in binary form.
30202 2014-11-03  Andreas Schwab  <schwab@suse.de>
30204         [BZ #17522]
30205         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30206         for less than MB_LEN_MAX use a local buffer of that size.
30207         * libio/tst-fputws.c: New file.
30208         * libio/Makefile (tests): Add tst-fputws.
30210 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30212         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30213         the size of the fpu_fr.fpu_dregs[] array.
30215 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30217         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30218         (__nanosleep): Do not define as alias.
30219         (nanosleep): Define as alias of __nanosleep.
30220         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30221         __libc_nanosleep name.
30223 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30225         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30226         install.texi in comment.
30228 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30230         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30231         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30232         ... add here and use lwsync or sync ...
30233         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30234         ... and add here using lwsync.
30236 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30238         * elf/dl-machine-reject-phdr.h: New file.
30239         * elf/dl-load.c: #include that.
30240         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30241         if that returned true.
30243 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30245         [BZ #17496]
30246         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30247         gen-as-const-headers chunk.  Add a big scare comment after the last
30248         safe place to touch before-compile.
30250 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30252         * manual/install.texi (Tools for Compilation): Update autoconf
30253         version requirements.
30254         * INSTALL: Regenerated.
30256         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30257         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30258         (__libc_pselect): Likewise.
30260         [BZ #14138]
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30266 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30268         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30269         correct barrier instruction.
30270         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30271         Likewise.
30272         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30273         Likewise.
30275 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30277         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30278         after defining inlines.  Instead, just use parens to defeat macro
30279         expansion of __isctype in its declaration.
30281 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30283         * include/sys/uio.h (__libc_readv): Remove declaration.
30284         (__libc_writev): Likewise.
30285         * misc/readv.c (__libc_readv): Rename to __readv.
30286         (__readv): Do not define as alias.
30287         (readv): Define as alias of __readv.
30288         * misc/writev.c (__libc_writev): Rename to __writev.
30289         (__writev): Do not define as alias.
30290         (writev): Define as alias of __writev.
30291         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30292         (__readv): Do not define as alias.
30293         (readv): Define unconditionally as alias of __readv.
30294         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30295         (__writev): Do not define as alias.
30296         (writev): Define unconditionally as alias of __writev.
30297         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30298         name.
30299         (writev): Do not define __libc_writev name.
30301 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30303         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30304         (convert_charseq): New function, broken out of ...
30305         (use_from_charmap): ... here.  Call it.
30306         (use_to_charmap): Use convert_charseq and free instead of duplicating
30307         its code with a variable-length stack struct.
30309 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30311         * include/fcntl.h (__libc_creat): Remove declaration.
30312         * io/creat.c (__libc_creat): Rename to creat.
30313         (creat): Do not define as alias.
30314         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30315         of creat instead of __libc_creat.
30316         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30317         to creat.
30318         (creat): Do not define as alias.
30319         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30320         __libc_creat.
30321         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30322         __libc_creat name.
30323         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30324         Likewise.
30326 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30328         * manual/llio.texi: Add comments discussing why write() may be
30329         considered MT-unsafe on Linux.
30331 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30333         * dl-load.c (local_strdup): Remove.
30334         (expand_dynamic_string_token): Use __strdup.
30335         (decompose_rpath): Likewise.
30336         (_dl_map_object): Likewise.
30338 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30340         [BZ #14132]
30341         * sysdeps/generic/unwind-dw2-fde.c
30342         (__register_frame_info_bases_internal): Do not declare.
30343         (__register_frame_info_table_bases_internal): Likewise.
30344         (__deregister_frame_info_bases_internal): Likewise.
30345         (__register_frame_info_bases): Declare and use hidden_proto before
30346         definition.  Use hidden_def instead of INTDEF.
30347         (__register_frame_info_table_bases): Likewise.
30348         (__deregister_frame_info_bases): Likewise.
30349         (__register_frame_info): Do not use INTUSE.
30350         (__register_frame): Likewise.
30351         (__register_frame_info_table): Likewise.
30352         (__register_frame_table): Likewise.
30353         (__deregister_frame_info): Likewise.
30354         (__deregister_frame): Likewise.
30356 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30359         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30360         not undefine.
30361         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30362         Likewise.
30363         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30364         Likewise.
30366 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30368         [BZ #14138]
30369         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30370         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30371         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30372         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30373         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30374         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30375         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30376         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30377         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30378         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30379         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30380         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30381         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30382         syscall.
30383         (setfsuid): Likewise.
30384         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30385         (setfsuid): Likewise.
30386         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30387         (setfsuid): Likewise.
30388         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30389         Likewise.
30390         (setfsuid): Likewise.
30391         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30392         (setfsuid): Likewise.
30393         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30394         Likewise.
30395         (setfsuid): Likewise.
30397 2014-10-27  Andreas Schwab  <schwab@suse.de>
30399         [BZ #17501]
30400         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30401         check for Slow_SSE4_2 feature bit.
30402         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30403         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30404         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30405         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30407 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30409         * configure.ac: Validate compiler version with a empirical test of
30410         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30411         $CC -v output.
30412         * configure: Regenerated.
30414         * inet/htons.c (htons): Prototypify.
30415         * inet/htonl.c (htonl): Likewise.
30417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30419         * string/strncat.c (strncat): Improve performance by using strlen.
30421 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30423         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30425 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30427         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30428         Call libc_fetestexcept_aarch64.
30430 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30432         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30433         Call libc_feholdexcept_aarch64.
30435 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30437         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30438         Call get_rounding_mode.
30440 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30442         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30443         Simplify logic.
30445 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30447         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30448         Simplify logic.
30450 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30452         [BZ #14138]
30453         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30454         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30455         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30456         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30457         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30458         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30459         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30460         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30461         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30462         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30463         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30464         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30465         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30466         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30467         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30468         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30469         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30470         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30471         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30472         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30473         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30474         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30475         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30476         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30477         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30478         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30480         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30481         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30482         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30483         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30484         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30485         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30486         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30487         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30488         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30489         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30490         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30492         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30493         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30494         syscall.
30495         (geteuid): Likewise.
30496         (getgid): Likewise.
30497         (getuid): Likewise.
30498         (getresgid): Likewise.
30499         (getresuid): Likewise.
30500         (getgroups): Likewise.
30501         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30502         (geteuid): Likewise.
30503         (getgid): Likewise.
30504         (getuid): Likewise.
30505         (getresgid): Likewise.
30506         (getresuid): Likewise.
30507         (getgroups): Likewise.
30508         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30509         (geteuid): Likewise.
30510         (getgid): Likewise.
30511         (getuid): Likewise.
30512         (getresgid): Likewise.
30513         (getresuid): Likewise.
30514         (getgroups): Likewise.
30515         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30516         Likewise.
30517         (geteuid): Likewise.
30518         (getgid): Likewise.
30519         (getuid): Likewise.
30520         (getresgid): Likewise.
30521         (getresuid): Likewise.
30522         (getgroups): Likewise.
30523         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30524         (geteuid): Likewise.
30525         (getgid): Likewise.
30526         (getuid): Likewise.
30527         (getresgid): Likewise.
30528         (getresuid): Likewise.
30529         (getgroups): Likewise.
30530         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30531         Likewise.
30532         (geteuid): Likewise.
30533         (getgid): Likewise.
30534         (getuid): Likewise.
30535         (getgroups): Likewise.
30537         [BZ #14138]
30538         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30539         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30540         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30541         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30542         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30543         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30544         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30545         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30546         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30547         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30548         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30549         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30550         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30551         __chown.
30552         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30553         (lchown): Likewise.
30554         (fchown): Likewise.
30555         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30556         Likewise.
30557         (lchown): Likewise.
30558         (fchown): Likewise.
30559         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30560         (lchown): Likewise.
30561         (fchown): Likewise.
30562         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30563         Likewise.
30564         (lchown): Likewise.
30565         (fchown): Likewise.
30567 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30569         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30570         Simplify logic.
30572 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30574         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30575         Cleanup logic.
30577 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30579         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30580         Remove unused include.
30582 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30584         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30585         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30586         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30587         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30589 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30590             Helge Deller <deller@gmx.de>
30592         [BZ #17508]
30593         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30594         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30595         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30597 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30599         [BZ #14132]
30600         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30601         Remove macro definition.
30602         (__ashrdi3_v_glibc20): Likewise.
30603         (__lshrdi3_v_glibc20): Likewise.
30604         (__cmpdi2_v_glibc20): Likewise.
30605         (__ucmpdi2_v_glibc20): Likewise.
30606         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30607         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30608         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30609         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30610         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30611         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30613 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30615         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30616         old GNU extension [0] syntax.
30617         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30618         alloca rather than an array member with variable length.
30619         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30620         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30621         (parse_opt): ... here.  Likewise use alloca there.
30622         Validate the -i argument before checking for rootness.
30623         (send_shutdown): New function, broken out of ...
30624         (parse_opt): ... here.
30626 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30628         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30629         macro to get at the _rt_local_ro field.
30630         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30631         ([PIC] case) or _dl_hwcap ([!PIC] case).
30632         * sysdeps/arm/setjmp.S: Likewise.
30634         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30635         * sysdeps/arm/configure.ac: New check to define it.
30636         * sysdeps/arm/configure: Regenerated.
30637         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30638         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30639         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30640         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30641         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30642         Use move/movt pair instead of a load.
30643         (LDST_GLOBAL): Macro removed.
30644         (LDR_GLOBAL): New macro replaces it.
30645         (LDR_HIDDEN): New macro.
30646         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30647         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30649         * setjmp/tst-setjmp-static.c: New file.
30650         * setjmp/Makefile (tests): Add it.
30651         (tests-static): New variable.
30653 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30655         [BZ #17485]
30656         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30658 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30660         [BZ #14132]
30661         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30663 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30665         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30667 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30669         * io/fts.c (dirent_not_directory): New function.
30670         (fts_build): Call it.
30672 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30674         * nptl/version.c (__nptl_main): Use normal __write rather than
30675         INTERNAL_SYSCALL.
30676         (banner): Update copyright years.
30678         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30679         gettimeofday.
30680         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30681         * nptl/pthread_cond_timedwait.c: Likewise.
30682         * nptl/pthread_mutex_timedlock.c: Likewise.
30683         * nptl/sem_timedwait.c: Likewise.
30685         * sysdeps/nptl/bits/libc-lock.h
30686         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30687         (__libc_lock_init_recursive): Return void, not 0.
30688         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30689         (__libc_rwlock_init): Likewise.
30690         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30692 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30694         [BZ #15215]
30695         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30696         (__pthread_once_slow): ... here.
30697         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30698         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30700 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30702         [BZ #15215]
30703         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30704         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30705         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30706         * nptl/pthread_once.c (__pthread_once): Likewise.
30707         Update comments.
30709 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30711         [BZ #14138]
30712         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30713         name.
30714         (writev): Use __libc_writev as strong name.
30715         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30716         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30718 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30720         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30722         * sysdeps/i386/nptl/tls.h
30723         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30724         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30725         New macros.
30726         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30727         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30728         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30729         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30730         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30731         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30733         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30734         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30735         on [__NR_futex].
30736         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30737         broken out of ...
30738         (__pthread_mutex_init): ... here.  Call it.
30739         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30740         Conditionalize PI cases on [__NR_futex].
30741         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30742         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30743         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30745         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30746         conditional on [SIGSETXID].
30747         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30748         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30749         is defined.  Likewise for SIGSETXID.
30750         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30751         Conditionalize definitions on [SIGSETXID].
30752         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30753         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30754         unblocking on [SIGCANCEL].
30756         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30757         [__NR_set_robust_list].
30759 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30762         (do_compare): Likewise.
30764 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30766         [BZ #15884]
30767         * string/strcoll_l.c: Don't include stdio.h.
30768         (coll_seq): Remove members idxarr and rulearr.
30769         (get_next_seq_cached): Remove function.
30770         (get_next_seq): Likewise.
30771         (get_next_seq_nocache): Rename to get_next_seq.
30772         (do_compare): Remove function.
30773         (do_compare_nocache): Rename to do_compare.
30774         (STRCOLL): Remove weight and rules cache.
30776 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30778         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30779         * sysdeps/arm/sfp-machine.h: ... to here.
30780         * sysdeps/arm/Implies: Remove arm/soft-fp.
30782 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30784         * conform/data/sys/utsname.h-data (*_t): Allow.
30785         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30786         [POSIX] (WEXITED): Do not expect constant.
30787         [POSIX] (WSTOPPED): Likewise.
30788         [POSIX] (WNOHANG): Likewise.
30789         [POSIX] (WNOWAIT): Likewise.
30790         [POSIX] (siginfo_t): Do not expect type or elements.
30791         [POSIX] (pid_t): Do not expect type.
30792         [POSIX] (signal.h): Do not allow header.
30793         [POSIX] (sys/resource.h): Likewise.
30794         [POSIX] (si_*): Do not allow pattern.
30795         [POSIX] (W*): Likewise.
30796         [POSIX] (P_*): Likewise.
30797         [POSIX] (BUS_*): Likewise.
30798         [POSIX] (CLD_*): Likewise.
30799         [POSIX] (FPE_*): Likewise.
30800         [POSIX] (ILL_*): Likewise.
30801         [POSIX] (POLL_*): Likewise.
30802         [POSIX] (SEGV_*): Likewise.
30803         [POSIX] (SI_*): Likewise.
30804         [POSIX] (TRAP_*): Likewise.
30805         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30806         variable.
30808 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30810         [BZ #12926]
30811         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30812         infinite loop when __recvmsg returns 0.
30814 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30816         * CANCEL-FCT-WAIVE: Remove file.
30817         * CANCEL-FILE-WAIVE: Likewise.
30819         [BZ #14132]
30820         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30821         instead of INTVARDEF.
30822         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30823         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30824         rtld_hidden_data_def instead of INTVARDEF.
30825         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30826         * elf/dl-deps.c (expand_dst): Likewise.
30827         * elf/dl-load.c (_dl_dst_count): Likewise.
30828         (_dl_dst_substitute): Likewise.
30829         (decompose_rpath): Likewise.
30830         (_dl_init_paths): Likewise.
30831         (open_path): Likewise.
30832         (_dl_map_object): Likewise.
30833         * elf/rtld.c (dl_main): Likewise.
30834         (process_dl_audit): Likewise.
30835         (process_envvars): Likewise.
30836         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30837         Remove declaration.
30838         (__libc_enable_secure): Use rtld_hidden_proto.
30840 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30842         * elf/dl-load.c
30843         (add_path): New function broken out of _dl_rtld_di_serinfo.
30844         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30846 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30848         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30849         parentheses around macro arguments.
30850         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30853         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30856         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30860         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30861         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30862         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30864         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30865         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30866         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30879         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30883         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30884         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30885         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30886         Likewise.
30887         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30888         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30889         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30890         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30891         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30894         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30895         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30896         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30897         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30898         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30899         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30900         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30908         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30909         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30910         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30911         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30912         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30913         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30914         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30915         (_FP_FRAC_SRS_1): Likewise.
30916         (_FP_FRAC_CLZ_1): Likewise.
30917         (_FP_MUL_MEAT_1_imm): Likewise.
30918         (_FP_MUL_MEAT_1_wide): Likewise.
30919         (_FP_MUL_MEAT_1_hard): Likewise.
30920         (_FP_SQRT_MEAT_1): Likewise.
30921         (_FP_FRAC_ASSEMBLE_1): Likewise.
30922         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30923         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30924         (__FP_CLZ_2): Likewise.
30925         (_FP_MUL_MEAT_2_wide): Likewise.
30926         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30927         (_FP_MUL_MEAT_2_gmp): Likewise.
30928         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30929         (_FP_SQRT_MEAT_2): Likewise.
30930         (_FP_FRAC_ASSEMBLE_2): Likewise.
30931         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30932         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30933         (_FP_FRAC_CLZ_4): Likewise.
30934         (_FP_MUL_MEAT_4_wide): Likewise.
30935         (_FP_MUL_MEAT_4_gmp): Likewise.
30936         (_FP_SQRT_MEAT_4): Likewise.
30937         (_FP_FRAC_ASSEMBLE_4): Likewise.
30938         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30939         * soft-fp/op-common.h (_FP_CMP): Likewise.
30940         (_FP_CMP_EQ): Likewise.
30941         (_FP_CMP_UNORD): Likewise.
30942         (_FP_TO_INT): Likewise.
30943         (_FP_FROM_INT): Likewise.
30944         [!__FP_CLZ] (__FP_CLZ): Likewise.
30945         (_FP_DIV_HELP_imm): Likewise.
30946         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30947         Likewise.
30948         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30950         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30955         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30959         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30960         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30961         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30962         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30963         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30964         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30965         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30966         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30977         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30978         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30979         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30980         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30981         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30982         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30983         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30984         (FP_UNPACK_RAW_SP): Likewise.
30985         (FP_PACK_RAW_S): Likewise.
30986         (FP_PACK_RAW_SP): Likewise.
30987         (FP_UNPACK_S): Likewise.
30988         (FP_UNPACK_SP): Likewise.
30989         (FP_UNPACK_SEMIRAW_S): Likewise.
30990         (FP_UNPACK_SEMIRAW_SP): Likewise.
30991         (FP_PACK_S): Likewise.
30992         (FP_PACK_SP): Likewise.
30993         (FP_PACK_SEMIRAW_S): Likewise.
30994         (FP_PACK_SEMIRAW_SP): Likewise.
30995         (_FP_SQRT_MEAT_S): Likewise.
30996         (FP_CMP_S): Likewise.
30997         (FP_CMP_EQ_S): Likewise.
30998         (FP_CMP_UNORD_S): Likewise.
30999         (FP_TO_INT_S): Likewise.
31000         (FP_FROM_INT_S): Likewise.
31002         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31004         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31005         (FP_EX_INVALID_IMZ): Likewise.
31006         (FP_EX_INVALID_IMZ_FMA): Likewise.
31007         (FP_EX_INVALID_ISI): Likewise.
31008         (FP_EX_INVALID_ZDZ): Likewise.
31009         (FP_EX_INVALID_IDI): Likewise.
31010         (FP_EX_INVALID_SQRT): Likewise.
31011         (FP_EX_INVALID_CVI): Likewise.
31012         (FP_EX_INVALID_VC): Likewise.
31013         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31014         "invalid" exceptions.
31015         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31016         (_FP_ADD_INTERNAL): Likewise.
31017         (_FP_MUL): Likewise.
31018         (_FP_FMA): Likewise.
31019         (_FP_DIV): Likewise.
31020         (_FP_CMP_CHECK_NAN): Likewise.
31021         (_FP_SQRT): Likewise.
31022         (_FP_TO_INT): Likewise.
31023         (FP_EXTEND): Likewise.
31025 2014-10-09  Allan McRae  <allan@archlinux.org>
31027         * po/fr.po: Update French translation from translation project.
31029 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31031         [BZ #14132]
31032         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31033         of INTDEF.
31034         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31035         (__cxa_atexit): Use libc_hidden_proto.
31036         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31038         [BZ #14132]
31039         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31040         declaration.
31041         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31042         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31043         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31044         [!_ISOMAC] (__iswctype_internal): Likewise.
31045         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31046         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31047         alias.
31048         (fcntl): Remove __fcntl_internal alias.
31049         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31050         __connect_internal alias.
31051         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31052         Likewise.
31054         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31055         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31056         FP_DENORM_ZERO.
31057         (_FP_CHECK_FLUSH_ZERO): New macro.
31058         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31059         (_FP_CMP): Likewise.
31060         (_FP_CMP_EQ): Likewise.
31061         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31062         FP_DENORM_ZERO.
31063         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31064         (FP_TRUNC): Likewise.
31066         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31067         treated as invalid conversion, not as normal exponent.
31069         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31070         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31071         (_FP_CMP_EQ): Likewise.
31072         (_FP_CMP_UNORD): Likewise.
31073         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31074         (FP_CMP_EQ_D): Likewise.
31075         (FP_CMP_UNORD_D): Likewise.
31076         * soft-fp/extended.h (FP_CMP_E): Likewise.
31077         (FP_CMP_EQ_E): Likewise.
31078         (FP_CMP_UNORD_E): Likewise.
31079         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31080         (FP_CMP_EQ_Q): Likewise.
31081         (FP_CMP_UNORD_Q): Likewise.
31082         * soft-fp/single.h (FP_CMP_S): Likewise.
31083         (FP_CMP_EQ_S): Likewise.
31084         (FP_CMP_UNORD_S): Likewise.
31085         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31086         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31087         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31088         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31089         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31090         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31091         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31092         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31093         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31094         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31095         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31096         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31097         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31098         to FP_CMP_Q.
31099         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31100         FP_CMP_Q.
31101         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31102         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31103         FP_CMP_EQ_Q.
31104         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31105         FP_CMP_Q.
31106         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31107         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31108         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31109         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31110         FP_CMP_EQ_Q.
31111         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31112         FP_CMP_Q.
31113         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31114         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31115         FP_CMP_EQ_Q.
31116         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31117         FP_CMP_Q.
31118         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31119         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31120         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31121         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31122         FP_CMP_EQ_Q.
31124         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31125         a subnormal result, set the underflow exception if trapping on
31126         underflow is enabled.
31127         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31128         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31129         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31130         redefine to 0.
31131         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31132         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31133         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31134         * soft-fp/extendxftf2.c (__extendxftf2): Use
31135         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31137         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31138         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31139         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31140         FP_HANDLE_EXCEPTIONS.
31141         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31142         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31143         FP_HANDLE_EXCEPTIONS.
31144         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31145         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31146         FP_HANDLE_EXCEPTIONS.
31147         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31148         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31149         FP_HANDLE_EXCEPTIONS.
31151 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31153         [BZ #14132]
31154         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31155         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31156         use INTUSE.
31157         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31158         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31159         Remove alias.
31160         (__adjtimex): Define using libc_hidden_ver.
31161         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31162         Remove declaration.
31163         (ntp_gettime): Call __adjtimex directly.
31164         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31165         Remove declaration.
31166         (ntp_gettimex): Call __adjtimex directly.
31167         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31168         __adjtimex_internal alias.
31170 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31172         [BZ #17460]
31173         * nscd/nscd.c (more_help): Rewrite list of tables collection
31174         using xstrdup and asprintf.
31176         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31178 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31179             Roland McGrath  <roland@hack.frob.com>
31181         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31182         (do_lookup_unique): ... local function 'enter' here; update callers.
31184 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31186         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31187         compat_symbol calls on [SHARED].
31188         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31189         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31190         Remove.
31191         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31192         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31193         (oldsetrlimit): Remove.
31194         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31196         (lchown): New syscall entry.
31197         (oldsetrlimit): Remove.
31198         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31200         (oldsetrlimit): Remove.
31201         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31203         [BZ #14138]
31204         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31205         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31206         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31207         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31208         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31209         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31210         (fchown): Likewise.
31211         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31212         (fchown): Likewise.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31214         Likewise.
31216 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31218         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31219         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31220         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31221         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31222         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31223         Likewise.
31224         (__old_sem_post): Likewise.
31226 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31228         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31229         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31230         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31231         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31232         Use INLINE_VSYSCALL macro.
31233         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31234         __vdso_clock_gettime.
31235         * sysdeps/unix/sysv/linux/tile/init-first.c
31236         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31237         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31238         __vdso_clock_gettime.
31240         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31241         to set up frame more cleanly.
31243         * sysdeps/tile/memcmp.c: New file.
31245         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31247         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31248         * sysdeps/tile/tilegx/strcasestr.c: New file.
31249         * sysdeps/tile/tilegx/strnlen.c: New file.
31250         * sysdeps/tile/tilegx/strstr.c: New file.
31252         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31254 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31256         * nptl/tst-setuid3.c: Write errors to stdout.
31258 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31260         * elf/dl-deps.c
31261         (preload): New functions broken out of _dl_map_object_deps.
31262         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31264 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31266         [BZ #14138]
31267         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31268         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31270 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31272         * sysdeps/mips/strcmp.S: New.
31274 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31276         [BZ #14138]
31277         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31278         (linkat): Likewise.
31279         (mkdirat): Likewise.
31280         (readlinkat): Likewise.
31281         (renameat): Likewise.
31282         (symlinkat): Likewise.
31283         (unlinkat): Likewise.
31284         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31285         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31286         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31287         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31288         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31289         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31290         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31292 2014-09-30  Will Newton  <will.newton@linaro.org>
31294         * math/math.h: Define long double math functions if
31295         _LIBC_TEST is defined.
31296         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31298         * localedata/Makefile: Move assignment to tests-special
31299         into an ifdef testing run-built-tests.
31300         * timezone/Makefile: Likewise.
31302 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31304         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31305         with $(BASH) not $(SHELL).
31307 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31308             Matthew LeGendre  <legendre1@llnl.gov>
31310         [BZ #17411]
31311         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31312         l_reloc_result.
31314 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31316         * stdio-common/printf_fp.c
31317         (hack_digit): New function, broken out of ...
31318         (__printf_fp): ... local function here.  Update call sites.
31319         hack_digit now takes an additional parameter that is a pointer
31320         to a struct of the referenced locals.  Those locals moved inside
31321         the struct and references updated.
31323 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31325         * aclocal.m4: Require autoconf 2.69.
31326         * configure: Regenerated.
31327         * sysdeps/aarch64/configure: Likewise.
31328         * sysdeps/alpha/configure: Likewise.
31329         * sysdeps/arm/armv7/configure: Likewise.
31330         * sysdeps/arm/configure: Likewise.
31331         * sysdeps/ia64/configure: Likewise.
31332         * sysdeps/mach/configure: Likewise.
31333         * sysdeps/mips/configure: Likewise.
31334         * sysdeps/s390/configure: Likewise.
31335         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31338         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31339         file.
31340         * sysdeps/ia64/configure.ac: Likewise.
31342 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31345         specify symbol version for ld.so.  Do not include entry for
31346         libpthread.
31347         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31348         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31349         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31351         [BZ #14171]
31352         * Makeconfig [$(build-shared) = yes]
31353         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31354         makefiles.
31355         [$(build-shared) = yes && $(soversions.mk-done) = t]
31356         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31357         [$(build-shared) = yes && $(soversions.mk-done) = t]
31358         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31359         to Makerules.
31360         [$(build-shared) = yes && $(soversions.mk-done) = t]
31361         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31362         here.
31363         [$(build-shared) = yes && $(soversions.mk-done) = t]
31364         (common-generated): Don't append gnu/lib-names.h and
31365         gnu/lib-names.stmp here.
31366         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31367         (lib-names-h-abi): New variable.
31368         [$(build-shared) = yes && $(soversions.mk-done) = t]
31369         (lib-names-stmp-abi): Likewise.
31370         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31371         abi-variants] (before-compile): Append
31372         $(common-objpfx)$(lib-names-h-abi).
31373         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31374         abi-variants] (common-generated): Append gnu/lib-names.h.
31375         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31376         abi-variants] (install-others-nosubdir): Depend on
31377         $(inst_includedir)/$(lib-names-h-abi).
31378         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31379         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31380         [$(build-shared) = yes && $(soversions.mk-done) = t]
31381         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31382         [$(build-shared) = yes && $(soversions.mk-done) = t]
31383         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31384         [$(build-shared) = yes && $(soversions.mk-done) = t]
31385         (common-generated): Append $(lib-names-h-abi) and
31386         $(lib-names-stmp-abi).
31387         * scripts/lib-names.awk: Do not handle multi being set.
31388         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31389         Remove variable.
31390         (abi-lp64_be-ld-soname): Likewise.
31391         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31392         Likewise.
31393         (abi-hard-ld-soname): Likewise.
31394         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31395         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31396         Remove variable.
31397         (abi-o32_hard-ld-soname): Likewise.
31398         (abi-o32_soft_2008-ld-soname): Likewise.
31399         (abi-o32_hard_2008-ld-soname): Likewise.
31400         (abi-n32_soft-ld-soname): Likewise.
31401         (abi-n32_hard-ld-soname): Likewise.
31402         (abi-n32_soft_2008-ld-soname): Likewise.
31403         (abi-n32_hard_2008-ld-soname): Likewise.
31404         (abi-n64_soft-ld-soname): Likewise.
31405         (abi-n64_hard-ld-soname): Likewise.
31406         (abi-n64_soft_2008-ld-soname): Likewise.
31407         (abi-n64_hard_2008-ld-soname): Likewise.
31408         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31409         Likewise.
31410         (abi-64-v2-ld-soname): Likewise.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31412         ld.so entries.
31413         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31414         variable.
31415         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31416         entry.
31417         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31418         variable.
31419         (abi-64-ld-soname): Likewise.
31420         (abi-x32-ld-soname): Likewise.
31421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31422         entry.
31423         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31425 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31427         [BZ #14138]
31428         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31429         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31430         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31431         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31432         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31433         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31434         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31435         syscall entry for GLIBC_2.2 symbol version.
31436         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31437         Likewise.
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31439         (setrlimit): Likewise.
31440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31441         Likewise.
31443 2014-09-23  Will Newton  <will.newton@linaro.org>
31445         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31446         _LINUX_ARM_SYSDEP_H include guard too.
31447         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31448         define.
31450 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31452         * sysdeps/unix/sysv/linux/eventfd.c:
31453         Make first argument unsigned.
31454         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31455         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31457 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31459         [BZ #16852]
31460         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31461         * socket/sys/socket.h: Likewise.
31462         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31464 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31466         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31468 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31470         * time/tst-ftime.c: New test.
31471         * time/Makefile (tests): Add tst-ftime.
31473 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31475         * soft-fp/extended.h: Fix comment formatting.
31476         * soft-fp/op-1.h: Likewise.
31477         * soft-fp/op-2.h: Likewise.
31478         * soft-fp/op-4.h: Likewise.
31479         * soft-fp/op-8.h: Likewise.
31480         * soft-fp/op-common.h: Likewise.
31481         * soft-fp/soft-fp.h: Likewise.
31483         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31485 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31487         [BZ #6652]
31488         * Makeconfig (soversions-default-setname): Remove variable.
31489         ($(common-objpfx)soversions.i): Don't pass default_setname to
31490         soversions.awk.
31491         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31492         oldest_abi to abi-versions.awk.
31493         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31494         * config.make.in (oldest-abi): Remove variable.
31495         * configure.ac (--enable-oldest-abi): Remove configure option.
31496         * configure: Regenerated.
31497         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31498         text.
31499         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31500         * scripts/soversions.awk: Do not handle default_setname variable.
31501         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31502         variable.
31503         * sysdeps/mach/hurd/configure: Regenerated.
31504         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31505         variable.
31506         * sysdeps/unix/sysv/linux/configure: Regenerated.
31508 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31510         * elf/Makefile (CFLAGS-interp.c): Remove.
31511         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31512         path string.
31513         * elf/interp.c: Include generated runtime-linker.h
31515         * Makerules (lib%.so): Don't include $(+interp) in
31516         prerequisites.
31517         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31518         * dlfcn/eval.c: Remove file.
31520         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31521         macros.
31523         [BZ #17266]
31524         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31525         4.2 and newer.
31527         [BZ #17370]
31528         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31530 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31531             Jakub Jelinek  <jakub@redhat.com>
31533         [BZ #17266]
31534         * libio/stdio.h: Check definition of __fortify_function
31535         instead of __extern_always_inline to include bits/stdio2.h.
31536         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31537         check if __extern_always_inline is defined.
31538         [__USE_MISC || __USE_XOPEN]: Likewise.
31539         [__USE_ISOC99] Likewise.
31540         * misc/sys/cdefs.h (__fortify_function): Define only if
31541         __extern_always_inline is defined.
31542         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31543         __extern_always_inline and __extern_inline only for g++-4.3
31544         and newer or a compatible gcc.
31546 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31548         [BZ #17371]
31549         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31550         last change to handle zero prefix length.
31552 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31554         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31555         _SC_REGEX_VERSION.
31557         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31558         _POSIX_RAW_SOCKETS.
31560 2014-09-13  Allan McRae  <allan@archlinux.org>
31562         * po/ru.po: Update Russian translation from translation project.
31564 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31566         * locale/programs/locale.c (show_locale_vars): Inline local function
31567         into its sole call site.  Clean up some style nits.
31568         (print_item): New function, broken out of ...
31569         (show_info): ... local function here.  Clean up style nits.
31571         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31572         out of ...
31573         (set_class_defaults): ... local function set_default here.
31574         Define set_default as a macro locally to pass constant parameters.
31575         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31576         rather than a shared local.
31578         * stdlib/rpmatch.c (try): New function, broken out of ...
31579         (rpmatch): ... local function here.  Also, prototypify definition.
31581 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31583         * scripts/soversions.awk: Do not handle configuration names.
31584         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31585         vendor and os variables to soversions.awk.
31586         * configure.ac: Do not modify gnu-* host_os.
31587         * configure: Regenerated
31588         * shlib-versions: Remove first column with configuration names.
31589         * nptl/shlib-versions: Likewise.
31590         * nptl_db/shlib-versions: Likewise.
31591         * sysdeps/hppa/shlib-versions: Likewise.
31592         * sysdeps/m68k/shlib-versions: Likewise.
31593         * sysdeps/mach/hurd/shlib-versions: Likewise.
31594         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31595         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31596         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31597         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31598         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31599         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31600         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31601         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31603         Likewise.
31604         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31605         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31606         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31607         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31608         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31609         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31610         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31611         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31614         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31616         Regenerated.
31617         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31619         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31621         * shlib-versions: Remove OS-specific entries.  Moved to files in
31622         sysdeps.
31623         * sysdeps/mach/hurd/shlib-versions: New file.
31624         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31626         * nptl/shlib-versions: Remove architecture-specific entries.
31627         Moved to files in sysdeps.
31628         * shlib-versions: Likewise.
31629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31630         file.
31631         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31632         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31633         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31634         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31636         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31637         (UDP_NO_CHECK6_RX): Likewise.
31639 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31641         * sysdeps/posix/sysconf.c (__sysconf): Spell
31642         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31644 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31646         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31647         loading.
31648         * iconv/Versions (__gconv_transliterate): Export for use from
31649         gconv modules.
31650         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31651         (struct __gconv_trans_data, __gconv_trans_fct,
31652         __gconv_trans_context_fct, __gconv_trans_query_fct,
31653         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31654         definitions.
31655         (struct __gconv_step_data): Remove __trans member.
31656         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31657         longer hidden.  Remove unused trans_data argument.
31658         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31659         (__gconv_translit_find): Remove declaration.
31660         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31661         prototype.
31662         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31663         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31664         trans_data argument.  Add hidden definition.
31665         (__gconv_translit_find): Remove.
31666         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31667         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31668         * iconv/skeleton.c: Remove transliteration initialization.
31669         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31670         __gconv_step_data initialization.
31671         * libio/iofwide.c (__libio_translit_): Remove.
31672         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31673         * wcsmbs/btowc.c (__btowc): Likewise.
31674         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31675         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31676         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31677         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31678         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31679         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31680         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31681         * wcsmbs/wctob.c (wctob): Likewise.
31683 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31685         [BZ #16194]
31686         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31687         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31688         register usage.
31689         * sysdeps/x86/Makefile: Adjust.
31691 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31692             Roland McGrath  <roland@hack.frob.com>
31694         * locale/weight.h: Add include guard.
31695         (findidx): Make static rather than auto; take new parameters
31696         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31697         * locale/weightwc.h: Likewise.
31698         * posix/fnmatch_loop.c
31699         (FCT): Change type of EXTRA from int32_t to wint_t.
31700         Don't include either header inside the function.
31701         Call FINDIDX rather than findidx, and pass new arguments.
31702         #undef FINDIDX at the end of the file.
31703         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31704         FINDIDX before including fnmatch_loop.c for the non-wide version.
31705         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31706         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31707         for the wide version.
31708         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31709         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31710         Pass new arguments to findidx.
31711         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31712         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31713         Don't #include it inside the function.  Pass new arguments to findidx.
31714         * posix/regex_internal.h
31715         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31716         (re_string_elem_size_at): Don't #include it inside the function.
31717         Pass new arguments to findidx.
31718         * string/strcoll_l.c: #include WEIGHT_H at top level.
31719         (get_next_seq): Don't #include it inside the function.
31720         Pass new arguments to findidx.
31721         (get_next_seq_nocache): Likewise.
31722         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31723         (STRXFRM): Don't #include it inside the function.
31724         Pass new arguments to findidx.
31726 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31728         [BZ #17344]
31729         * malloc/malloc.c (unlink): Turn asserts into a call to
31730         malloc_printerr.
31732 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31734         [BZ #17370]
31735         * libio/wfileops (do_ftell_wide): Free OUT.
31737 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31739         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31741 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31743         [BZ #17363]
31744         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31745         group if the current group is empty.
31747 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31749         * benchtests/bench-memset.c (test_main): Add more test from size
31750         from 32 to 512 bytes.
31751         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31752         Add POWER8 memset object.
31753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31754         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31755         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31756         implementation.
31757         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31758         Likewise.
31759         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31760         multiarch POWER8 memset optimization.
31761         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31762         POWER8 memset optimization.
31764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31765         Remove bzero multiarch objects.
31766         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31767         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31769         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31770         Remove define.
31771         [__bzero]: Redefine to specific name.
31772         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31773         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31774         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31775         define.
31776         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31777         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31779 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31781         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31782         warnings into errors.
31784         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31785         __cxa_thread_atexit_impl prototype.
31787 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31789         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31790         Fix capitalization of error message.
31792 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31794         * sysdeps/mips/preconfigure: Modify ABI tests.
31796 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31798         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31800 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31801             Carlos O'Donell  <carlos@systemhalted.org>
31803         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31804         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31805         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31806         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31807         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31808         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31809         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31810         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31811         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31814         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31816         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31818         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31820         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31822         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31824         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31825         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31826         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31827         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31828         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31829         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31830         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31831         Deconditionalize the code that was previously under [RESET_PID].
31832         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31833         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31834         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31835         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31836         include sysdep.h.
31838 2014-09-08  Allan McRae  <allan@archlinux.org>
31840         * version.h (RELEASE): Set to "development".
31841         (VERSION): Set to "2.20.90"
31843 2014-09-07  Allan McRae  <allan@archlinux.org
31845         * version.h (RELEASE): Set to "stable".
31846         (VERSION): Set to "2.20"
31847         * include/features.h (__GLIBC_MINOR__): Set to 20.
31849         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31850         Liebler.
31852         * po/ko.po: Update Korean translation from translation project.
31854 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31856         [BZ #17354]
31857         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31858         macro for handling signed relocations.
31860 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31862         [BZ #17325]
31863         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31864         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31865         assert.
31866         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31867         * iconvdata/ibm935.c (BODY): Likewise.
31868         * iconvdata/ibm937.c (BODY): Likewise.
31869         * iconvdata/ibm939.c (BODY): Likewise.
31870         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31871         assert.
31872         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31873         script.
31874         * iconvdata/run-iconv-test.sh: New test loop for checking for
31875         decoder crashers.
31877 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31880         libm_hidden_ver.
31882 2014-09-01  Allan McRae  <allan@archlinux.org>
31884         * po/eo.po: Update Esperanto translation from translation project.
31886         * po/ca.po: Update Catalan translation from translation project.
31888 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31890         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31891         __proc_dostop call.
31893 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31895         [BZ #17319]
31896         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31897         to call set_thread_area instead of hand written asm.
31898         (__NR_set_thread_area): Removed define.
31899         (TLS_FLAG_WRITABLE): Likewise.
31900         (__ASSUME_SET_THREAD_AREA): Remove check.
31901         (TLS_EBX_ARG): Remove define.
31902         (TLS_LOAD_EBX): Likewise.
31904 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31906         Simplify atomicity of socket creation in bind.
31908         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31909         looking up the name after linking the file.
31911 2014-08-27  Allan McRae  <allan@archlinux.org>
31913         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31915 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31917         [BZ #17187]
31918         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31919         trans_compare, open_translit, __gconv_translit_find):
31920         Remove module loading code.
31922 2014-08-26  Allan McRae  <allan@archlinux.org>
31924         * po/vi.po: Update Vietnamese translation from translation project.
31926         * po/uk.po: Update Ukrainian translation from translation project.
31928         * po/fr.po: Update French translation from translation project.
31930         * po/ru.po: Update Russian translation from translation project.
31932         * po/pl.po: Update Polish translation from translation project.
31934         * po/cs.po: Update Czech translation from translation project.
31936         * po/de.po: Update German translation from translation project.
31938         * po/bg.po: Update Bulgarian translation from translation project.
31940         * po/sv.po: Update Sweedish translation from translation project.
31942         * po/nl.po: Update Dutch translation from translation project.
31944         * po/es.po: Update Spanish translation from translation project.
31946 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31948         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31950         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31951         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31952         (CPPFLAGS-iconvconfig): Likewise.
31953         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31955         * include/libc-symbols.h: Remove unnecessary check for
31956         NOT_IN_libc.
31957         * nptl/pthreadP.h: Likewise.
31958         * sysdeps/aarch64/setjmp.S: Likewise.
31959         * sysdeps/alpha/setjmp.S: Likewise.
31960         * sysdeps/arm/sysdep.h: Likewise.
31961         * sysdeps/i386/setjmp.S: Likewise.
31962         * sysdeps/m68k/setjmp.c: Likewise.
31963         * sysdeps/posix/getcwd.c: Likewise.
31964         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31965         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31966         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31967         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31968         * sysdeps/sh/sh3/setjmp.S: Likewise.
31969         * sysdeps/sh/sh4/setjmp.S: Likewise.
31970         * sysdeps/unix/alpha/sysdep.h: Likewise.
31971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31973         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31974         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31979         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31982         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31984         * sysdeps/x86_64/setjmp.S: Likewise.
31986 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31988         [BZ #17263]
31989         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31990         <stdint.h>.
31991         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31992         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31994 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31996         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31998         [BZ #17262]
31999         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32000         and __x86_64__ when disabling x87 inline functions.
32002 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32004         [BZ #17259]
32005         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32006         asm statement with __cpuid_count.
32008 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32010         * configure.ac: Change __ehdr_start code to dereference the struct.
32011         Run readelf on the output to look for relocations.
32012         * configure: Regenerated.
32014 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32016         [BZ #17261]
32017         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32018         value to 0.
32019         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32021 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32023         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32025 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32027         [BZ #16892]
32028         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32029         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32031 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32033         * malloc/malloc.c: Fix typo in comment.
32035 2014-08-09  Allan McRae  <allan@archlinux.org>
32037         * Regenerate libc.po.
32039 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32041         * intl/tst-gettext2.sh: Check every lang file for creation.
32043 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32045         * sysdeps/aarch64/fpu/math_private.h
32046         (libc_feholdsetround_noex_aarch64_ctx): New function.
32048 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32050         * sysdeps/arm/armv6/strcpy.S (strcpy):
32051         Fix performance issue in misaligned cases.
32053 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32055         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32056         Move definition from termios.h.
32057         (struct termio): Likewise.
32058         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32059         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32060         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32061         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32062         Likewise.
32063         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32064         Move definition to ioctl-types.h
32065         (struct termio): Likewise.
32066         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32067         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32068         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32069         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32070         Likewise.
32072 2014-08-05  Richard Henderson  <rth@redhat.com>
32074         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32075         exceptions.
32076         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32077         Add fraiseexcpt.
32078         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32079         Use __feraiseexcept.
32080         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32081         Protect libm symbols with IS_IN_libm.
32083         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32085 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32087         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32089 2014-08-04  Will Newton  <will.newton@linaro.org>
32091         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32092         file.
32094 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32096         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32097         variants for each function.
32099 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32101         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32102         appended ...
32103         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32104         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32105         appended ...
32106         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32107         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32108         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32109         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32110         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32111         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32112         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32113         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32114         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32115         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32116         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32117         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32118         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32119         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32120         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32122         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32124         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32125         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32126         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32127         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32128         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32129         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32130         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32132         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32134         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32135         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32136         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32137         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32138         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32142         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32143         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32144         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32145         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32146         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32148         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32150         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32152         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32154         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32156         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32157         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32158         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32159         Update #include.
32160         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32161         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32163 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32165         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32166         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32167         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32168         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32169         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32170         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32172 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32174         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32175         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32176         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32177         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32179 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32181         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32182         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32183         (__libc_vfork): Define function under this name.
32184         (__vfork): Define as an alias.
32185         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32186         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32188 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32190         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32191         that was previously under [RESET_PID].
32192         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32194 2014-08-04  Andreas Schwab  <schwab@suse.de>
32196         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32198 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32200         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32201         (main): Likewise.
32203 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32205         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32207 2014-08-01  Richard Henderon  <rth@redhat.com>
32209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32210         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32211         typo in exact zero test.
32212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32216 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32218         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32219         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32220         * sysdeps/arm/sysdep.h: ... here.
32221         [!__ASSEMBLER__]: Include <stdint.h>.
32223 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32225         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32226         (HAVE_WCTYPE_H): Likewise.
32227         (HAVE_ISWCTYPE): Likewise.
32228         (ENABLE_NLS): Likewise.
32229         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32230         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32232         * posix/regex_internal.c: Check if DEBUG is defined and is
32233         set.
32235         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32236         (HAVE_MBSRTOWCS): Likewise.
32237         * posix/fnmatch.c: Include string.h unconditionally.
32239 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32241         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32242         reversal.
32244 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32246         * sysdeps/generic/safe-fatal.h: New file.
32247         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32248         * nptl/forward.c: Include it.
32249         (__pthread_unwind): Use __safe_fatal as default action, rather
32250         than a bogus use of INTERNAL_SYSCALL that could never work.
32252         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32253         * configure.ac (libc_cv_builtin_trap): New test.
32254         * configure: Regenerated.
32255         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32256         (ABORT_INSTRUCTION): Define using __builtin_trap.
32258         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32259         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32260         * sysdeps/nptl/nptl-signals.h: New file.
32261         * nptl/pthreadP.h: Include <nptl-signals.h>.
32263 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32265         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32266         (ONE_DIRECTION): Define.
32267         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32268         (ONE_DIRECTION): Define.
32269         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32270         (ONE_DIRECTION): Define.
32272 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32274         * sysdeps/s390/Makefile: Delete file.
32275         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32276         * sysdeps/s390/__longjmp.c: Delete file.
32277         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32278         Remove fields __flags and __reserved.
32279         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32280         and add versioning.
32281         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32282         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32283         * sysdeps/s390/rtld-setjmp.S: Likewise.
32284         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32285         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32286         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32287         * sysdeps/s390/s390-32/setjmp.S: ... here.
32288         Add versioning.
32289         (__sigsetjmp): Remove setting __flags field.
32290         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32291         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32292         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32293         * sysdeps/s390/s390-64/setjmp.S: ... here.
32294         Add versioning.
32295         (__sigsetjmp): Remove setting __flags field.
32296         * sysdeps/s390/setjmp.S: Delete file.
32297         * sysdeps/s390/sigjmp.c: Likewise.
32298         * sysdeps/s390/v1-longjmp.c: Likewise.
32299         * sysdeps/s390/v1-setjmp.h: Likewise.
32300         * sysdeps/s390/v1-sigjmp.c: Likewise.
32301         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32302         Remove v1-longjmp_chk.
32303         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32304         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32305         Include debug/longjmp_chk.c and add versioning.
32306         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32307         Include nptl/pt-longjmp.c and add versioning.
32308         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32309         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32310         Include __longjmp.c.
32311         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32312         Move to ...
32313         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32314         (__getcontext): Remove setting __flags field.
32315         Add versioning.
32316         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32317         Don't restore upper high grps.
32318         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32319         Likewise.
32320         (__swapcontext): Remove setting uc_flags field.
32321         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32322         Delete file.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32324         Include __longjmp.c.
32325         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32326         Move to ...
32327         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32328         (__getcontext): Remove setting __flags field.
32329         Add versioning.
32330         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32331         (__swapcontext): Remove setting uc_flags field.
32332         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32333         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32334         Remove fields uc_high_gprs and __reserved.
32335         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32336         New file with reverted content.
32337         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32338         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32339         Regenerated.
32340         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32341         Regenerated.
32343 2014-07-31  Andreas Schwab  <schwab@suse.de>
32345         * config.h.in (HAVE_IFUNC): Define to 0.
32346         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32347         definedness.
32349 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32352         memmove-avx-unaligned, memcpy-avx-unaligned and
32353         mempcpy-avx-unaligned.
32354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32355         Add tests for AVX memcpy functions.
32356         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32357         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32358         memcpy_chk.
32359         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32360         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32361         memmove_chk.
32362         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32363         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32364         mempcpy_chk.
32365         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32366         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32367         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32369 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32371         [BZ #17213]
32372         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32373         powerpc64le.
32375 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32377         [BZ #16839]
32378         * manual/llio.texi: Add section about open file description locks.
32379         * manual/examples/ofdlocks.c: Example of open file description
32380         lock usage.
32381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32382         F_OFD_SETLK, and F_OFD_SETLKW.
32384 2014-07-23  Allan McRae  <allan@archlinux.org>
32386         * po/es.po: Update Spanish translation from translation project.
32388 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32390         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32392 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32394         [BZ #17078]
32395         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32396         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32397         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32399 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #17088]
32402         * math/fesetenv.c (__fesetenv)
32403         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32404         * math/feupdateenv.c (__feupdateenv)
32405         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32407         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32408         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32409         (__ASSUME_SOCKETCALL): Do not define.
32411         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32412         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32413         (__ASSUME_SOCKETCALL): Do not define.
32414         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32415         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32416         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32417         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32418         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32419         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32421         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32423         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32424         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32425         (__ASSUME_SOCKETCALL): Do not define.
32426         (__ASSUME_IPC64): Define unconditionally.
32427         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32428         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32429         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32431         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32433         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32434         Likewise.
32436         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32437         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32438         (__ASSUME_SOCKETCALL): Do not define.
32439         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32440         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32441         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32442         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32443         (__ASSUME_REQUEUE_PI): Define unconditionally.
32444         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32445         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32446         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32447         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32449         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32451         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32452         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32453         (__ASSUME_SOCKETCALL): Do not define.
32454         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32456         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32457         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32459         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32461         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32462         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32463         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32464         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32466         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32467         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32468         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32469         (__ASSUME_GETCPU_SYSCALL): Likewise.
32471         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32472         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32473         cases for individual architectures.
32474         * sysdeps/gnu/configure: Regenerated.
32475         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32476         LIBC_SLIBDIR_RTLDDIR.
32477         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32478         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32479         LIBC_SLIBDIR_RTLDDIR.
32480         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32482         LIBC_SLIBDIR_RTLDDIR.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32484         Regenerated.
32485         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32486         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32487         file.
32488         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32489         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32490         file.
32491         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32492         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32493         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32494         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32496         * sysdeps/aarch64/shlib-versions: Move to ...
32497         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32498         * sysdeps/alpha/shlib-versions: Move to ...
32499         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32500         * sysdeps/arm/shlib-versions: Move to ...
32501         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32502         * sysdeps/hppa/shlib-versions: Move all contents except for
32503         libgcc_s entry to ...
32504         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32505         entry from ...
32506         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32507         * sysdeps/ia64/shlib-versions: Move to ...
32508         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32509         entry from ...
32510         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32511         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32512         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32513         * sysdeps/microblaze/shlib-versions: Move to ...
32514         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32515         * sysdeps/mips/shlib-versions: Move to ...
32516         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32517         entry from ...
32518         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32519         * sysdeps/tile/shlib-versions: Move to ...
32520         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32521         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32522         from ...
32523         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32524         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32525         entry from ...
32526         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32528 2014-07-17  Will Newton  <will.newton@linaro.org>
32530         * sysdeps/arm/bits/atomic.h
32531         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32532         (__arch_compare_and_exchange_bool_16_int): Likewise.
32533         (__arch_compare_and_exchange_bool_64_int): Likewise.
32535         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32536         into an #else block.
32538 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32540         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32541         just Linux configurations.  Test empirically that the compiler sets
32542         __ARM_EABI__, rather than using the tuple to decide.
32543         * sysdeps/arm/preconfigure: Regenerated.
32544         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32545         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32546         contents appended ...
32547         * sysdeps/arm/configure.ac: ... here.
32548         * sysdeps/arm/configure: Regenerated.
32550 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32552         * nptl/pthread_kill.c: New file.
32553         * nptl/pthread_sigmask.c: New file.
32554         * nptl/pthread_sigqueue.c: New file.
32556         * sysdeps/nptl/lowlevellock.h: New file.
32557         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32558         * sysdeps/nptl/lowlevellock-futex.h: New file.
32560         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32561         Remove dead declarations.
32563 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32565         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32566         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32567         config-cflags-avx2.
32568         * sysdeps/x86_64/configure.ac: Likewise.
32569         * sysdeps/i386/configure: Regenerated.
32570         * sysdeps/x86_64/configure: Likewise.
32571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32572         memset-avx2 only if config-cflags-avx2 is yes.
32573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32574         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32575         defined.
32576         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32577         only if HAVE_AVX2_SUPPORT is defined.
32578         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32580 2014-07-14  Alan Modra  <amodra@gmail.com>
32582         [BZ #17153]
32583         * elf/elf.h (DT_PPC64_NUM): Correct value.
32584         * NEWS: Add to fixed bug list.
32586 2014-07-13  Jim Meyering  <meyering@fb.com>
32588         [BZ 17150]
32589         regex: don't deref NULL upon heap allocation failure
32590         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32591         failure in one more place.
32592         To trigger the segfault, configure grep -with-included-regex,
32593         build it, and run these commands:
32594         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32596 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32598         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32600 2014-07-11  Richard Henderson  <rth@redhat.com>
32602         * sysdeps/aarch64/libm-test-ulps: Update.
32604 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32606         [BZ #17135]
32607         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32608         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32609         (__nptl_setxid): Initialize error member.  Call
32610         __nptl_setxid_error.
32611         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32612         * nptl/descr.h (struct xid_command): Add error member.
32613         * nptl/tst-setuid3.c: New file.
32614         * nptl/Makefile (tests): Add it.
32616 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32618         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32619         New define.
32620         (__lll_trylock): Use __lll_base_trylock.
32621         (__lll_cond_trylock): Likewise.
32623 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32625         * nptl/pthread_create.c (start_thread): Use atomic_or and
32626         lll_futex_wake directly rather than lll_robust_dead.
32627         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32628         (lll_robust_dead): Macro removed.
32629         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32630         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32631         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32632         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32633         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32634         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32635         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32636         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32637         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32638         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32639         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32640         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32641         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32642         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32643         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32645         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32646         Use atomic_compare_and_exchange_val_acq directly rather than
32647         lll_robust_trylock.
32648         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32649         (__lll_robust_trylock, lll_robust_trylock): Removed.
32650         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32651         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32652         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32653         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32654         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32655         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32656         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32657         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32658         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32659         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32660         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32661         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32663         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32665 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32667         * manual/locale.texi (Locale Names): New section documenting
32668         locale name syntax.  Adjust menu and node chaining accordingly.
32669         (Choosing Locale): Reference Locale Names, Locale Categories.
32670         Mention setting LC_ALL=C.  Reflect that name syntax is now
32671         documented.
32672         (Locale Categories): New section title.  Reference Locale Names.
32673         LC_ALL is an environment variable, but not a category.
32674         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32675         description, now in Locale Name.  Reference that section.  Locale
32676         name syntax is now documented.
32678 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32680         [BZ #17137]
32681         * locale/findlocale.c (name_present, valid_locale_name): New
32682         functions.
32683         (_nl_find_locale): Use the loc_name variable to store name
32684         candidates.  Call name_present and valid_locale_name to check and
32685         validate locale names.  Return an error if the locale is invalid.
32687 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32689         * locale/setlocale.c (setlocale): Use strdup for allocating
32690         composite name copy.
32692 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32694         Sync up with gnulib.
32695         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32696         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32697         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32698         and _GL_ARG_NONNULL.
32699         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32700         [!_LIBC]: Include code for Windows and Cygwin.
32701         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32702         Include prototype for int strerror_r.
32703         [!_LIBC] (is_open): New function.
32704         (flush_stdout): New function.
32705         (print_errno_message): Use it.
32706         (error): Likewise.
32707         (error_at_line): Likewise.
32708         (error_tail) Add function attribute macros.  Use
32709         __builtin_expect.
32711         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32713         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32715         * io/ftw.c: Include sys/param.h unconditionally.
32717         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32719         [BZ #17125]
32720         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32721         libc_freeres_ptr.
32722         (freecache): New function to free CACHE on exit.
32724         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32725         initialization.
32727 2014-07-09  David S. Miller  <davem@davemloft.net>
32729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32731         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32732         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32733         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32734         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32735         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32736         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32737         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32738         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32739         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32740         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32741         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32742         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32743         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32745 2014-07-09  Andreas Schwab  <schwab@suse.de>
32747         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32748         output.
32749         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32750         (do_test): Likewise.
32752         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32754 2014-07-09  Will Newton  <will.newton@linaro.org>
32756         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32757         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32758         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32759         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32760         * sysdeps/hppa/start.S (_start): Likewise.
32762 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32764         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32766         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32767         defined.
32769 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32771         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32772         after checking that it is non-NULL.
32774         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32776 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32778         * sysdeps/powerpc/memmove.c: Remove file.
32779         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32780         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32781         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32782         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32783         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32784         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32785         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32786         string memmove instead of removed powerpc one.
32788         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32789         [weak_alias]: Fix compiler warning due trailing data.
32790         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32791         [weak_alias]: Likewise.
32792         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32793         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32796         (__libc_ifunc_impl_list): Add memmove functions.
32798 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32800         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32801         Remove code.
32802         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32803         Likewise.
32804         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32805         Likewise.
32806         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32807         Likewise.
32808         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32809         Likewise.
32810         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32811         Likewise.
32812         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32813         Likewise.
32814         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32815         Likewise.
32816         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32817         Likewise.
32818         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32819         Likewise.
32820         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32821         Likewise.
32822         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32823         Likewise.
32824         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32825         Likewise.
32826         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32827         Likewise.
32828         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32829         Likewise.
32830         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32831         Likewise.
32832         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32833         Likewise.
32835 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32837         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32838         to avoid alignment traps in non-cacheable memory.
32839         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32842         multiarch objects.
32843         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32844         file: multiarch power7 memmove.
32845         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32846         multiarch default memmove.
32847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32848         multiarch memove for powerpc32/power4.
32850         * string/bcopy.c: Use full path to include memmove.c.
32851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32852         multiarch objects.
32853         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32854         bcopy for powerpc64.
32855         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32856         bcopy for powerpc64.
32857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32858         and memmove implementations.
32859         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32860         optimized multiarch memmove for POWER7/powerpc64.
32861         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32862         default multiarch memmove for powerpc64.
32863         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32864         multiarch for powerpc64.
32865         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32866         for POWER7/powerpc64.
32867         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32868         memmove for POWER7/powerpc64.
32870         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32871         glibc default one.
32873         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32874         __ELF_NATIVE_CLASS equal to 64.
32876 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32878         * sysdeps/nptl/lowlevellock.h: File removed.
32880         * NEWS: NPTL is no longer an add-on!
32881         * nptl/internaltypes.h: Moved ...
32882         * sysdeps/nptl/internaltypes.h: ... here.
32883         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32884         * sysdeps/nptl/fork.c: Likewise.
32885         * sysdeps/nptl/gai_misc.h: Likewise.
32886         * sysdeps/nptl/librt-cancellation.c: Likewise.
32887         * sysdeps/nptl/jmp-unwind.c: Likewise.
32888         * sysdeps/nptl/setxid.h: Likewise.
32889         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32890         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32891         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32892         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32893         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32894         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32895         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32896         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32897         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32898         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32899         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32900         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32901         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32902         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32903         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32904         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32905         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32906         * nptl/Makeconfig: Moved ...
32907         * sysdeps/nptl/Makeconfig: ... here.
32908         * nptl/configure: File removed.
32909         * nptl/ANNOUNCE: File removed.
32910         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32911         * sysdeps/unix/sysv/linux/configure: Regenerated.
32913         * nptl/Makefile (routines): Add libc_pthread_init,
32914         libc_multiple_threads, register-atfork and unregister-atfork.
32915         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32916         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32917         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32918         pthread-pi-defines.sym, structsem.sym.
32919         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32920         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32921         [$(subdir) = nptl] (tests): Add tst-setgetname.
32922         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32923         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32924         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32925         [!LIBC_SIGACTION]: Remove aliases.
32926         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32927         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32928         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32929         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32930         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32931         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32932         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32933         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32934         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32935         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32936         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32937         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32938         __libc_allocate_rtsig_private.
32939         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32940         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32941         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32942         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32943         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32944         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32945         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32946         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32947         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32948         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32949         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32950         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32951         * nptl/internaltypes.h: ... here.
32952         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32953         * sysdeps/nptl/jmp-unwind.c: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32955         * nptl/libc-lowlevellock.c: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32957         * nptl/libc_multiple_threads.c: ... here.
32958         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32959         * nptl/libc_pthread_init.c: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32961         * nptl/lowlevelbarrier.sym: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32963         * nptl/lowlevelcond.sym: ... here.
32964         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32965         * nptl/lowlevellock.c: ... here.
32966         * nptl/lowlevellock.h: Moved ...
32967         * sysdeps/nptl/lowlevellock.h: ... here.
32968         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32969         * nptl/lowlevelrobustlock.c: ... here.
32970         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32971         * nptl/lowlevelrobustlock.sym: ... here.
32972         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32973         * nptl/lowlevelrwlock.sym: ... here.
32974         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32975         * nptl/pt-fork.c: ... here.
32976         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32977         * nptl/pthread-pi-defines.sym: ... here.
32978         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32979         * nptl/pthread_attr_getaffinity.c: ... here.
32980         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32981         * nptl/pthread_attr_setaffinity.c: ... here.
32982         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32983         * nptl/pthread_mutex_cond_lock.c: ... here.
32984         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32985         Update #include.
32986         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32987         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32988         * nptl/pthread_once.c: ... here, replacing old file.
32989         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32990         * nptl/pthread_yield.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32992         * nptl/register-atfork.c: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32994         * nptl/sem_post.c: ... here.
32995         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32996         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32997         * nptl/sem_timedwait.c: ... here.
32998         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32999         * nptl/sem_trywait.c: ... here.
33000         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33001         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33002         * nptl/sem_wait.c: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33004         * nptl/structsem.sym: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33006         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33007         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33008         * nptl/unregister-atfork.c: ... here.
33009         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33010         * nptl/unwindbuf.sym: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33012         * sysdeps/nptl/fork.c: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33014         * sysdeps/nptl/fork.h: ... here.
33015         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33016         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33017         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33018         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33019         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33020         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33021         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33022         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33023         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33024         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33025         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33026         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33027         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33029         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33031         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33032         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33033         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33034         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33035         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33037         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33038         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33039         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33041         * sysdeps/unix/sysv/linux/raise.c: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33043         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33045         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33047         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33049         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33051         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33053         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33055         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33056         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33058 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33060         * sysdeps/generic/memcopy.h: Add comment for
33061         MEMCPY_OK_FOR_FWD_MEMMOVE.
33063 2014-07-04  Will Newton  <will.newton@linaro.org>
33065         * string/memchr.c: Merge from gnulib.
33066         [_LIBC]: Remove conditionals.
33067         (__ptr_t): Remove define.
33068         (LONG_MAX_32_BITS): Likewise.
33069         (LONG_MAX): Likewise.
33070         (MEMCHR): Use ANSI prototype and optimize algorithm.
33072         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33074 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33076         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33077         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33079         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33080         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33081         in a bare environment with no <stdlib.h> installed.
33082         * sysdeps/nptl/configure: Regenerated.
33084         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33086         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33087         AC_EGREP_CPP for kernel header checks, so they only succeed if
33088         including <linux/version.h> actually works right.
33089         * sysdeps/unix/sysv/linux/configure: Regenerated.
33091         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33092         value so it's not diagnosed as unused.
33094         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33095         thing) with "ifeq ($(subdir),rt)".
33097 2014-07-03  Richard Henderson  <rth@redhat.com>
33099         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33100         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33101         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33103         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33104         (math_force_eval): New.
33106         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33107         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33109         * sysdeps/alpha/fpu/s_round.c: Remove file.
33110         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33112         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33113         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33114         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33115         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33116         (_dl_start, print_statistics): Likewise.
33117         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33118         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33120         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33121         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33122         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33123         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33125         (HP_SMALL_TIMING_AVAIL): Define.
33126         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33127         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33128         (HP_SMALL_TIMING_AVAIL): Define.
33129         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33130         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33132         * sysdeps/aarch64/hp-timing.h: New file.
33134         * sysdeps/generic/hp-timing.h: Remove dead comment.
33135         * sysdeps/generic/hp-timing-common.h: New file.
33136         * sysdeps/alpha/hp-timing.h: Include it.
33137         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33138         * sysdeps/i386/i686/hp-timing.h: Likewise.
33139         * sysdeps/ia64/hp-timing.h: Likewise.
33140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33141         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33143         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33144         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33145         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33146         (hp_timing_t): New.
33148         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33149         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33150         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33151         * elf/rtld.c (_dl_start_final): Likewise.
33152         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33153         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33154         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33155         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33156         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33157         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33158         (HP_TIMING_DIFF_INIT): Remove.
33159         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33161         (HP_TIMING_DIFF_INIT): Remove.
33162         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33163         * sysdeps/i386/i686/hp-timing.c: Remove file.
33164         * sysdeps/x86_64/hp-timing.c: Remove file.
33165         * sysdeps/ia64/hp-timing.c: Remove file.
33166         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33167         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33168         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33169         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33171         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33172         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33173         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33174         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33175         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33176         (HP_TIMING_ACCUM): Remove.
33177         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33178         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33179         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33181         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33182         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33183         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33184         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33185         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33186         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33187         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33188         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33190         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33192 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33194         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33196 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33198         Sync up with gettext.
33199         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33200         [_MSC_VER]: Include malloc.h
33201         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33202         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33203         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33204         TEMP_FAILURE_RETRY.  Cast return of alloca.
33205         [!_LIBC] Call gl_rwlock_init.
33206         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33208 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33210         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33211         before checking its value.
33213 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33215         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33217         * debug/memcpy_chk.c: Don't include pagecopy.h.
33218         * debug/mempcpy_chk.c: Likewise.
33219         * string/memcpy.c: Likewise.
33220         * string/memmove.c: Likewise.
33221         * sysdeps/powerpc/memmove.c: Likewise.
33222         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33223         definition of PAGE_COPY_FWD_MAYBE here...
33224         * sysdeps/generic/pagecopy.h: ... from here.
33225         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33227 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33228             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33230         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33232         optimizations.
33233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33234         (__libc_ifunc_impl_list): Likewise.
33235         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33236         multiarch strcat for PPC64.
33237         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33238         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33240 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33242         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33244 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33246         * intl/loadmsgcat.c: Remove declaration of
33247         get_sysdep_segment_value.
33248         (get_sysdep_segment_value): Use ISO C style.
33249         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33250         semicolon.  Fix typo and formatting in comment.
33251         (_nl_unload_domain): Use ISO C style.
33253         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33255 2014-07-02  Will Newton  <will.newton@linaro.org>
33257         * malloc/obstack.c: Merge from gnulib master.
33258         [HAVE_CONFIG_H]: Remove conditional code.
33259         [!_LIBC]: Include config.h.
33260         [!ELIDE_CODE]: Don't include inttypes.h, include
33261         stdint.h unconditionally.
33262         (print_and_abort): Mark as _Noreturn.
33263         (_obstack_allocated_p): Mark as __attribute_pure__.
33264         (obstack_free): Rename to __obstack_free.
33265         [!__attribute__]: Remove conditional code.
33266         * malloc/obstack.h: Merge from gnulib master.
33267         [__cplusplus]: Move conditional down.
33268         [!__attribute_pure__]: Define __attribute_pure__ here
33269         if it is not already defined.
33270         (_obstack_memory_used): Mark as __attribute_pure__.
33271         [!__obstack_free]: Define as obstack_free.
33272         [__GNUC__]: Remove check for ancient NeXT gcc.
33274 2014-07-02  Will Newton  <will.newton@linaro.org>
33275             Paul Eggert  <eggert@cs.ucla.edu>
33277         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33279 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33281         * resolv/gethnamaddr.c: Add comment warning that the file is
33282         not maintained.
33284 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33286         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33287         entries.
33289         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33290         entry for aio_cancel and aio_cancel64.
33291         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33292         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33293         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33294         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33295         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33296         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33297         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33298         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33299         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33300         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33301         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33302         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33303         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33305 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33307         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33308         * nptl/pthread_mutex_lock.c: Likewise.
33309         * nptl/pthread_mutex_timedlock.c: Likewise.
33310         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33312 2014-07-01  Richard henderson  <rth@redhat.com>
33314         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33315         (__isnan, __isnanl): Remove.
33316         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33318         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33320 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33322         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33324 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * resolv/nss_dns/dns-host.c (getanswer_r)
33327         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33329 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33332         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33333         undefine.
33334         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33335         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33337 2014-07-01  Roland McGrath <roland@hack.frob.com>
33339         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33340         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33342         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33343         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33345         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33346         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33347         ... here.
33348         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33349         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33351         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33352         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33353         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33354         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33356         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33357         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33358         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33360         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33361         Moved ...
33362         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33363         ... here.
33364         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33365         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33366         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33367         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33368         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33375         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33376         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33384         ... here.
33385         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33386         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33388         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33389         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33390         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33391         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33392         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33394 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33396         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33397         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33398         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33399         Add sysdep.
33401 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33405 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33407         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33408         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33410         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33412         * sysdeps/arm/libm-test-ulps: Regenerated.
33414 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33415             Roland McGrath <roland@hack.frob.com>
33417         * test-skeleton.c (signal_handler): Kill the whole process group
33418         before killing the child individually.
33419         (main): Report any failure on `setpgid'.
33421 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33423         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33424         from _TLS_H to _ARM_NPTL_TLS_H.
33425         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33426         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33428 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33430         [BZ #16539]
33431         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33432         (__expm1l): Return argument unchanged when small but not
33433         subnormal.
33435         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33436         include macro name.
33437         (_FP_UNPACK_RAW_1_P): Likewise.
33438         (_FP_PACK_RAW_1): Likewise.
33439         (_FP_PACK_RAW_1_P): Likewise.
33440         (_FP_MUL_MEAT_1_wide): Likewise.
33441         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33442         (_FP_MUL_MEAT_1_hard): Likewise.
33443         (_FP_DIV_MEAT_1_imm): Likewise.
33444         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33445         (_FP_DIV_MEAT_1_udiv): Likewise.
33446         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33447         (_FP_UNPACK_RAW_2): Likewise.
33448         (_FP_UNPACK_RAW_2_P): Likewise.
33449         (_FP_PACK_RAW_2): Likewise.
33450         (_FP_PACK_RAW_2_P): Likewise.
33451         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33452         (_FP_MUL_MEAT_2_wide): Likewise.
33453         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33454         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33455         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33456         (_FP_MUL_MEAT_2_gmp): Likewise.
33457         (_FP_DIV_MEAT_2_udiv): Likewise.
33458         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33459         (_FP_FRAC_SRL_4): Likewise.
33460         (_FP_FRAC_SRST_4): Likewise.
33461         (_FP_FRAC_SRS_4): Likewise.
33462         (_FP_UNPACK_RAW_4): Likewise.
33463         (_FP_UNPACK_RAW_4_P): Likewise.
33464         (_FP_PACK_RAW_4): Likewise.
33465         (_FP_PACK_RAW_4_P): Likewise.
33466         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33467         (_FP_MUL_MEAT_4_wide): Likewise.
33468         (_FP_MUL_MEAT_4_gmp): Likewise.
33469         (umul_ppppmnnn): Likewise.
33470         (_FP_DIV_MEAT_4_udiv): Likewise.
33471         (__FP_FRAC_ADD_4): Likewise.
33472         (__FP_FRAC_SUB_3): Likewise.
33473         (__FP_FRAC_SUB_4): Likewise.
33474         (__FP_FRAC_DEC_3): Likewise.
33475         (__FP_FRAC_DEC_4): Likewise.
33476         (__FP_FRAC_ADDI_4): Likewise.
33477         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33478         (_FP_FRAC_SRL_8): Likewise.
33479         (_FP_FRAC_SRS_8): Likewise.
33481         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33482         include macro name.
33483         (FP_UNPACK_RAW_EP): Likewise.
33484         (FP_PACK_RAW_E): Likewise.
33485         (FP_PACK_RAW_EP): Likewise.
33486         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33487         (_FP_ISSIGNAN): Likewise.
33488         (_FP_ADD_INTERNAL): Likewise.
33489         (_FP_FMA): Likewise.
33490         (_FP_CMP): Likewise.
33491         (_FP_SQRT): Likewise.
33492         (_FP_TO_INT): Likewise.
33493         (_FP_FROM_INT): Likewise.
33494         (FP_EXTEND): Likewise.
33495         (_FP_DIV_MEAT_N_loop): Likewise.
33497 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33499         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33500         throughout.
33502 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33504         [BZ #17097]
33505         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33506         result with correct sign in case of exponents that produce
33507         overflow except for X very close to 1.
33509 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33511         mktime: merge #if/#ifdef usage from glibc
33512         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33513         as that works with both Glibc's and Gnulib's style.
33514         See thread starting at Siddhesh Poyarekar's bug report at:
33515         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33517 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33519         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33520         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33521         * sysdeps/tile/tilegx/memmove.c: Remove file.
33523 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33525         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33526         abi-name definition.
33527         * scripts/soversions.awk: Do not handle or generate ABI lines.
33528         * shlib-versions: Remove ABI entries.
33529         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33530         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33532 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33535         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33536         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33537         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33539         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33541         Moved ...
33542         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33543         ... here.
33544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33545         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33547         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33549         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33551         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33557         Moved ...
33558         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33560         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33562         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33564         Moved ...
33565         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33567         Moved ...
33568         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33570         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33572         Moved ...
33573         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33575         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33577         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33579         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33581         Moved ...
33582         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33584         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33585         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33586         Moved ...
33587         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33589         Moved ...
33590         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33591         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33592         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33594         Moved ...
33595         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33596         ... here.
33597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33598         Identical file removed.
33599         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33603         Identical file removed.
33604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33605         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33607         Moved ...
33608         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33610         Identical file removed.
33611         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33612         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33614         Identical file removed.
33615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33616         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33618         Identical file removed.
33619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33622         Identical file removed.
33623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33627         Identical file removed.
33628         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33629         Moved ...
33630         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33631         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33632         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33634         Identical file removed.
33635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33636         Moved ...
33637         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33638         ... here.
33639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33640         Identical file removed.
33641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33642         Moved ...
33643         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33645         Identical file removed.
33646         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33650         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33651         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33652         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33654         Moved ...
33655         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33657         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33659         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33660         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33661         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33662         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33663         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33665 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33667         [BZ #17092]
33668         * nscd/nscd.c (monitor_child): Return exit status of child
33669         instead of return value from wait syscall.
33671 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33673         * configure.ac (libc_commonpagesize): Remove variable.
33674         (libc_relro_required): Likewise.
33675         (libc_cv_z_relro): Remove configure test.
33676         * configure: Regenerated.
33677         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33678         variable.
33679         (libc_relro_required): Likewise.
33680         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33681         (libc_relro_required): Likewise.
33682         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33683         (libc_relro_required): Likewise.
33684         * sysdeps/arm/preconfigure: Regenerated.
33685         * sysdeps/ia64/preconfigure: Remove file.
33686         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33687         variable.
33688         (libc_relro_required): Likewise.
33690         [BZ #16561]
33691         [BZ #16562]
33692         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33693         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33694         recompute overflowing results in original rounding mode.
33695         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33696         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33697         recompute overflowing results in original rounding mode.
33698         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33699         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33700         recompute overflowing results in original rounding mode.
33701         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33702         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33703         recompute overflowing results in original rounding mode.
33704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33705         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33706         recompute overflowing results in original rounding mode.
33707         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33708         (libc_feholdsetround_ctx): New macro.
33709         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33710         * sysdeps/i386/fpu/libm-test-ulps: Update.
33711         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33713 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33715         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33716         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33717         corresponding .cpsetup call.
33719 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33721         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33722         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33723         * sysdeps/arm/Makefile [$(subdir) = csu]
33724         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33725         (static-only-routines): Add aeabi_read_tp here.
33726         (shared-only-routines): Add libc-aeabi_read_tp here.
33727         (CFLAGS-libc-start.c): Add -fexceptions here.
33728         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33729         (sysdep_routines, static-only-routines, shared-only-routines):
33730         Don't add to these here.
33731         (CFLAGS-libc-start.c): Likewise.
33733         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33734         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33735         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33736         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33737         * sysdeps/arm/Makefile [$(subdir) = rt]
33738         (librt-sysdep_routines, librt-shared-only-routines):
33739         Append rt-aeabi_unwind_cpp_pr1 here.
33740         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33741         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33742         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33743         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33744         Append nptl-aeabi_unwind_cpp_pr1 here.
33745         (tests): Filter out tst-cleanupx4 here.
33746         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33747         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33748         Don't do those here.
33750 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33752         * scripts/list-sources.sh: Do not handle ports specially.
33754 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33756         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33757         * sysdeps/arm/feupdateenv.c: Likewise.
33759         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33761 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33763         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33764         trailing whitespace removed.
33765         * scripts/config.guess: Update to version 2014-03-23.
33766         * scripts/config.sub: Update to version 2014-05-01
33767         * scripts/install-sh: Update to version 2013-12-25.23.
33768         * scripts/move-if-change: Update from gnulib.
33770 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33772         * debug/memmove_chk.c: Remove pagecopy.h include.
33774 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33776         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33777         identical to gnulib mktime.
33779 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33781         * configure.ac: Do not test for machine being rs6000.  Do not test
33782         for powerpc*-*soft.
33783         * configure: Regenerated.
33785         [BZ #11505]
33786         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33787         test.
33788         * configure: Regenerated.
33789         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33790         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33791         Remove configure test.
33792         * sysdeps/arm/configure: Regenerated.
33793         * sysdeps/nptl/configure.ac: Do not check
33794         libc_cv_asm_cfi_directives.
33795         * sysdeps/nptl/configure: Regenerated.
33796         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33797         * sysdeps/x86_64/nptl/configure: Remove generated file.
33798         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33799         unconditional.
33800         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33802 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33804         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33805         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33806         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33807         it is defined.
33809         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33810         instead of whether it is defined.
33811         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33812         * sysdeps/hppa/dl-machine.h: Likewise.
33813         * sysdeps/ia64/dl-machine.h: Likewise.
33814         * sysdeps/m68k/dl-machine.h: Likewise.
33815         * sysdeps/microblaze/dl-machine.h: Likewise.
33816         * sysdeps/mips/dl-machine.: Likewise.
33817         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33818         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33819         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33820         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33821         * sysdeps/sh/dl-machine.h: Likewise.
33822         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33823         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33824         * sysdeps/tile/dl-machine.h: Likewise.
33825         * sysdeps/x86_64/dl-machine.h: Likewise.
33827         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33828         code.
33829         (verify_persistent_db): Likewise.
33831 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33834         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33836         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33838         Moved ...
33839         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33840         ... here.
33841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33842         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33844         Identical file removed.
33845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33846         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33848         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33850         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33854         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33856         Moved ...
33857         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33859         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33861         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33863         Moved ...
33864         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33866         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33868         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33870         Identical file removed.
33871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33872         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33874         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33876         Moved ...
33877         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33878         ... here.
33879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33880         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33882         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33884         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33886         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33888         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33890         Moved ...
33891         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33893         Moved ...
33894         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33896         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33898         Moved ...
33899         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33901         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33903         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33904         folded into ...
33905         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33906         * sysdeps/unix/sysv/linux/s390/Versions
33907         (libpthread: GLIBC_2.19): New version set.
33908         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33909         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33910         (librt: GLIBC_2.3.3): New version set.
33911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33912         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33913         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33914         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33915         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33916         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33917         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33918         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33919         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33920         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33921         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33922         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33923         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33924         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33925         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33926         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33927         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33928         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33929         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33930         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33931         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33932         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33933         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33934         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33935         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33936         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33937         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33941         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33942         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33947         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33949         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33951         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33953         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33955         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33957         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33958         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33959         (__libc_vfork): Define the function under this name.
33960         [!NOT_IN_libc] (__vfork): Make this an alias.
33961         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33963         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33964         (__libc_vfork): Define the function under this name.
33965         [!NOT_IN_libc] (__vfork): Make this an alias.
33966         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33967         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33968         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33971         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33973         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33974         code that was previously under [RESET_PID].
33975         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33976         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33979         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33980         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33981         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33982         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33983         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33984         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33985         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33986         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33987         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33988         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33989         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33990         Moved ...
33991         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33992         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33993         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34002         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34009         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34010         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34011         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34012         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34015         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34016         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34017         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34018         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34019         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34021 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34023         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34024         that was previously under [RESET_PID].
34025         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34027 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34029         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34030         not undefine and redefine.
34031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34032         [O_CLOEXEC]: Make code unconditional.
34033         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34034         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34035         <kernel-features.h>.
34036         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34037         conditional variable definition.
34038         (shm_open) [O_CLOEXEC]: Make code unconditional.
34039         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34040         code.
34042         * configure.ac (USE_REGPARMS): Don't define here.
34043         * configure: Regenerated.
34044         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34045         * sysdeps/i386/configure: Regenerated.
34047         * nptl/createthread.c: Don't include kernel-features.h.
34048         * nptl/pthread_cancel.c: Likewise.
34049         * nptl/pthread_condattr_setclock.c: Likewise.
34050         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34051         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34052         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34053         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34054         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34055         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34056         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34059         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34060         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34061         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34062         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34063         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34064         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34065         * nscd/gai.c: Likewise.
34066         * nss/nss_db/db-open.c: Likewise.
34067         * sysdeps/generic/ldsodefs.h: Likewise.
34068         * sysdeps/sh/nptl/tls.h: Likewise.
34069         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34070         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34071         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34072         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34073         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34074         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34075         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34076         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34078         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34079         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34080         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34081         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34082         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34083         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34084         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34085         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34086         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34087         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34088         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34089         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34090         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34091         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34092         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34096         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34097         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34098         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34099         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34100         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34101         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34102         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34103         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34104         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34105         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34106         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34107         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34108         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34109         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34110         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34111         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34112         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34113         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34114         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34115         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34116         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34117         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34118         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34119         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34120         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34121         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34122         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34123         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34124         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34125         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34126         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34149         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34150         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34151         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34152         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34153         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34154         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34155         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34156         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34157         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34158         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34159         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34160         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34161         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34162         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34163         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34164         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34165         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34166         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34167         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34168         * sysdeps/unix/sysv/linux/system.c: Likewise.
34169         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34170         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34171         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34172         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34173         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34174         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34175         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34177         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34178         * configure: Regenerated.
34179         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34181         * configure.ac (base_machine): Do not set specially for particular
34182         machines here.
34183         * configure: Regenerated.
34184         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34185         settings from configure.ac.
34186         * sysdeps/i386/preconfigure: New file.
34187         * sysdeps/s390/preconfigure: Likewise.
34188         * sysdeps/sh/preconfigure: Likewise.
34189         * sysdeps/sparc/preconfigure: Likewise.
34191 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34193         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34194         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34195         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34196         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34197         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34198         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34199         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34200         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34201         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34202         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34203         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34204         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34205         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34206         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34207         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34210         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34211         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34213         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34214         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34215         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34216         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34217         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34218         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34219         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34220         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34221         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34222         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34223         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34224         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34225         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34226         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34227         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34228         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34229         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34230         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34231         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34232         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34233         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34234         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34235         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34236         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34238         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34240         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34241         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34242         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34243         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34244         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34245         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34246         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34247         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34248         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34250         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34253         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34255         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34257         Moved ...
34258         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34259         ... here.
34260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34261         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34263         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34265         Moved ...
34266         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34268         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34270         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34272         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34274         Moved ...
34275         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34277         Moved ...
34278         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34280         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34282         Moved ...
34283         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34285         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34287         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34289         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34291         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34293         Moved ...
34294         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34295         ... here.
34296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34297         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34299         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34301         Moved ...
34302         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34304         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34306         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34308         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34310         Moved ...
34311         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34313         Moved ...
34314         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34321         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34323         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34325 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34327         * timezone/checktab.awk: Update from tzcode 2014e.
34328         * timezone/private.h: Likewise.
34329         * timezone/tzfile.h: Likewise.
34330         * timezone/zdump.c: Likewise.
34331         * timezone/zic.c: Likewise.
34333         * sysdeps/unix/sysv/linux/kernel-features.h
34334         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34335         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34336         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34337         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34338         Remove conditional code.
34340 2014-06-25  Will Newton  <will.newton@linaro.org>
34342         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34343         (_dl_arm_cap_flags): Add HWCAP2 values.
34344         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34345         (_DL_HWCAP_COUNT): Increase to 37.
34346         (_DL_HWCAP_LAST): New define.
34347         (_DL_HWCAP2_LAST): New define.
34348         (_dl_procinfo): Add support for printing
34349         AT_HWCAP2 entries.
34350         (_dl_string_hwcap): Use _dl_hwcap_string.
34352 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34356 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34358         * README: Do not mention ports directory.
34360         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34361         Remove macro.
34362         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34363         <kernel-features.h>.
34364         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34365         conditional variable definition.
34366         (__futimes): Update comment.
34367         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34368         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34370         [BZ #16560]
34371         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34372         arguments close to 0.
34373         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34374         Likewise.
34375         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34376         Likewise.
34377         * math/auto-libm-test-in: Add more tests of exp10.
34378         * math/auto-libm-test-out: Regenerated.
34379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34381         * sysdeps/unix/sysv/linux/kernel-features.h
34382         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34383         * sysdeps/unix/sysv/linux/readv.c: Do not include
34384         <kernel-features.h>.
34385         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34386         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34387         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34388         unconditional.
34389         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34390         conditional code.
34391         * sysdeps/unix/sysv/linux/writev.c: Do not include
34392         <kernel-features.h>.
34393         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34394         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34395         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34396         unconditional.
34397         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34398         conditional code.
34400 2014-06-25  Will Newton  <will.newton@linaro.org>
34402         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34403         comment changes throughout the file.  Remove checks
34404         for HAVE_*_H definitions that are not required.
34405         (__gen_tempname): Call abort if an unknown kind value is
34406         passed.
34408 2014-06-25  Andreas Schwab  <schwab@suse.de>
34410         [BZ #17086]
34411         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34412         scalbln, scalblnf, scalblnl in libc.
34414 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34416         [BZ #17086]
34417         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34418         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34419         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34421 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34423         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34424         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34425         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34426         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34427         Update #include.
34428         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34429         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34430         Update #include.
34431         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34432         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34433         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34434         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34435         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34436         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34437         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34438         * sysdeps/x86/bits/semaphore.h: ... here.
34439         * sysdeps/x86/nptl/elide.h: Moved ...
34440         * sysdeps/x86/elide.h: ... here.
34441         * sysdeps/x86_64/nptl/Implies: File removed.
34442         * sysdeps/i386/nptl/Implies: File removed.
34444 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34446         [BZ #16539]
34447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34448         return the argument for normal arguments with exponent below -64.
34449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34450         Likewise.
34451         * math/auto-libm-test-in: Add another test of expm1.
34452         * math/auto-libm-test-out: Regenerated.
34454         [BZ #16287]
34455         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34456         calling __erfcl for arguments at least 16.
34457         * math/auto-libm-test-in: Add more tests of erf.
34458         * math/auto-libm-test-out: Regenerated.
34460         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34461         individual architectures.
34462         * sysdeps/unix/sysv/linux/configure: Regenerated.
34463         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34464         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34465         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34466         (ldd_rewrite_script): Define variable.
34467         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34469         file.
34470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34471         generated file.
34472         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34473         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34474         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34475         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34476         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34477         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34478         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34479         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34481 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34483         [BZ #17084]
34484         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34485         Rename member __data.d to __data.__elision_data.
34487 2014-06-24  Wilco  <wdijkstr@arm.com>
34489         * NEWS: Add 16918 to fixed bug list.
34491 2014-06-24  Wilco  <wdijkstr@arm.com>
34493         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34495 2014-06-24  Wilco  <wdijkstr@arm.com>
34497         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34498         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34499         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34500         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34501         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34502         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34503         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34504         Use _FPU_MASK_RM.
34506 2014-06-24  Wilco  <wdijkstr@arm.com>
34508         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34510 2014-06-24  Wilco  <wdijkstr@arm.com>
34512         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34513         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34514         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34515         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34517 2014-06-24  Wilco  <wdijkstr@arm.com>
34519         [BZ #16918]
34520         * sysdeps/arm/feupdateenv.c (feupdateenv):
34521         Rewrite to reduce FPSCR accesses and fix return value.
34523 2014-06-24  Wilco  <wdijkstr@arm.com>
34525         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34526         Optimize to avoid unnecessary FPSCR writes.
34527         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34528         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34529         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34530         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34532 2014-06-24  Wilco  <wdijkstr@arm.com>
34534         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34535         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34536         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34537         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34538         Call libc_fetestexcept_vfp.
34539         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34540         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34541         __SOFTFP__ ifdef so that they can be built for softfp.
34543 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34545         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34546         argument type signed char.
34548         * Makerules (check-abi): Dump diff of symlist if the test
34549         fails.
34551 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34553         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34554         using abort.
34556         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34557         Remove unused variable ST.
34559 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34561         [BZ #16354]
34562         [BZ #17061]
34563         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34564         small arguments before calling __expm1.
34565         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34566         small arguments before calling __expm1f.
34567         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34568         small arguments before calling __expm1l.
34569         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34570         Likewise.
34571         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34572         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34573         spurious underflow for some cosh tests.
34574         * math/auto-libm-test-out: Regenerated.
34575         * sysdeps/i386/fpu/libm-test-ulps: Update.
34577         [BZ #17050]
34578         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34579         (__ieee754_y1): Set errno if return value overflows.
34580         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34581         (__ieee754_y1f): Set errno if return value overflows.
34582         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34583         (__ieee754_y1l): Set errno if return value overflows.
34584         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34585         (__ieee754_y1l): Set errno if return value overflows.
34586         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34587         * math/auto-libm-test-out: Regenerated.
34589         * math/gen-auto-libm-tests.c: Document use of
34590         ignore-zero-inf-sign.
34591         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34592         (input_flags): Add ignore-zero-inf-sign.
34593         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34594         * math/gen-libm-test.pl (generate_testfile): Handle
34595         ignore-zero-inf-sign.
34596         * math/auto-libm-test-in: Mark some cpow tests with
34597         ignore-zero-inf-sign and some with xfail-rounding.
34598         * math/auto-libm-test-out: Regenerated.
34599         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34600         * sysdeps/i386/fpu/libm-test-ulps: Update.
34601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34603         [BZ #16315]
34604         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34605         overflowing or underflowing operations take place with sign of
34606         result.
34607         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34608         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34609         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34610         (__ieee754_pow): Recompute overflowing and underflowing results in
34611         original rounding mode.
34612         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34613         (__powl_helper): Allow negative argument X and scale negated value
34614         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34615         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34616         overflowing or underflowing operations take place with sign of
34617         result.
34618         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34619         Include <math.h>.
34620         * math/auto-libm-test-in: Add more tests of pow.
34621         * math/auto-libm-test-out: Regenerated.
34622         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34623         (pow_tonearest_test_data): Remove.
34624         (pow_test_tonearest): Likewise.
34625         (pow_towardzero_test_data): Likewise.
34626         (pow_test_towardzero): Likewise.
34627         (pow_downward_test_data): Likewise.
34628         (pow_test_downward): Likewise.
34629         (pow_upward_test_data): Likewise.
34630         (pow_test_upward): Likewise.
34631         (main): Don't call removed functions.
34632         * sysdeps/i386/fpu/libm-test-ulps: Update.
34633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34635 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34638         Moved ...
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34641         Moved ...
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34644         Moved ...
34645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34647         Moved ...
34648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34650         File removed.
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34652         File removed.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34654         File removed.
34655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34656         File removed.
34657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34658         File removed.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34660         File removed.
34661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34662         File removed.
34663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34664         File removed.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34666         File removed.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34668         File removed.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34670         File removed.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34672         File removed.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34674         Moved ...
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34677         Moved ...
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34679         ... here.
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34681         Moved ...
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34684         Moved ...
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34687         Moved ...
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34690         Moved ...
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34693         Moved ...
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34696         Moved ...
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34699         Moved ...
34700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34703         ... here.
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34705         Moved ...
34706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34708         Moved ...
34709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34710         ... here.
34711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34712         Moved ...
34713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34714         ... here.
34715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34716         Moved ...
34717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34718         ... here.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34720         Moved ...
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34723         Moved ...
34724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34728         Moved ...
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34730         ... here.
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34732         Moved ...
34733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34734         ... here.
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34736         Moved ...
34737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34739         Moved ...
34740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34742         Moved ...
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34745         Moved ...
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34748         Moved ...
34749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34750         ... here.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34752         Moved ...
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34755         Moved ...
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34758         Moved ...
34759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34761         Moved ...
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34766         Moved ...
34767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34769         Moved ...
34770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34772         Moved ...
34773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34774         ... here.
34775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34776         Moved ...
34777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34778         ... here.
34779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34780         Moved ...
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34782         ... here.
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34784         Moved ...
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34787         Moved ...
34788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34790         Moved ...
34791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34793         Moved ...
34794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34795         ... here.
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34797         Moved ...
34798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34799         ... here.
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34801         Moved ...
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34803         ... here.
34804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34805         Moved ...
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34808         Moved ...
34809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34811 2014-06-23  Will Newton  <will.newton@linaro.org>
34812             Wilco  <wdijkstr@arm.com>
34814         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34815         implementation.  Include get-rounding-mode.h.
34816         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34817         [!libc_feholdsetround_noex_ctx]: Define
34818         libc_feholdsetround_noex_ctx.
34819         [!libc_feholdsetround_noexf_ctx]: Define
34820         libc_feholdsetround_noexf_ctx.
34821         [!libc_feholdsetround_noexl_ctx]: Define
34822         libc_feholdsetround_noexl_ctx.
34823         (libc_feholdsetround_ctx): New function.
34824         (libc_feresetround_ctx): New function.
34825         (libc_feholdsetround_noex_ctx): New function.
34826         (libc_feresetround_noex_ctx): New function.
34828 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34830         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34831         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34832         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34833         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34834         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34835         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34837         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34838         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34839         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34840         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34841         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34842         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34844         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34846         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34848         Moved ...
34849         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34850         ... here.
34851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34852         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34854         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34856         Moved ...
34857         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34859         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34861         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34865         Moved ...
34866         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34868         Moved ...
34869         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34870         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34871         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34872         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34873         Moved ...
34874         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34876         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34878         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34879         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34880         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34881         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34882         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34884         Moved ...
34885         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34886         ... here.
34887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34888         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34890         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34900         Moved ...
34901         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34903         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34905         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34907         Moved ...
34908         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34909         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34910         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34911         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34912         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34914         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34915         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34916         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34927         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34928         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34929         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34930         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34937         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34938         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34939         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34940         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34941         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34943 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34946         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34947         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34948         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34949         (IPV6_PMTUDISC_INTERFACE): Likewise.
34950         (IPV6_PMTUDISC_OMIT): Likewise.
34952 2014-06-23  Andreas Schwab  <schwab@suse.de>
34954         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34955         Remove unused errout label.
34957 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34959         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34960         macro: hardware supports Vector Crypto instructions.
34962 2014-06-23  Will Newton  <will.newton@linaro.org>
34964         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34965         rather than __builtin_expect.
34967         * elf/dl-lookup.c (undefined_msg): Remove variable.
34968         (_dl_lookup_symbol_x): Replace undefined_msg with string
34969         literal.
34971         * elf/dl-lookup.c (do_lookup_unique): New function.
34972         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34973         to a separate function.
34975 2014-06-23  Andreas Schwab  <schwab@suse.de>
34977         [BZ #17079]
34978         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34979         before reading the next line.
34981 2014-06-23  Will Newton  <will.newton@linaro.org>
34983         * test-skeleton.c (signal_handler): Use printf and %m
34984         rather than perror.  Use printf rather than fprintf to
34985         stderr.  Use puts rather than fputs to stderr.
34986         (main): Likewise.
34988 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34990         * nscd/nscd.c (thread_info_t): Remove typedef.
34991         (thread_info): Remove variable.
34993 2014-06-21  Allan McRae  <allan@archlinux.org>
34995         * NEWS: Mention CVE-2014-4043.
34997 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34999         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35000         * nptl/smp.h: ... here.
35002         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35004         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35005         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35006         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35007         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35009         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35010         * nptl/stack-aliasing.h: New file.
35011         * sysdeps/i386/i686/stack-aliasing.h: New file.
35012         * sysdeps/i386/i686/nptl/Makefile: File removed.
35013         * sysdeps/x86_64/stack-aliasing.h: New file.
35014         * sysdeps/x86_64/nptl/Makefile
35015         (CFLAGS-pthread_create.c): Variable removed.
35017         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35018         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35019         old file.
35020         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35021         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35022         old file.
35024 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35027         (__ASSUME_SIGFRAME_V2): Remove macro.
35028         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35029         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35030         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35031         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35032         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35033         Declare as function.  Remove conditional macro definitions.
35034         (__default_rt_sa_restorer): Likewise.
35035         (__default_sa_restorer_v1): Remove declaration.
35036         (__default_sa_restorer_v2): Likewise.
35037         (__default_rt_sa_restorer_v1): Likewise.
35038         (__default_rt_sa_restorer_v2): Likewise.
35039         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35040         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35041         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35043 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35045         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35046         (libpthread-routines): Add sysdep.
35047         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35048         * sysdeps/unix/sysv/linux/sparc/Versions
35049         (libpthread: GLIBC_2.3.3): New version set.
35050         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35051         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35052         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35053         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35054         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35055         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35056         Moved ...
35057         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35058         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35059         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35060         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35061         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35063         * sysdeps/sparc/nptl/sem_init.c: ... here.
35064         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35065         * sysdeps/sparc/nptl/sem_post.c: ... here.
35066         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35067         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35069         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35070         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35071         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35072         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35073         (libpthread-routines): Add cpu_relax.
35074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35075         File removed.
35076         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35077         (librt: GLIBC_2.3.3): New version set.
35078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35079         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35080         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35081         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35084         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35086         Moved ...
35087         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35089         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35091         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35093         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35095         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35097         Moved ...
35098         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35099         Update #include.
35100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35101         Moved ...
35102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35103         Update #include.
35104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35105         Moved ...
35106         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35107         Update #include.
35108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35109         Moved ...
35110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35111         Update #include.
35112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35113         Moved ...
35114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35115         Update #include.
35116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35117         Moved ...
35118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35119         Update #include.
35120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35121         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35127         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35129         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35131         Moved ...
35132         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35134         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35136         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35138 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35140         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35141         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35142         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35143         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35144         * nscd/nscd.c: Likewise.
35145         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35146         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35147         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35148         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35150         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35151         <kernel-features.h>.
35152         (init_mq_netlink): Remove conditional have_sock_cloexec
35153         definitions.  Remove code conditional on have_sock_cloexec < 0.
35154         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35155         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35156         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35157         <kernel-features.h>.
35158         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35159         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35161 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35164         Add tests for memset_chk and memset.
35166         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35167         with AVX2_Usable.
35169 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35171         [BZ #16046]
35172         * elf/tst-dl-iter-static.c: New file.
35173         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35175         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35176         error.
35178 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35180         * sysdeps/unix/sysv/linux/kernel-features.h
35181         (__ASSUME_F_GETOWN_EX): Remove macro.
35182         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35183         <kernel-features.h>.
35184         (miss_F_GETOWN_EX): Remove variable or macro.
35185         (do_fcntl): Do not check miss_F_GETOWN_EX.
35186         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35188         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35189         Remove macro.
35190         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35191         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35192         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35194         * sysdeps/unix/sysv/linux/kernel-features.h
35195         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35196         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35197         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35198         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35200 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35202         [BZ #17075]
35203         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35204         Fix calculation of the symbol's value.
35205         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35206         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35207         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35208         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35209         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35210         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35211         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35212         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35213         (modules-names): Add `tst-armtlsdescmod',
35214         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35215         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35216         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35217         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35218         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35219         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35220         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35221         ($(objpfx)tst-armtlsdescloc): New dependency.
35222         ($(objpfx)tst-armtlsdescextnow): Likewise.
35223         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35224         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35225         TLS scheme support.
35226         * sysdeps/arm/configure: Regenerate.
35228 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35230         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35231         (__atfct_seterrno_2): Likewise.
35232         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35233         <kernel-features.h>.
35234         (__ASSUME_ATFCTS): Do not undefine and redefine.
35235         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35236         (__have_atfcts): Remove conditional definition.
35237         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35238         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35239         unreachable if [__ASSUME_ATFCTS].
35240         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35241         not undefine and redefine.
35242         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35243         <kernel-features.h>.
35244         (faccessat) [__NR_faccessat]: Make code unconditional.
35245         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35246         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35247         <kernel-features.h>.
35248         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35249         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35250         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35251         <kernel-features.h>.
35252         (fchownat) [__NR_fchownat]: Make code unconditional.
35253         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35254         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35255         <kernel-features.h>.
35256         (futimesat) [__NR_futimesat]: Make code unconditional.
35257         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35258         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35259         <kernel-features.h>.
35260         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35261         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35262         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35263         <kernel-features.h>.
35264         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35265         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35266         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35267         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35268         <kernel-features.h>.
35269         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35270         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35271         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35272         <kernel-features.h>.
35273         (linkat) [__NR_linkat]: Make code unconditional.
35274         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35275         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35276         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35277         <kernel-features.h>.
35278         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35279         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35280         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35281         <kernel-features.h>.
35282         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35283         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35284         * sysdeps/unix/sysv/linux/openat.c: Do not include
35285         <kernel-features.h>.
35286         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35287         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35288         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35289         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35290         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35291         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35292         <kernel-features.h>.
35293         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35294         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35295         result of INLINE_SYSCALL directly, not via int variable.
35296         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35297         <kernel-features.h>.
35298         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35299         (renameat) [__NR_renameat]: Make code unconditional.
35300         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35301         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35302         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35303         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35304         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35305         (__ASSUME_ATFCTS): Do not undefine and redefine.
35306         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35307         <kernel-features.h>.
35308         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35309         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35310         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35311         <kernel-features.h>.
35312         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35313         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35314         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35315         (__ASSUME_ATFCTS): Do not undefine and redefine.
35316         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35317         <kernel-features.h>.
35318         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35319         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35320         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35321         <kernel-features.h>.
35322         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35323         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35325 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35327         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35329 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35331         [BZ #17069]
35332         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35333         constructed tree before returning error.
35334         * posix/bug-regexp36.c: Expand test case.
35336 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35338         [BZ #6803]
35339         * math/libm-test.inc (scalbln_test_date):
35340         Add errno expectations.
35341         * math/w_scalblnf.c: New File.
35342         Add wrapper which checks for setting errno to ERANGE.
35343         Add weak_alias for corresponding scalbln function.
35344         * math/w_scalbln.c: Likewise.
35345         * math/w_scalblnl.c: Likewise.
35346         * math/Makefile (libm-calls): Add w_scalbln.
35347         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35348         Remove weak_alias for corresponding scalbln function.
35349         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35350         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35351         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35352         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35353         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35354         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35355         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35356         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35357         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35358         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35359         Remove long_double_symbol for scalblnl function in libm, libc.
35360         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35361         Add wrapper which checks for setting errno to ERANGE.
35362         Add long_double_symbol for scalblnl function in libm, libc.
35363         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35364         Remove long_double_symbol for scalblnl in libm.
35365         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35366         Add wrapper which checks for setting errno to ERANGE.
35367         Add long_double_symbol for scalblnl function in libm.
35368         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35369         Do not use wrapper because of own implementation.
35371 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35373         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35374         3 bytes for __pad1 for x32.
35375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35377 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35378             H.J. Lu  <hongjiu.lu@intel.com>
35380         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35381         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35382         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35383         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35384         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35386 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35388         [BZ #17069]
35389         * posix/regcomp.c (parse_expression): Deallocate partially
35390         constructed tree before returning error.
35391         * posix/Makefile.c (tests): Add bug-regex36.
35392         (generated): Add bug-regex36.mtrace.
35393         (tests-special): Add $(objpfx)bug-regex36-mem.out
35394         (bug-regex36-ENV): New variable.
35395         ($(objpfx)bug-regex36-mem.out): New rule.
35396         * posix/bug-regex36.c: New file.
35398 2014-06-19  Will Newton  <will.newton@linaro.org>
35400         * malloc/malloc.c (systrim): If extra is zero then return
35401         early.
35403 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35405         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35407 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35409         * sysdeps/aarch64/strchr.S: New file.
35411 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35413         [BZ #17022]
35414         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35415         from arguments -2 or below.
35416         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35417         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35419 2014-06-18  Andreas Schwab  <schwab@suse.de>
35421         [BZ #17062]
35422         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35423         of a bracket expr not to run off the end of the string.
35424         * posix/Makefile (tests): Add tst-fnmatch3.
35425         * posix/tst-fnmatch3.c: New file.
35427 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35429         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35430         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35431         [$(cross-compiling) = no]: Likewise.
35432         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35433         [$(cross-compiling) = no]: Likewise.
35435 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35437         [BZ #17031]
35438         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35439         double, adjusted for any remainder from the high double.
35440         * math/libm-test.inc (nearbyint): Add tests.
35441         (rint): Likewise.
35443 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35445         * nptl/sysdeps/powerpc/Makefile: Moved ...
35446         * sysdeps/powerpc/nptl/Makefile: ... here.
35447         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35448         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35449         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35450         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35451         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35452         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35453         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35454         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35455         * nptl/sysdeps/powerpc/tls.h: Moved ...
35456         * sysdeps/powerpc/nptl/tls.h: ... here.
35458 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #16681]
35461         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35462         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35463         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35464         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35465         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35466         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35467         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35468         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35469         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35471 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35473         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35475 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35477         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35478         defined operator.
35480         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35481         $TIMEOUTFACTOR.
35483 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35485         [BZ #17058]
35486         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35487         non-executed part of the test.
35489 2014-06-16  Andreas Schwab  <schwab@suse.de>
35491         * string/bits/string2.h (strdup, strndup): Update feature guard.
35493 2014-06-14  David S. Miller  <davem@davemloft.net>
35495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35497 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35499         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35500         that was previously under [RESET_PID].
35501         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35503         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35504         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35505         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35506         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35507         (__libc_vfork): New strong alias.
35508         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35510 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35512         * sysdeps/generic/elide.h: New file.
35514 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35516         * Makefile (installed-headers): Adjust path of pthread.h header.
35518 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35520         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35521         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35522         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35523         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35525         * nptl/sysdeps/s390/Makefile: Moved ...
35526         * sysdeps/s390/nptl/Makefile: ... here.
35527         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35528         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35529         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35530         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35531         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35532         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35533         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35534         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35535         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35536         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35537         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35538         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35539         * nptl/sysdeps/s390/tls.h: Moved ...
35540         * sysdeps/s390/nptl/tls.h: ... here.
35542         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35543         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35545 2014-06-13  David S. Miller  <davem@davemloft.net>
35547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35550         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35554         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35555         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35556         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35557         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35558         Remove RESET_PID cpp guards.
35559         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35560         Remove RESET_PID cpp guards.
35561         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35563 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35565         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35566         __sp to uintptr_t.
35568 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35572         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35576         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35577         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35578         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35580         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35582         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35583         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35584         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35585         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35587         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35588         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35591         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35592         (pthread_rwlock_rdlock): Add elision.
35593         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35594         (pthread_rwlock_wrlock): Add elision.
35595         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35596         (pthread_rwlock_trywrlock): Add elision.
35597         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35598         (pthread_rwlock_tryrdlock): Add elision.
35599         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35600         (pthread_rwlock_tryrdlock): Add elision unlock.
35601         * nptl/sysdeps/pthread/pthread.h:
35602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35603         (PTHREAD_RWLOCK_INITIALIZER,
35604         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35605         Handle new elision field.
35606         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35607         * sysdeps/arm/nptl/bits/pthreadtypes.h
35608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35609         * sysdeps/sh/nptl/bits/pthreadtypes.h
35610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35611         * sysdeps/tile/nptl/bits/pthreadtypes.h
35612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35613         * sysdeps/a/nptl/bits/pthreadtypes.h
35614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35615         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35617         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35619         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35623         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35625         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35627         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35629         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35631         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35632         (elision_init): Set try_xbegin to zero when no RTM.
35633         * sysdeps/x86/nptl/bits/pthreadtypes.h
35634         (pthread_rwlock_t): Change __pad1 to __rwelision.
35635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35637 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35639         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35640         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35641         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35642         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35644 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35646         [BZ #16996]
35647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35648         that the cached result has been set before returning it.
35650 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35652         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35653         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35654         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35655         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35656         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35657         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35659         * nptl/sysdeps/sparc/Makefile: Moved ...
35660         * sysdeps/sparc/nptl/Makefile: ... here.
35661         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35662         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35663         * nptl/sysdeps/sparc/tls.h: Moved ...
35664         * sysdeps/sparc/nptl/tls.h: ... here.
35665         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35666         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35667         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35668         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35669         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35670         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35671         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35672         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35673         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35674         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35675         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35676         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35677         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35678         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35679         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35680         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35681         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35683         Update #include.
35684         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35686         Update #include.
35687         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35688         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35689         Update #include.
35690         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35692         Update #include.
35694         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35696         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35697         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35699         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35700         (struct list_links): Type removed.
35701         (struct thread_node, struct timer_node): Replace struct list_links
35702         with struct list_head.
35703         (list_unlink_ip): Likewise.
35704         * sysdeps/pthread/timer_routines.c
35705         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35706         (list_append, list_insbefore): Likewise.
35707         (list_init): Function removed.
35708         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35709         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35710         * sysdeps/pthread/Makefile: ... here, new file.
35712         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35713         * sysdeps/nptl/Implies: ... here.
35714         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35715         * nptl/sysdeps/pthread/list.h: Moved ...
35716         * include/list.h: ... here.
35717         * nptl/sysdeps/pthread/createthread.c: Moved ...
35718         * nptl/createthread.c: ... here.
35719         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35720         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35721         * nptl/pt-longjmp.c: ... here.
35722         * nptl/sysdeps/pthread/Makefile: Moved ...
35723         * sysdeps/nptl/Makefile: ... here.
35724         * nptl/sysdeps/pthread/Subdirs: Moved ...
35725         * sysdeps/nptl/Subdirs: ... here.
35726         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35727         * sysdeps/nptl/aio_misc.h: ... here.
35728         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35729         * sysdeps/nptl/bits/libc-lock.h: ... here.
35730         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35731         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35732         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35733         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35734         * nptl/sysdeps/pthread/configure: Moved ...
35735         * sysdeps/nptl/configure: ... here.
35736         * nptl/sysdeps/pthread/configure.ac: Moved ...
35737         * sysdeps/nptl/configure.ac: ... here.
35738         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35739         * sysdeps/nptl/gai_misc.h: ... here.
35740         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35741         * sysdeps/nptl/librt-cancellation.c: ... here.
35742         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35743         * sysdeps/nptl/malloc-machine.h: ... here.
35744         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35745         * sysdeps/nptl/pthread-functions.h: ... here.
35746         * nptl/sysdeps/pthread/pthread.h: Moved ...
35747         * sysdeps/nptl/pthread.h: ... here.
35748         * nptl/sysdeps/pthread/setxid.h: Moved ...
35749         * sysdeps/nptl/setxid.h: ... here.
35750         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35751         * sysdeps/nptl/sigfillset.c: ... here.
35752         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35753         * sysdeps/nptl/tcb-offsets.h: ... here.
35754         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35755         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35756         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35757         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35758         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35759         * sysdeps/pthread/allocalim.h: ... here.
35760         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35761         * sysdeps/pthread/bits/sigthread.h: ... here.
35762         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35763         * sysdeps/pthread/flockfile.c: ... here.
35764         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35765         * sysdeps/pthread/ftrylockfile.c: ... here.
35766         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35767         * sysdeps/pthread/funlockfile.c: ... here.
35768         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35769         * sysdeps/pthread/posix-timer.h: ... here.
35770         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35771         * sysdeps/pthread/timer_create.c: ... here.
35772         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35773         * sysdeps/pthread/timer_delete.c: ... here.
35774         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35775         * sysdeps/pthread/timer_getoverr.c: ... here.
35776         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35777         * sysdeps/pthread/timer_gettime.c: ... here.
35778         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35779         * sysdeps/pthread/timer_routines.c: ... here.
35780         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35781         * sysdeps/pthread/timer_settime.c: ... here.
35782         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35783         * sysdeps/pthread/tst-timer.c: ... here.
35784         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35785         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35787         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35788         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35790         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35791         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35792         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35793         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35794         Update #include target.
35795         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35796         * sysdeps/i386/i686/nptl/Makefile: ... here.
35797         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35798         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35799         Update #include target.
35800         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35801         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35802         * nptl/sysdeps/i386/Makefile: Moved ...
35803         * sysdeps/i386/nptl/Makefile: ... here.
35804         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35805         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35806         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35807         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35808         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35809         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35810         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35811         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35812         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35813         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35814         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35815         * nptl/sysdeps/i386/tls.h: Moved ...
35816         * sysdeps/i386/nptl/tls.h: ... here.
35818         * sysdeps/sh/Makefile [$(subdir) = csu]
35819         (gen-as-const-headers): Add tcb-offsets.sym.
35820         * nptl/sysdeps/sh/Makefile: File removed.
35821         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35822         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35823         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35824         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35825         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35826         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35827         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35828         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35829         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35830         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35831         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35832         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35833         * nptl/sysdeps/sh/tls.h: Moved ...
35834         * sysdeps/sh/nptl/tls.h: ... here.
35835         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35836         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35837         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35838         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35839         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35840         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35841         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35842         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35843         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35844         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35846         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35848         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35850         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35852         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35854         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35856         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35860         Moved ...
35861         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35862         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35863         Moved ...
35864         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35865         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35866         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35867         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35870         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35871         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35872         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35873         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35874         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35876         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35878         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35880         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35882         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35884 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35886         * posix/spawn_faction_addopen.c: Include string.h.
35888 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35890         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35891         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35892         * nptl/sysdeps/x86_64/Makefile: Moved ...
35893         * sysdeps/x86_64/nptl/Makefile: ... here.
35894         * nptl/sysdeps/x86_64/configure: Moved ...
35895         * sysdeps/x86_64/nptl/configure: ... here.
35896         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35897         * sysdeps/x86_64/nptl/configure.ac: ... here.
35898         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35899         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35900         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35901         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35902         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35903         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35904         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35905         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35906         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35907         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35908         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35909         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35910         * nptl/sysdeps/x86_64/tls.h: Moved ...
35911         * sysdeps/x86_64/nptl/tls.h: ... here.
35912         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35913         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35914         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35915         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35917         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35919 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35923 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35925         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35926         type.
35927         [POSIX] (off_t): Likewise.
35928         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35929         [POSIX] (S_ISBLK): Require macro.
35930         [POSIX] (S_ISCHR): Likewise.
35931         [POSIX] (S_ISDIR): Likewise.
35932         [POSIX] (S_ISFIFO): Likewise.
35933         [POSIX] (S_ISREG): Likewise.
35934         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35935         optional-macro.
35936         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35937         type.
35938         [POSIX] (time_t): Likewise.
35939         [POSIX] (timer_t): Likewise.
35941 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35943         [BZ #17048]
35944         * posix/spawn_int.h (struct __spawn_action): Make the path string
35945         non-const to support deallocation.
35946         * posix/spawn_faction_addopen.c
35947         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35948         * posix/spawn_faction_destroy.c
35949         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35950         path in all spawn_do_open actions.
35951         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35952         posix_spawn_file_actions_addopen.
35954 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35956         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35957         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35958         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35959         conditional code always true.
35960         (__libc_vfork): New alias.
35962 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35964         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35965         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35967         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35969         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35970         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35972         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35973         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35975         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35976         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35978 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35980         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35981         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35982         multiarch strcmp for PPC64.
35983         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35984         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35986         multiarch optimizations.
35987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35988         (__libc_ifunc_impl_list): Likewise.
35990 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * benchtests/scripts/validate_benchout.py: New script.
35993         * benchtests/Makefile (bench-func): Call it.
35994         * benchtests/scripts/benchout.schema.json: New file.
35996 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35998         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35999         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36000         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36001         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36002         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36003         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36004         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36005         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36006         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36007         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36008         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36010         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36011         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36012         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36013         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36015         Moved ...
36016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36017         ... here.
36018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36019         Moved ...
36020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36022         Moved ...
36023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36024         ... here.
36025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36026         Moved ...
36027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36028         ... here.
36029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36030         Moved ...
36031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36033         Moved ...
36034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36035         ... here.
36036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36037         Moved ...
36038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36039         ... here.
36040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36041         Moved ...
36042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36046         ... here.
36047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36048         Moved ...
36049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36050         ... here.
36051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36054         ... here.
36055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36056         Moved ...
36057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36059         Moved ...
36060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36061         ... here.
36062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36063         Moved ...
36064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36065         ... here.
36066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36067         Moved ...
36068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36069         ... here.
36070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36071         Moved ...
36072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36074         Moved ...
36075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36076         ... here.
36077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36078         Moved ...
36079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36080         ... here.
36081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36082         Moved ...
36083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36085         Moved ...
36086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36087         ... here.
36088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36089         Moved ...
36090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36092         Moved ...
36093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36095         Moved ...
36096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36097         ... here.
36098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36101         ... here.
36102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36103         Moved ...
36104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36105         ... here.
36106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36107         Moved ...
36108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36110         Moved ...
36111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36112         ... here.
36113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36114         Moved ...
36115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36116         ... here.
36117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36118         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36120         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36122         Moved ...
36123         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36124         ... here.
36125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36126         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36128         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36130         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36132         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36134         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36136         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36138         Moved ...
36139         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36141         Moved ...
36142         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36143         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36144         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36145         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36146         Moved ...
36147         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36149         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36150         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36151         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36152         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36153         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36155 2014-06-10  Wilco  <wdijkstr@arm.com>
36157         * math/test-fenv-return.c: New file.
36158         * math/Makefile: Add new test test-fenv-return.
36160 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36162         [BZ #17042]
36163         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36164         when x - 1 is zero.
36165         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36166         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36167         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36168         0.0L for an argument of 1.0L.
36169         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36170         Likewise.
36171         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36172         value when x - 1 is zero.
36173         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36174         * sysdeps/i386/fpu/libm-test-ulps: Update.
36175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36177 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36179         [BZ #15119]
36180         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36182 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36184         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36185         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36187 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36189         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36190         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36192         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36193         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36195         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36196         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36198         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36199         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36201         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36202         if not already defined.
36203         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36204         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36205         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36206         (TLS_INIT_TP): Use it.
36207         (TLS_DEFINE_INIT_TP): New macro.
36208         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36210 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36212         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36213         constant.
36214         [POSIX] (IXANY): Likewise.
36215         [POSIX] (OLCUC): Likewise.
36216         [POSIX || POSIX2008] (CBAUD): Do not allow.
36217         [POSIX || POSIX2008] (DEFECHO): Likewise.
36218         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36219         [POSIX || POSIX2008] (ECHOKE): Likewise.
36220         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36221         [POSIX || POSIX2008] (EXTA): Likewise.
36222         [POSIX || POSIX2008] (EXTB): Likewise.
36223         [POSIX || POSIX2008] (FLUSHO): Likewise.
36224         [POSIX || POSIX2008] (LOBLK): Likewise.
36225         [POSIX || POSIX2008] (PENDIN): Likewise.
36226         [POSIX || POSIX2008] (SWTCH): Likewise.
36227         [POSIX || POSIX2008] (VDISCARD): Likewise.
36228         [POSIX || POSIX2008] (VDSUSP): Likewise.
36229         [POSIX || POSIX2008] (VLNEXT): Likewise.
36230         [POSIX || POSIX2008] (VREPRINT): Likewise.
36231         [POSIX || POSIX2008] (VSTATUS): Likewise.
36232         [POSIX || POSIX2008] (VWERASE): Likewise.
36233         (B*): Change to B[0123456789]*.
36234         * conform/data/time.h-data [POSIX || UNIX98]
36235         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36236         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36237         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36238         [POSIX] (tm_*): Do not allow.
36240 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36242         * Makefile (install): Don't set LANGUAGE.
36243         * Makefile.in (install): Likewise.
36244         * assert/Makefile (test-assert-ENV): Remove variable.
36245         (test-assert-perr-ENV): Likewise.
36246         * elf/Makefile (neededtest4-ENV): Likewise.
36247         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36248         [$(cross-compiling) = no]: Don't set LANGUAGE.
36249         * io/ftwtest-sh (LANG): Remove variable.
36250         * libio/Makefile (tst-widetext-ENV): Likewise.
36251         * manual/install.texi (Running make install): Don't refer to
36252         environment settings for make install.
36253         * INSTALL: Regenerated.
36254         * nptl/tst-tls6.sh: Don't set LANG.
36255         * posix/globtest.sh (LANG): Remove variable.
36256         * string/Makefile (tester-ENV): Likewise.
36257         (inl-tester-ENV): Likewise.
36258         (noinl-tester-ENV): Likewise.
36259         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36260         [$(cross-compiling) = no]: Don't set LANGUAGE.
36261         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36262         without explicit environment settings.
36264 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36266         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36267         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36268         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36269         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36271 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36273         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36274         other files in the crypt directory.
36275         * crypt/crypt.c: Remove duplicate includes.
36276         * crypt/crypt-entry.c: Likewise.
36277         * crypt/crypt_util.c: Likewise.
36279 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36281         * Makeconfig (run-program-env): New variable.
36282         (run-program-prefix-before-env): Likewise.
36283         (run-program-prefix-after-env): Likewise.
36284         (run-program-prefix): Define in terms of new variables.
36285         (built-program-cmd-before-env): New variable.
36286         (built-program-cmd-after-env): Likewise.
36287         (built-program-cmd): Define in terms of new variables.
36288         (test-program-prefix-before-env): New variable.
36289         (test-program-prefix-after-env): Likewise.
36290         (test-program-prefix): Define in terms of new variables.
36291         (test-program-cmd-before-env): New variable.
36292         (test-program-cmd-after-env): Likewise.
36293         (test-program-cmd): Define in terms of new variables.
36294         * Rules (make-test-out): Use $(run-program-env).
36295         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36296         (help): Do not mention environment variables.  Mention
36297         --timeoutfactor option.
36298         (timeoutfactor): New variable.
36299         (blacklist_exports): Remove function.
36300         (exports): Remove variable.
36301         (command): Do not include ${exports}.
36302         * manual/install.texi (Configuring and compiling): Do not mention
36303         test wrappers preserving environment variables.  Mention that last
36304         assignment to a variable must take precedence.
36305         * INSTALL: Regenerated.
36306         * benchtests/Makefile (run-bench): Use $(run-program-env).
36307         * catgets/Makefile ($(objpfx)test1.cat): Use
36308         $(built-program-cmd-before-env), $(run-program-env) and
36309         $(built-program-cmd-after-env).
36310         ($(objpfx)test2.cat): Do not specify environment variables
36311         explicitly.
36312         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36313         $(run-program-env) and $(built-program-cmd-after-env).
36314         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36315         $(run-program-env) and $(test-program-cmd-after-env).
36316         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36317         explicitly.
36318         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36319         run_program_env and test_program_cmd_after_env arguments.
36320         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36321         * elf/tst-pathopt.sh: Use run_program_env argument.
36322         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36323         $(test-wrapper-env) and $(run-program-env).
36324         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36325         run_program_env arguments.
36326         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36327         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36328         $(test-program-prefix-before-env), $(run-program-env) and
36329         $(test-program-prefix-after-env).
36330         ($(objpfx)tst-gettext2.out): Likewise.
36331         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36332         run_program_env and test_program_prefix_after_env arguments.
36333         * intl/tst-gettext2.sh: Likewise.
36334         * intl/tst-gettext4.sh: Do not set environment variables
36335         explicitly.
36336         * intl/tst-gettext6.sh: Likewise.
36337         * intl/tst-translit.sh: Likewise.
36338         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36339         $(test-program-prefix-before-env), $(run-program-env) and
36340         $(test-program-prefix-after-env).
36341         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36342         run_program_env and test_program_prefix_after_env arguments.
36343         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36344         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36345         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36346         explicitly with each use of ${test_wrapper_env}.
36347         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36348         $(test-program-prefix-before-env), $(run-program-env) and
36349         $(test-program-prefix-after-env).
36350         * posix/tst-getconf.sh: Do not set environment variables
36351         explicitly.
36352         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36353         run_program_env and test_program_prefix_after_env arguments.
36354         * stdio-common/tst-printf.sh: Do not set environment variables
36355         explicitly.
36356         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36357         $(test-program-prefix-before-env), $(run-program-env) and
36358         $(test-program-prefix-after-env).
36359         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36360         run_program_env and test_program_prefix_after_env arguments.
36361         Split $test calls into $test_pre and $test.
36362         * timezone/Makefile (build-testdata): Use
36363         $(built-program-cmd-before-env), $(run-program-env) and
36364         $(built-program-cmd-after-env).
36366 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36368         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36369         strlen for non SHARED builds.
36371 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36373         * nptl/allocatestack.c (check_list): Inlined function...
36374         (__reclaim_stacks): ... here.
36376 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36378         [BZ #15698]
36379         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36380         memory overrun.
36382 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36384         * Rules (make-test-out): Include
36385         LOCPATH=$(common-objpfx)localedata in default environment.
36386         * debug/Makefile (tst-chk1-ENV): Remove variable.
36387         (tst-chk2-ENV): Likewise.
36388         (tst-chk3-ENV): Likewise.
36389         (tst-chk4-ENV): Likewise.
36390         (tst-chk5-ENV): Likewise.
36391         (tst-chk6-ENV): Likewise.
36392         (tst-lfschk1-ENV): Likewise.
36393         (tst-lfschk2-ENV): Likewise.
36394         (tst-lfschk3-ENV): Likewise.
36395         (tst-lfschk4-ENV): Likewise.
36396         (tst-lfschk5-ENV): Likewise.
36397         (tst-lfschk6-ENV): Likewise.
36398         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36399         (tst-iconv7-ENV): Likewise.
36400         * intl/Makefile (LOCPATH-ENV): Likewise.
36401         (tst-codeset-ENV): Likewise.
36402         (tst-gettext3-ENV): Likewise.
36403         (tst-gettext5-ENV): Likewise.
36404         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36405         (tst-fopenloc-ENV): Likewise.
36406         (tst-fgetws-ENV): Remove variable.
36407         (tst-ungetwc1-ENV): Likewise.
36408         (tst-ungetwc2-ENV): Likewise.
36409         (bug-ungetwc2-ENV): Likewise.
36410         (tst-swscanf-ENV): Likewise.
36411         (bug-ftell-ENV): Likewise.
36412         (tst-fgetwc-ENV): Likewise.
36413         (tst-fseek-ENV): Likewise.
36414         (tst-ftell-partial-wide-ENV): Likewise.
36415         (tst-ftell-active-handler-ENV): Likewise.
36416         (tst-ftell-append-ENV): Likewise.
36417         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36418         (tst-regexloc-ENV): Likewise.
36419         (bug-regex1-ENV): Likewise.
36420         (tst-regex-ENV): Likewise.
36421         (tst-regex2-ENV): Likewise.
36422         (bug-regex5-ENV): Likewise.
36423         (bug-regex6-ENV): Likewise.
36424         (bug-regex17-ENV): Likewise.
36425         (bug-regex18-ENV): Likewise.
36426         (bug-regex19-ENV): Likewise.
36427         (bug-regex20-ENV): Likewise.
36428         (bug-regex22-ENV): Likewise.
36429         (bug-regex23-ENV): Likewise.
36430         (bug-regex25-ENV): Likewise.
36431         (bug-regex26-ENV): Likewise.
36432         (bug-regex30-ENV): Likewise.
36433         (bug-regex32-ENV): Likewise.
36434         (bug-regex33-ENV): Likewise.
36435         (bug-regex34-ENV): Likewise.
36436         (bug-regex35-ENV): Likewise.
36437         (tst-rxspencer-ENV): Likewise.
36438         (tst-rxspencer-no-utf8-ENV): Likewise.
36439         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36440         (tst-sscanf-ENV): Likewise.
36441         (tst-swprintf-ENV): Likewise.
36442         (tst-swscanf-ENV): Likewise.
36443         (test-vfprintf-ENV): Likewise.
36444         (scanf13-ENV): Likewise.
36445         (bug14-ENV): Likewise.
36446         (tst-grouping-ENV): Likewise.
36447         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36448         (tst-strtod3-ENV): Likewise.
36449         (tst-strtod4-ENV): Likewise.
36450         (tst-strtod5-ENV): Likewise.
36451         (testmb2-ENV): Likewise./
36452         * string/Makefile (tst-strxfrm-ENV): Likewise.
36453         (tst-strxfrm2-ENV): Likewise.
36454         (bug-strcoll1-ENV): Likewise.
36455         (test-strcasecmp-ENV): Likewise.
36456         (test-strncasecmp-ENV): Likewise.
36457         * time/Makefile (tst-strptime-ENV): Likewise.
36458         (tst-ftime_l-ENV): Likewise.
36459         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36460         (tst-mbrtowc-ENV): Likewise.
36461         (tst-wcrtomb-ENV): Likewise.
36462         (tst-mbrtowc2-ENV): Likewise.
36463         (tst-c16c32-1-ENV): Likewise.
36464         (tst-mbsnrtowcs-ENV): Likewise.
36466 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36468         * manual/resource.texi (How to get information about the memory
36469         subsystem?): Fix typo.
36470         Reported by Peon de la Parra Ivan <peon@keba.com>
36472 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36474         [BZ #16882]
36475         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36476         (pthread_spin_lock): Branch out of spin loop to proper location.
36477         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36478         (pthread_spin_lock): Likewise.
36480         * nptl/tst-spin4.c: New test.
36481         * nptl/Makefile (tests): Add tst-spin4.
36483 2014-06-03  Andreas Schwab  <schwab@suse.de>
36485         [BZ #15946]
36486         * resolv/res_send.c (send_dg): Reload file descriptor after
36487         calling reopen.
36489 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36491         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36493 2014-06-03  Richard Henderson  <rth@redhat.com>
36495         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36496         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36497         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36498         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36499         in the SAVE_PID block.
36500         (__libc_vfork): New alias.
36501         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36503         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36504         child in registers, not on the stack.  Remove RESET_PID conditionals.
36505         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36507 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36509         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36511 2014-06-03  Wilco  <wdijkstr@arm.com>
36513         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36514         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36515         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36516         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36517         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36518         Likewise.
36520 2014-06-03  Wilco  <wdijkstr@arm.com>
36522         * sysdeps/aarch64/fpu/math_private.h
36523         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36524         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36525         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36526         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36527         Fix declarations.
36529 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36531         * crypt/crypt-private.h: Include ufc-crypt.h.
36532         (__b64_from_24bit): Declare extern.
36533         * crypt/crypt_util.c(__b64_from_24bit): New function.
36534         (b64t): New static const variable.
36535         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36536         (b64t): Remove variable.
36537         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36538         * crypt/sha256-crypt.c: Include crypt-private.h.
36539         (b64t): Remove variable.
36540         (__sha256_crypt_r): Remove b64_from_24bit and replace
36541         with __b64_from_24bit.
36542         * crypt/sha512-crypt.c: Likewise.
36544 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36546         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36547         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36548         Label the code __libc_vfork rather than __vfork.
36549         [!NOT_IN_libc] (vfork): Define as weak alias.
36550         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36551         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36552         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36554 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36556         * malloc/malloc.c (malloc_info): Fix format specifier for
36557         n_mmaps.
36559 2014-06-02  Wilco  <wdijkstr@arm.com>
36561         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36562         FPCR write.
36564 2014-06-02  Wilco  <wdijkstr@arm.com>
36566         [BZ #17009]
36567         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36568         Rewrite to reduce FPCR/FPSR accesses.
36570 2014-06-01  David S. Miller  <davem@davemloft.net>
36572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36574 2014-05-31  David S. Miller  <davem@davemloft.net>
36576         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36577         to occur in round to nearest mode when |x| >= 2.0
36579 2014-05-30  Richard Henderson  <rth@twiddle.net>
36581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36582         (PSEUDO_RET_NOERRNO): Remove.
36583         (ret): Don't redefine.
36584         (ret_NOERRNO): Define in terms of ret.
36585         (ret_ERRVAL): Likewise.
36587         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36588         use of PSEUDO_RET; perform the error check directly.
36590 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36592         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36593         with __int128_t.
36595 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36597         * malloc/malloc (malloc_info): Fix formatting.
36599 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36600             Roland McGrath  <roland@hack.frob.com>
36602         * malloc/malloc (malloc_info): Also print mmapped statistics.
36604 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36606         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36607         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36609 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36611         * malloc/malloc.c (malloc_info): Inline mi_arena.
36613 2014-05-29  Richard Henderson  <rth@twiddle.net>
36615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36616         Remove comma before expanding ASM_ARGS_##nr.
36617         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36618         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36619         of ASM_ARGS_##nr.
36620         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36621         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36622         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36623         (ASM_ARGS_1): Add leading comma.
36625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36626         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36627         to __errno_location.
36628         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36629         Remove the expected plt for __errno_location.
36631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36632         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36633         call to __read_tp.
36635         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36636         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36637         it and break it down.
36638         (DOCARGS_0, DOCARGS_1): Do nothing.
36639         (DOCARGS_2): Update to store into the new stack frame.
36640         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36641         (UNDOCARGS_1): Update to restore from the new stack frame.
36642         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36643         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36645         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36646         (SINGLE_THREAD_P): New parameter for result regno.
36647         (PSEUDO): Update to match; use cbz instead of beq.
36649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36650         Use ENTRY to define the _nocancel entry point.  Share the syscall
36651         and syscall error check paths with the cancel path.
36652         (PSEUDO_END): New.
36654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36655         whitespace; tabs before and after asm mnemonics.
36657 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36659         [BZ #15132]
36660         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36661         Call fstat64 or stat64 internally, depending on arguments passed.
36662         Replace stat buffer argument with file descriptor argument.
36663         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36664         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36665         Pass fd to __internal_statvfs instead of calling fstat64.
36666         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36667         Pass fd to __internal_statvfs64 instead of calling fstat64.
36668         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36669         Pass -1 to __internal_statvfs instead of calling stat64.
36670         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36671         Pass -1 to __internal_statvfs64 instead of calling stat64.
36673 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36675         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36676         that was previously under [RESET_PID].
36677         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36679         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36680         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36682 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36684         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36686         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36687         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36689 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36691         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36693 2014-05-27  Andreas Schwab  <schwab@suse.de>
36695         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36696         TLS_INIT_TP macro.
36697         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36698         * elf/rtld.c (init_tls, dl_main): Likewise.
36699         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36700         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36701         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36702         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36703         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36704         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36705         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36706         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36707         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36708         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36709         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36710         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36711         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36712         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36713         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36714         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36715         * sysdeps/generic/tls.h: Update description.
36717 2014-05-27  Will Newton  <will.newton@linaro.org>
36719         [BZ #16990]
36720         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36721         and restore r2 rather than just restoring.
36723 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36725         [BZ #16724]
36726         * libio/tst-ftell-append.c: New test case.
36727         * libio/Makefile (tests): Add test case.
36728         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36729         append mode.
36730         * libio/wfileops.c (do_ftell_wide): Likewise.
36732 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36736         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36737         ...
36738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36740         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36741         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36742         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36743         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36744         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36745         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36747         Moved ...
36748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36750         Moved ...
36751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36752         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36753         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36754         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36755         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36756         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36757         ...
36758         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36759         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36760         Moved ...
36761         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36762         here.
36763         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36764         ...
36765         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36766         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36767         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36769         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36770         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36771         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36772         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36775         merge into ...
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36778         ...
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36781         ...
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36784         Moved ...
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36786         here.
36787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36788         Moved ...
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36791         Moved ...
36792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36795         conditional [RESET_PID].
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36798         removed.
36799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36800         removed.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36803         <tcb-offsets.h>.
36804         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36805         (__libc_vfork): New strong alias.
36806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36807         removed.
36808         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36809         Removed.
36811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36812         <tcb-offsets.h>.
36813         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36814         (__libc_vfork): New strong alias.
36815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36816         removed.
36817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36818         removed.
36820 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36822         * malloc/malloc.c (mi_arena): New function.
36823         (malloc_info): Remove nested function mi_arena. Call non-nosted
36824         function mi_arena.
36826 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36828         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36829         by insrwi.
36830         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36831         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36832         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36833         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36834         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36835         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36836         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36838 2014-05-26  Andreas Schwab  <schwab@suse.de>
36840         [BZ #16984]
36841         * locale/programs/repertoire.c (repertoire_read): Add slash
36842         between I18NPATH element and file name.
36843         * locale/programs/locfile.c (locfile_read): Likewise.
36845 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36847         * nptl/pthread_mutexattr_settype.c
36848         (__pthread_mutexattr_settype):
36849         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36851 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36853         * nptl/tst-mutex5 (do_test):
36854         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36856 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36858         * benchtests/README: Document 'init' directive.
36859         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36860         BENCH_INIT.
36861         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36862         (parse_file): Recognize 'init' directive.
36864 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36866         [BZ #16796]
36867         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36868         alignment of struct pthread.
36870 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36872         [BZ #16878]
36873         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36874         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36875         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36876         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36878 2014-05-25  Richard Henderson  <rth@twiddle.net>
36880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36881         (SINGLE_THREAD_P_PIC): Remove.
36882         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36883         (SINGLE_THREAD_P_PIC): Remove.
36885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36886         branch to syscall error ...
36887         (PSEUDO): ... here.
36888         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36889         from __local_syscall_error to .Lsyscall_error.
36890         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36891         (SYSCALL_ERROR): Update label name.
36893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36894         Do not use DOARGS/UNDOARGS.
36895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36896         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36897         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36898         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36899         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36902         block comment.
36904         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36905         define if !NOT_IN_libc.
36906         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36907         define with non-default symbol versions.
36909 2014-05-23  Richard Henderson  <rth@twiddle.net>
36911         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36912         (vfork, __vfork): Define via compat_symbol.
36914         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36915         [!HAVE_IFUNC] (vfork_compat): Remove.
36916         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36918 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36920         [BZ #16978]
36921         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36922         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36923         variable.
36925 2014-05-23  Richard Henderson  <rth@twiddle.net>
36927         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36928         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36929         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36930         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36932         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36933         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36934         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36935         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36936         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36937         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36938         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36939         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36940         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36941         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36942         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36943         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36944         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36945         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36946         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36947         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36948         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36949         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36950         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36951         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36952         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36953         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36954         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36955         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36956         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36957         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36958         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36959         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36961         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36962         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36963         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36964         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36965         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36966         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36967         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36968         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36969         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36970         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36971         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36972         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36973         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36974         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36975         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36976         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36977         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36978         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36979         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36980         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36981         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36983         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36985         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36987         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36989         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36990         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36991         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36992         before exiting on error.
36993         (__libc_vfork): New strong alias.
36994         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36995         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36997         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36998         that was previously under [RESET_PID].
36999         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37001         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37003 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37005         [BZ #16977]
37006         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37007         value when x - 1 is zero.
37008         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37009         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37010         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37011         0.0L for an argument of 1.0L.
37012         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37013         Likewise.
37014         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37015         value when x - 1 is zero.
37016         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37017         * sysdeps/i386/fpu/libm-test-ulps: Update.
37018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37020 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37022         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37023         alphasort and versionsort.
37025 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37027         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37028         macro.
37029         [copysignf]: Likewise.
37031 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37033         * crypt/md5-crypt.c: Fix formatting.
37035 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37037         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37038         (b64_from_24bit): New function.
37040 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37042         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37043         libc_hidden_builtin_def to ifunc.
37044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37045         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37047 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37049         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37050         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37052 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37054         * nscd/Depend (linuxthreads): Remove.
37055         (nptl): Add.
37056         * resolv/Depend (linuxthreads): Remove.
37057         * rt/Depend (linuxthreads): Remove.
37059         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37060         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37061         $(common-objpfx)elf/.
37062         (link-libc-before-gnulib): Likewise.
37063         (elfobjdir): Remove variable.
37064         * Makefile (install): Use $(elf-objpfx) instead of
37065         $(common-objpfx)elf/.
37066         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37067         $(elfobjdir)/.
37068         (link-libc-deps): Likewise.
37069         ($(common-objpfx)libc.so): Likewise.
37070         ($(common-objpfx)linkobj/libc.so): Likewise.
37071         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37072         instead of $(common-objpfx)elf/.
37073         (symbolic-link-list): Likewise.
37074         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37075         [$(cross-compiling) = no]: Likewise.
37076         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37077         $(elfobjdir)/.
37078         (static-gnulib-arch): Likewise.
37079         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37080         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37081         $(common-objpfx)elf/.
37083 2014-05-21  Richard Henderson  <rth@redhat.com>
37085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37086         (SINGLE_THREAD_P): Use the correct width load.  Fold
37087         into the ldr offset.
37089         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37090         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37092 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37094         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37095         (libgcc_s_resume): Use __attribute_used__.
37096         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37097         Likewise.
37099 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37101         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37102         optimization when used with float constants.
37104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37106 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37108         [BZ #16915]
37109         * locale/nl_langinfo_l.c: Make direct reference to every
37110         _nl_current_CATEGORY symbol.
37111         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37112         (tests-static): Add tst-langinfo-static.
37113         (tests-special): Add tst-langinfo-static.out.
37114         ($(objpfx)tst-langinfo.out): Redirect output.
37115         ($(objpfx)tst-langinfo-static.out): New.
37116         * localedata/tst-langinfo.sh: Send output to stdout.
37117         * localedata/tst-langinfo-static.c: New file.
37119         [BZ #16965]
37120         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37121         when the shift amount is modulo the limb size.
37123 2014-05-20  Richard Henderson  <rth@redhat.com>
37125         [BZ #16967]
37126         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37127         Change type of sa_flags from unsigned int to int.
37129         [BZ #16966]
37130         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37132         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37134 2014-05-20  Will Newton  <will.newton@linaro.org>
37136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37137         Test the return value of the system call in the nocancel case.
37139 2014-05-20  Will Newton  <will.newton@linaro.org>
37140             Yvan Roux  <yvan.roux@linaro.org>
37142         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37143         #include of asm/ptrace.h.
37144         (PTRACE_GET_THREAD_AREA): Remove #undef.
37145         (PTRACE_GETHBPREGS): Likewise.
37146         (PTRACE_SETHBPREGS): Likewise.
37147         (struct user_regs_struct): New structure.
37148         (struct user_fpsimd_struct): New structure.
37149         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37150         #include of asm/ptrace.h and second #include of sys/user.h.
37151         (PTRACE_GET_THREAD_AREA): Remove #undef.
37152         (PTRACE_GETHBPREGS): Likewise.
37153         (PTRACE_SETHBPREGS): Likewise.
37154         (ELF_NGREG): Use new struct user_regs_struct.
37155         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37157 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37162 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37164         [BZ #16958]
37165         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37166         membar to avoid block loads/stores to overlap previous stores.
37168 2014-05-17  Richard Henderson  <rth@redhat.com>
37170         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37171         Create the __##syscall_name##_nocancel entry point.
37172         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37173         Remove; let the sysdep-cancel.h code create it.
37175 2014-05-17  David S. Miller  <davem@davemloft.net>
37177         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37178         Protect with __USE_GNU.
37179         (TIOCSET_TEMPT): Likewise.
37180         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37181         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37182         these are already provided in bits/ioctl-types.h
37184 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37186         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37187         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37189         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37190         Use wait4 regardless of [__NR_waitpid].
37192 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37194         PR libgcc/60166
37195         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37196         (_FP_NANSIGN_Q): Set the quiet bit.
37198 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37200         * benchtests/Makefile
37201         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37202         not $(common-objpfx)math/libm.so.
37203         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37204         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37205         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37206         $(common-objpfx)dlfcn/libdl.so.
37207         ($(objpfx)tst-audit8): Depend on $(libm), not
37208         $(common-objpfx)math/libm.so.
37209         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37210         not $(common-objpfx)dlfcn/libdl.so.
37211         * math/Makefile
37212         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37213         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37214         [$(build-shared) = yes].
37215         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37216         $(common-objpfx)nptl/libpthread.so.
37217         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37218         $(common-objpfx)math/libm.so$(libm.so-version) or
37219         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37220         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37221         $(common-objpfx)dlfcn/libdl.so.
37222         * setjmp/Makefile (link-libm): Remove variable.
37223         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37224         * stdio-common/Makefile (link-libm): Remove variable.
37225         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37226         * stdlib/Makefile (link-libm): Remove variable.
37227         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37228         ($(objpfx)tst-strtod-round): Likewise.
37229         ($(objpfx)tst-tininess): Likewise.
37230         ($(objpfx)tst-strtod-underflow): Likewise.
37231         ($(objpfx)tst-strtod6): Likewise.
37232         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37233         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37234         $(common-objpfx)dlfcn/libdl.so.
37236 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37238         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37239         BSD terminal modes definitions.
37241 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37243         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37244         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37246         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37247         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37248         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37249         Don't do #include_next.
37250         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37251         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37252         Don't do #include_next.
37253         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37254         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37255         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37256         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37258 2014-05-16  Allan McRae  <allan@archlinux.org>
37260         * po/sv.po: Update Swedish translation from translation project.
37262         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37263         in sed expression.
37265 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37267         [BZ #16917]
37268         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37269         errno if the TIOCGPTN ioctl fails with an error different than
37270         EINVAL.
37271         * login/tst-ptsname.c: New file.
37272         * login/Makefile (tests): Add tst-ptsname.
37274         [BZ #16943]
37275         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37276         and prlimit64.
37278 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37280         [BZ #16849]
37281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37282         herrno to return EAI_AGAIN.
37284 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37286         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37287         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37288         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37289         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37290         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37291         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37292         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37293         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37295         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37296         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37297         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37298         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37299         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37300         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37301         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37302         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37303         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37304         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37305         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37306         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37307         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37308         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37309         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37310         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37311         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37312         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37313         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37314         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37315         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37317         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37319         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37321         Moved ...
37322         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37324         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37326         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37328         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37330         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37334         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37346         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37350         Moved ...
37351         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37353         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37355         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37357         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37359         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37361         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37363         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37365         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37367         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37369         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37371         Moved ...
37372         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37374         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37377         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37378         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37379         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37380         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37381         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37382         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37383         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37384         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37386         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37387         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37388         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37389         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37390         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37391         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37392         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37393         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37394         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37395         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37396         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37397         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37398         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37399         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37400         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37401         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37402         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37403         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37408         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37409         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37411         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37412         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37413         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37414         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37415         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37417         Moved ...
37418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37420         Moved ...
37421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37423         Moved ...
37424         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37425         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37426         Moved ...
37427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37428         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37429         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37431         Moved ...
37432         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37433         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37434         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37435         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37437         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37438         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37440         Moved ...
37441         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37442         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37443         Moved ...
37444         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37445         ... here.
37446         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37447         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37448         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37449         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37450         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37451         Moved ...
37452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37453         ... here.
37454         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37455         Moved ...
37456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37457         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37458         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37459         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37460         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37462         Moved ...
37463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37465         Moved ...
37466         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37468         Moved ...
37469         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37470         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37471         Moved ...
37472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37473         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37474         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37476         Moved ...
37477         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37478         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37479         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37480         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37482         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37483         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37485         Moved ...
37486         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37487         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37488         Moved ...
37489         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37490         ... here.
37491         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37492         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37493         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37494         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37495         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37496         Moved ...
37497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37498         ... here.
37499         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37500         Moved ...
37501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37502         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37503         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37504         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37505         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37506         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37507         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37508         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37509         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37511         Moved ...
37512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37514         Moved ...
37515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37517         Moved ...
37518         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37520         Moved ...
37521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37522         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37523         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37524         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37525         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37527         Moved ...
37528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37529         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37530         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37531         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37534         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37536         Moved ...
37537         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37539         Moved ...
37540         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37541         ... here.
37542         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37543         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37544         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37545         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37546         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37547         Moved ...
37548         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37549         ... here.
37550         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37551         Moved ...
37552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37553         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37554         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37555         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37556         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37557         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37558         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37559         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37560         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37562         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37564         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37565         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37567         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37568         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37570         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37571         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37572         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37573         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37574         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37575         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37576         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37577         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37578         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37579         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37580         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37584         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37586         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37588         Moved ...
37589         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37593         Moved ...
37594         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37595         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37596         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37597         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37598         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37602         Moved ...
37603         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37604         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37605         Moved ...
37606         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37607         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37608         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37612         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37614         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37615         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37616         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37617         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37618         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37620         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37621         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37622         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37624         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37625         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37626         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37627         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37628         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37630         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37631         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37632         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37633         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37634         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37635         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37636         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37637         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37638         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37639         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37642         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37644         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37645         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37646         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37647         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37648         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37649         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37650         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37651         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37652         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37653         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37655         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37657         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37659         Update #include.
37660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37661         Likewise.
37662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37663         Likewise.
37664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37665         Likewise.
37666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37667         Likewise.
37668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37669         Likewise.
37670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37671         Likewise.
37672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37673         Likewise.
37674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37675         Likewise.
37676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37677         Likewise.
37678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37684         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37688         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37689         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37690         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37691         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37694         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37695         that was previously under [RESET_PID].
37696         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37697         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37698         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37700         * sysdeps/i386/nptl/Implies: New file.
37701         * sysdeps/x86_64/nptl/Implies: New file.
37702         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37703         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37704         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37705         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37707         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37708         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37709         (__libc_vfork): New strong alias.
37710         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37711         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37713         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37714         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37715         (__libc_vfork): New strong alias.
37716         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37717         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37719         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37720         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37721         (__libc_vfork): New strong alias.
37722         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37723         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37724         * nptl/pt-vfork.c: New file.
37725         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37726         (libpthread: GLIBC_2.20): New version set (empty).
37728 2014-05-14  Will Newton  <will.newton@linaro.org>
37730         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37731         rather than #if.
37733 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37735         [BZ #16564]
37736         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37737         arguments with exponent 65 or above.
37738         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37739         arguments 0x1p113L or above.
37740         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37741         to arguments 0x1p107L or above.
37742         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37743         positive arguments with exponent 65 or above.
37744         * math/auto-libm-test-in: Add more tests of log1p.
37745         * math/auto-libm-test-out: Regenerated.
37747         [BZ #16928]
37748         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37749         non-finite arguments is +0.
37750         * math/s_cacosf.c (__cacosf): Likewise.
37751         * math/s_cacosl.c (__cacosl): Likewise.
37752         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37753         * sysdeps/i386/fpu/libm-test-ulps: Update.
37754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37756         [BZ #16927]
37757         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37758         value.
37759         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37760         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37761         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37762         for explicit high bit of mantissa when testing for argument equal
37763         to 1.
37764         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37765         * sysdeps/i386/fpu/libm-test-ulps: Update.
37766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37768         [BZ #16516]
37769         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37770         (__erf): Scale by 16 instead of 8 in potentially underflowing
37771         case.  Ensure exception if result actually underflows.
37772         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37773         (__erff): Scale by 16 instead of 8 in potentially underflowing
37774         case.  Ensure exception if result actually underflows.
37775         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37776         (efx8): Remove variable.
37777         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37778         case.  Ensure exception if result actually underflows.
37779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37780         (efx8): Remove variable.
37781         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37782         case.  Ensure exception if result actually underflows.
37783         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37784         (efx8): Remove variable.
37785         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37786         case.  Ensure exception if result actually underflows.
37787         * math/auto-libm-test-in: Add more tests of erf.
37788         * math/auto-libm-test-out: Regenerated.
37790 2014-05-14  Andreas Schwab  <schwab@suse.de>
37792         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37793         Remove code conditionalized on USE___THREAD.
37795         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37796         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37797         not definedness.
37799 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37802         Define unconditionally.
37803         (__ASSUME_O_CLOEXEC): Likewise.
37804         (__ASSUME_SOCK_CLOEXEC): Likewise.
37805         (__ASSUME_IN_NONBLOCK): Likewise.
37806         (__ASSUME_PIPE2): Likewise.
37807         (__ASSUME_EVENTFD2): Likewise.
37808         (__ASSUME_SIGNALFD4): Likewise.
37809         (__ASSUME_DUP3): Likewise.
37810         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37811         (__ASSUME_DUP3): Do not define.
37812         (__ASSUME_EVENTFD2): Likewise.
37813         (__ASSUME_IN_NONBLOCK): Likewise.
37814         (__ASSUME_O_CLOEXEC): Likewise.
37815         (__ASSUME_PIPE2): Likewise.
37816         (__ASSUME_SIGNALFD4): Likewise.
37817         (__ASSUME_SOCK_CLOEXEC): Likewise.
37818         (__ASSUME_UTIMES): Undefine.
37819         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37820         (__ASSUME_UTIMES): Do not define.
37821         (__ASSUME_O_CLOEXEC): Likewise.
37822         (__ASSUME_SOCK_CLOEXEC): Likewise.
37823         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37824         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37825         0x020621].
37826         (__ASSUME_PIPE2): Likewise.
37827         (__ASSUME_EVENTFD2): Likewise.
37828         (__ASSUME_SIGNALFD4): Likewise.
37829         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37830         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37831         Do not define.
37832         (__ASSUME_EVENTFD2): Likewise.
37833         (__ASSUME_SIGNALFD4): Likewise.
37834         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37835         (__ASSUME_32BITUIDS): Likewise.
37836         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37837         (__ASSUME_IPC64): Likewise.
37838         (__ASSUME_ST_INO_64_BIT): Likewise.
37839         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37840         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37841         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37842         (__ASSUME_UTIMES): Do not define.
37843         (__ASSUME_PSELECT): Likewise.
37844         (__ASSUME_PPOLL): Likewise.
37845         (__ASSUME_O_CLOEXEC): Likewise.
37846         (__ASSUME_SOCK_CLOEXEC): Likewise.
37847         (__ASSUME_IN_NONBLOCK): Likewise.
37848         (__ASSUME_PIPE2): Likewise.
37849         (__ASSUME_EVENTFD2): Likewise.
37850         (__ASSUME_SIGNALFD4): Likewise.
37851         (__ASSUME_DUP3): Likewise.
37852         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37853         (__ASSUME_UTIMES): Likewise.
37854         (__ASSUME_O_CLOEXEC): Likewise.
37855         (__ASSUME_SOCK_CLOEXEC): Likewise.
37856         (__ASSUME_IN_NONBLOCK): Likewise.
37857         (__ASSUME_PIPE2): Likewise.
37858         (__ASSUME_EVENTFD2): Likewise.
37859         (__ASSUME_SIGNALFD4): Likewise.
37860         (__ASSUME_DUP3): Likewise.
37861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37862         (__ASSUME_UTIMES): Likewise.
37863         (__ASSUME_O_CLOEXEC): Likewise.
37864         (__ASSUME_SOCK_CLOEXEC): Likewise.
37865         (__ASSUME_IN_NONBLOCK): Likewise.
37866         (__ASSUME_PIPE2): Likewise.
37867         (__ASSUME_EVENTFD2): Likewise.
37868         (__ASSUME_SIGNALFD4): Likewise.
37869         (__ASSUME_DUP3): Likewise.
37870         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37871         Likewise.
37872         (__ASSUME_UTIMES): Likewise.
37873         (__ASSUME_EVENTFD2): Likewise.
37874         (__ASSUME_SIGNALFD4): Likewise.
37875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37876         (__ASSUME_O_CLOEXEC): Likewise.
37877         (__ASSUME_SOCK_CLOEXEC): Likewise.
37878         (__ASSUME_IN_NONBLOCK): Likewise.
37879         (__ASSUME_PIPE2): Likewise.
37880         (__ASSUME_EVENTFD2): Likewise.
37881         (__ASSUME_SIGNALFD4): Likewise.
37882         (__ASSUME_DUP3): Likewise.
37883         (__ASSUME_UTIMES): Undefine.
37885         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37886         feclearexcept.  Remove symbol versioning code.
37887         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37888         symbol versioning code.
37889         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37890         symbol versioning code.
37891         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37892         feupdateenv.  Remove symbol versioning code.
37893         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37894         fegetexceptflag.  Remove symbol versioning code.
37895         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37896         fesetexceptflag.  Remove symbol versioning code.
37897         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37898         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37899         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37900         (__posix_fadvise64_l32): Remove prototype.
37901         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37902         code.
37904 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37906         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37907         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37908         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37909         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37911 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37913         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37914         current working directory
37916 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37918         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37919         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37920         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37921         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37922         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37923         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37924         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37925         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37926         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37927         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37928         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37929         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37930         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37931         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37932         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37933         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37934         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37935         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37936         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37937         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37939         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37940         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37941         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37942         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37943         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37944         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37945         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37946         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37947         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37948         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37949         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37950         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37951         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37952         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37953         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37954         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37955         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37956         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37957         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37958         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37959         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37961         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37962         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37964         * sysdeps/unix/sysv/linux/arm/Makefile
37965         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37966         Add rt-aeabi_unwind_cpp_pr1.
37967         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37968         Add nptl-aeabi_unwind_cpp_pr1.
37969         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37970         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37971         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37972         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37973         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37974         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37976         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37977         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37978         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37979         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37981         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37982         Deconditionalize the code that was previously under [RESET_PID].
37983         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37985         * sysdeps/generic/exit-thread.h: New file.
37986         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37987         * include/unistd.h (__exit_thread): Remove declaration.
37988         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37989         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37990         * csu/libc-start.c: Include <exit-thread.h>.
37991         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37992         * nptl/pthread_create.c: Include <exit-thread.h>.
37993         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37994         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37995         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37996         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37997         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37998         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37999         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38000         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38001         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38002         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38003         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38004         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38005         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38006         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38007         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38008         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38009         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38011 2014-05-13  Andreas Schwab  <schwab@suse.de>
38013         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38015 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38017         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38018         (__ASSUME_UTIMES): Do not condition on kernel version.
38019         (__ASSUME_PSELECT): Define unconditionally.
38020         (__ASSUME_PPOLL): Likewise.
38021         (__ASSUME_ATFCTS): Likewise.
38022         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38023         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38024         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38025         (__ASSUME_UTIMENSAT): Define unconditionally.
38026         (__ASSUME_PRIVATE_FUTEX): Likewise.
38027         (__ASSUME_FALLOCATE): Likewise.
38028         (__ASSUME_O_CLOEXEC): Likewise.
38029         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38030         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38031         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38032         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38033         (__ASSUME_IN_NONBLOCK): Likewise.
38034         (__ASSUME_PIPE2): Likewise.
38035         (__ASSUME_EVENTFD2): Likewise.
38036         (__ASSUME_SIGNALFD4): Likewise.
38037         (__ASSUME_DUP3): Likewise.
38038         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38039         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38040         (__ASSUME_AT_RANDOM): Likewise.
38041         (__ASSUME_PREADV): Likewise.
38042         (__ASSUME_PWRITEV): Likewise.
38043         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38044         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38045         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38046         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38047         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38048         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38049         (__ASSUME_O_CLOEXEC): Define unconditionally.
38050         (__ASSUME_PSELECT): Do not undefine conditionally.
38051         (__ASSUME_PPOLL): Likewise.
38052         (__ASSUME_ATFCTS): Likewise.
38053         (__ASSUME_SET_ROBUST_LIST): Likewise.
38054         (__ASSUME_UTIMENSAT): Likewise.
38055         (__ASSUME_FDATASYNC): Define unconditionally.
38056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38057         (__ASSUME_SIGFRAME_V2): Likewise.
38058         )__ASSUME_EVENTFD2): Likewise.
38059         (__ASSUME_SIGNALFD4): Likewise.
38060         (__ASSUME_PSELECT): Do not undefine conditionally.
38061         (__ASSUME_PPOLL): Likewise.
38062         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38063         (__ASSUME_PSELECT): Define unconditionally.
38064         (__ASSUME_PPOLL): Likewise.
38065         (__ASSUME_O_CLOEXEC): Likewise.
38066         (__ASSUME_SOCK_CLOEXEC): Likewise.
38067         (__ASSUME_IN_NONBLOCK): Likewise.
38068         (__ASSUME_PIPE2): Likewise.
38069         (__ASSUME_EVENTFD2): Likewise.
38070         (__ASSUME_SIGNALFD4): Likewise.
38071         (__ASSUME_DUP3): Likewise.
38072         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38073         (__ASSUME_O_CLOEXEC): Likewise.
38074         (__ASSUME_SOCK_CLOEXEC): Likewise.
38075         (__ASSUME_IN_NONBLOCK): Likewise.
38076         (__ASSUME_PIPE2): Likewise.
38077         (__ASSUME_EVENTFD2): Likewise.
38078         (__ASSUME_SIGNALFD4): Likewise.
38079         (__ASSUME_DUP3): Likewise.
38080         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38081         (__ASSUME_EVENTFD2): Likewise.
38082         (__ASSUME_SIGNALFD4): Likewise.
38083         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38085 2014-05-12  Andreas Schwab  <schwab@suse.de>
38087         [BZ #16932]
38088         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38089         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38090         than maximum RPC packet size.
38091         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38092         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38093         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38094         (_nss_nis_getservbyport_r): Likewise.
38096 2014-05-12  Will Newton  <will.newton@linaro.org>
38098         * malloc/Makefile (tests): Add tst-mallopt.
38099         * malloc/tst-mallopt.c: New file.
38101 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38103         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38104         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38106 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38108         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38109         (tst-tlsmod6.so): Likewise.
38111 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38113         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38115 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #16064]
38118         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38119         and <dl-procinfo.h>.
38120         (__fegetenv): Save SSE state in envp->__eip if supported.
38121         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38122         envp->__eip if supported.
38123         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38124         and <dl-procinfo.h>.
38125         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38126         __data_offset and __data_selector in environment to 0.  Set SSE
38127         state if supported.
38128         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38129         test-fenv-sse.
38130         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38131         -mfpmath=sse.
38132         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38134 2014-05-09  Will Newton  <will.newton@linaro.org>
38136         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38137         and libc_relro_required for ARM.
38138         * sysdeps/arm/preconfigure: Regenerate.
38140 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38141             Stefan Liebler  <stli@linux.vnet.ibm.com>
38143         * config.make.in (enable-lock-elision): New Makefile variable.
38144         * configure.ac: Likewise.
38145         * configure: Regenerate.
38146         * sysdeps/s390/configure.ac:
38147         Add check for gcc transactions support.
38148         * sysdeps/s390/configure: Regenerate.
38149         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38150         Build elision files if enabled.
38151         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38152         Add lock elision support for s390.
38153         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38154         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38155         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38156         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38157         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38158         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38159         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38160         Likewise.
38161         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38162         Likewise.
38163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38164         Likewise.
38165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38166         Likewise.
38167         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38168         (__lll_timedlock_elision, __lll_lock_elision)
38169         (__lll_unlock_elision, __lll_trylock_elision)
38170         (lll_timedlock_elision, lll_lock_elision)
38171         (lll_unlock_elision, lll_trylock_elision): Add.
38172         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38173         (pthread_mutex_t): Add lock elision support for s390.
38175 2014-05-14  Wilco  <wdijkstr@arm.com>
38177         * sysdeps/arm/fclrexcpt.c: Cleanup.
38178         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38179         * sysdeps/arm/feenablxcpt.c: Cleanup.
38180         * sysdeps/arm/fegetenv.c: Cleanup.
38181         * sysdeps/arm/fegetexcept.c: Cleanup.
38182         * sysdeps/arm/fegetround.c: Cleanup.
38183         * sysdeps/arm/feholdexcpt.c: Cleanup.
38184         * sysdeps/arm/fesetenv.c: Cleanup.
38185         * sysdeps/arm/fesetround.c: Cleanup.
38186         * sysdeps/arm/feupdateenv.c: Cleanup.
38187         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38188         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38189         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38190         * sysdeps/arm/ftestexcept.c: Cleanup.
38191         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38192         * sysdeps/arm/setfpucw.c: Cleanup.
38194 2014-05-09  Will Newton  <will.newton@linaro.org>
38196         * sysdeps/arm/armv7/strcmp.S: New file.
38197         * NEWS: Mention addition of ARMv7 optimized strcmp.
38199 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38201         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38202         look for %.ac rather than %.in.
38204         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38205         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38206         * sysdeps/mach/hurd/configure: Regenerated.
38207         * sysdeps/unix/sysv/linux/configure: Regenerated.
38209         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38211 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38213         [BZ# 16922]
38214         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38215         (LONG_SUB): Ditto.
38216         (PTR_SUB): Ditto.
38218 2014-05-07  Andreas Schwab  <schwab@suse.de>
38220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38221         when skipping over non-matching result from nscd.
38223 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38225         [BZ #16876]
38226         * nptl/sockperf.c (client): Check socket return value.
38228         [BZ #16877]
38229         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38230         nscd security class.
38232 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38234         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38235         * sysdeps/arm/unwind.h: ... here.
38237 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38239         [BZ# 16916]
38240         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38241         Define.
38243 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38245         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38246         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38247         multiarch strncpy for PPC64.
38248         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38249         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38251         multiarch optimizations.
38252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38253         (__libc_ifunc_impl_list): Likewise.
38254         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38255         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38256         multiarch stpncpy for PPC64.
38257         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38258         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38260 2014-05-06  Andreas Schwab  <schwab@suse.de>
38262         [BZ #16912]
38263         * gmon/mcount.c (_MCOUNT_DECL): Use
38264         atomic_compare_and_exchange_bool_acq instead of
38265         catomic_compare_and_exchange_bool_acq.
38267 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38269         * elf/Makefile (others, install-bin): Remove pldd.
38270         (pldd-modules): Variable removed.
38271         ($(objpfx)pldd): Target removed.
38272         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38273         (others, install-bin): Append pldd here.
38274         ($(objpfx)pldd): New target.
38276         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38277         to 0, so the first #if test emitted later doesn't see it undefined.
38278         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38279         * sysdeps/gnu/errlist.c: Regenerated.
38281 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38284         [libc_hidden_builtin_def]: Define to empty value.
38285         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38286         [libc_hidden_builtin_def]: Likewise.
38287         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38288         [libc_hidden_builtin_def]: Likewise.
38289         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38290         [libc_hidden_builtin_def]: Likewise.
38291         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38292         __redirect_memcpy and define ifunc as default hidden symbol.
38293         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38294         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38296 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38298         * locale/iso-4217.def: Reintroduce XDR currency.
38300 2014-05-04  Allan McRae  <allan@archlinux.org>
38302         * po/eo.po: Update Esperanto translation from translation project.
38304 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38306         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38307         and FEATURE_INDEX_MAX to 1.
38308         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38310 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38312         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38313         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38314         * iconvdata/big5.c (ONE_DIRECTION): Define.
38315         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38316         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38317         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38318         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38319         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38320         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38321         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38322         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38323         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38324         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38325         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38326         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38327         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38328         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38329         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38330         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38331         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38332         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38333         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38334         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38335         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38336         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38337         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38338         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38339         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38340         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38341         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38342         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38343         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38344         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38345         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38346         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38347         * iconvdata/johab.c (ONE_DIRECTION): Define.
38348         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38349         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38350         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38351         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38352         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38353         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38354         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38355         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38356         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38357         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38359 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38361         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38362         (_IO_JUMPS_OFFSET): Define to 0.
38364         * nptl/sysdeps/pthread/bits/libc-lock.h
38365         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38366         (__libc_lock_define_initialized_recursive): Always define using
38367         initializer.  Modern compilers treat uninitialized (implicit zero) and
38368         explicit zero initializers the same (i.e. put the datum in bss).
38370 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38372         * nscd/nscd-client.h: Include <string.h>.
38374 2014-05-01  David S. Miller  <davem@davemloft.net>
38376         [BZ #16885]
38377         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38378         multiple zero bytes exist at the end of a string.
38379         Reported by Aurelien Jarno <aurelien@aurel32.net>
38381         * string/test-strcmp.c (check): Add explicit test for situations where
38382         there are multiple zero bytes after the first.
38384 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38386         [BZ #16890]
38387         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38388         when compiling wprintf.
38389         * stdio-common/tstdiomisc.c (t3): New function.
38390         (main): Call it.
38392 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38394         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38395         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38396         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38397         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38399 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38401         * stdlib/longlong.h: Updated from GCC.
38403 2014-05-01  Will Newton  <will.newton@linaro.org>
38404             Bernard Ogden  <bernie.ogden@linaro.org>
38406         * NEWS: Update fixed bug list.
38408         [BZ #15119]
38409         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38411 2014-04-30  David S. Miller  <davem@davemloft.net>
38413         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38414         (libc_feholdexcept_setround_sparc_ctx): New function.
38415         (libc_fesetenv_sparc_ctx): Likewise.
38416         (libc_feupdateenv_sparc_ctx): Likewise.
38417         (libc_feholdsetround_sparc_ctx): Likewise.
38418         (libc_feholdexcept_setround_ctx): Define.
38419         (libc_feholdexcept_setroundf_ctx): Likewise.
38420         (libc_feholdexcept_setroundl_ctx): Likewise.
38421         (libc_fesetenv_ctx): Likewise.
38422         (libc_fesetenvf_ctx): Likewise.
38423         (libc_fesetenvl_ctx): Likewise.
38424         (libc_feupdateenv_ctx): Likewise.
38425         (libc_feupdateenvf_ctx): Likewise.
38426         (libc_feupdateenvl_ctx): Likewise.
38427         (libc_feresetround_ctx): Likewise.
38428         (libc_feresetroundf_ctx): Likewise.
38429         (libc_feresetroundl_ctx): Likewise.
38430         (libc_feholdsetround_ctx): Likewise.
38431         (libc_feholdsetroundf_ctx): Likewise.
38432         (libc_feholdsetroundl_ctx): Likewise.
38434         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38435         with __USE_GNU instead of XOPEN cpp guards.
38437         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38438         0.
38440         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38441         with XOPEN cpp guards.
38443 2014-04-30  Julian Brown  <julian@codesourcery.com>
38445         [BZ #16888]
38446         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38447         handling.
38449 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38451         [BZ #9894]
38452         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38453         Change to 2.6.32.
38454         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38455         * sysdeps/unix/sysv/linux/configure: Regenerated.
38456         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38457         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38458         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38459         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38460         * README: Update reference to required Linux kernel version.
38461         * manual/install.texi (Linux): Update reference to required Linux
38462         kernel headers version.
38463         * INSTALL: Regenerated.
38465         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38466         header inclusion.
38467         [POSIX] (limits.h): Likewise.
38468         [POSIX] (math.h): Likewise.
38469         [POSIX] (sys/wait.h): Likewise.
38470         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38471         function.
38472         [POSIX] (stddef.h): Do not allow header inclusion.
38474 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38476         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38478 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38480         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38481         Return immediately after lll_futex_wake.
38483 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38485         [BZ #16791]
38486         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38487         structure.
38488         (datahead_init_pos): Call datahead_init_common early.
38489         (datahead_init_neg): Likewise.
38491         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38492         datahead_init_neg): New functions.
38493         * nscd/aicache.c (addhstaiX): Use them.
38494         * nscd/grpcache.c (cache_addgr): Likewise.
38495         * nscd/hstcache.c (cache_addhst): Likewise.
38496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38497         * nscd/netgroupcache.c (do_notfound): Likewise.
38498         (addgetnetgrentX): Likewise.
38499         (addinnetgrX): Likewise.
38500         * nscd/pwdcache.c (cache_addpw): Likewise.
38501         * nscd/servicescache.c (cache_addserv): Likewise.
38503 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38504             Atsushi Onoe  <atsushi@onoe.org>
38506         [BZ #14308]
38507         [BZ #12994]
38508         [BZ #13651]
38509         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38510         one response is valid.
38511         * resolv/res_send.c (send_dg): Check for validity of other
38512         response if the current response is a referral.
38514 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38516         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38518 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38520         [BZ #16823]
38521         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38522         Always divide by positive zero when computing -Inf result.
38523         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38524         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38526 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38528         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38529         FPSCR if value do not change.
38530         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38531         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38532         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38534         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38535         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38536         function.
38538 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38540         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38541         * sysdeps/unix/sysv/linux/hppa: Move directory from
38542         ports/systeps/unix/sysv/linux/hppa.
38543         * README: Update listing for hppa-*-linux-gnu.
38545 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38547         [BZ #16754]
38548         * manual/stdio.texi (Hook functions): Fix types of stream hook
38549         functions.
38550         [BZ #16854]
38551         * socket/sys/socket.h: Fix typo in comment.
38553 2014-04-28  Wilco  <wdijkstr@arm.com>
38555         * sysdeps/arm/fenv_private.h: New file.
38556         * sysdeps/arm/math_private.h: New file.
38557         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38559 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38561         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38562         with __int128_t.
38563         (La_x86_64_retval): Likewise.
38565 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38567         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38568         fpsr if value didn't change.
38569         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38570         to fpcr if value didn't change.
38571         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38572         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38573         fpsr or fpcr if value didn't change.
38574         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38575         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38576         fpcr if value didn't change.
38577         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38578         to fpsr if value didn't change.
38580 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38582         * nptl/tst-sem3.c: Use test-skeleton.c
38583         (main): Rename to do_test.  Use return instead of
38584         exit.
38585         * nptl/tst-sem4.c: Use test-skeleton.c
38586         (main): Rename to do_test.
38588 2014-04-22  David S. Miller  <davem@davemloft.net>
38590         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38591         (struct sigaction): New struct member __glibc_reserved0, change
38592         type of sa_flags to int.
38594 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38596         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38597         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38599 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38601         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38602         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38604 2014-04-22  Will Newton  <will.newton@linaro.org>
38605             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38607         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38608         (__longjmp): Add longjmp and longjmp_target SystemTap
38609         probes.
38610         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38611         (__sigsetjmp): Add setjmp SystemTap probe.
38613 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38615         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38616         match manual order.
38618 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38620         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38622         * sysdeps/powerpc/fpu/fenv_private.h
38623         (libc_feholdexcept_setroundl_ctx): Define to
38624         libc_feholdexcept_setround_ppc_ctx.
38625         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38626         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38627         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38628         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38630 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38632         * sysdeps/aarch64/math-tests.h: New file.
38634 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38636         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38637         New.
38638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38639         Check and set bit_AVX2_Usable.
38640         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38641         macro.
38642         (bit_AVX2): Likewise.
38643         (index_AVX2_Usable): Likewise.
38644         (CPUID_AVX2): Likewise.
38645         (HAS_AVX2): Likewise.
38647 2014-04-17  Will Newton  <will.newton@linaro.org>
38649         * manual/setjmp.texi (System V contexts): Add note that
38650         calling setcontext on a context created by a call to a
38651         signal handler is undefined.  Update text to note that
38652         setcontext from a signal handler is possible but not
38653         recommended.
38655         [BZ #16629]
38656         * stdlib/tst-setcontext.c: Include signal.h.
38657         (main): Check that the signal stack before and
38658         after swapcontext is the same.
38660         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38661         Re-implement to restore registers in user code and avoid
38662         rt_sigreturn system call.
38664 2014-04-17  Wilco  <wdijkstr@arm.com>
38666         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38667         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38668         * math/test-fenv.c: Skip exception trap tests on targets which only
38669         support non-stop mode.
38671 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38672             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38674         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38675         (libc_feholdsetround_aarch64_ctx)
38676         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38677         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38678         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38679         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38680         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38681         (libc_feresetround_noexl_ctx): Define.
38683 2014-04-16  Richard Henderson  <rth@redhat.com>
38685         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38687         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38688         unwind tables.
38690         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38691         const from the non-libc, non-ldso copy.
38693         * sysdeps/alpha/libm-test-ulps: Regenerate.
38695 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38696             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38698         * sysdeps/aarch64/fpu/math_private.h: New file.
38700 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38702         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38704 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38706         [BZ #16275]
38707         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38708         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38709         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38710         Intel MPX bound registers before _dl_profile_fixup.
38711         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38712         registers after _dl_profile_fixup.  Save and restore bound
38713         registers bnd0/bnd1 when calling _dl_call_pltexit.
38714         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38715         (LR_BND_OFFSET): Likewise.
38716         (LRV_BND0_OFFSET): Likewise.
38717         (LRV_BND1_OFFSET): Likewise.
38719 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38721         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38722         to...
38723         * sysdeps/mach/hurd/i386/tls.h: ... here.
38724         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38725         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38726         fields.
38728 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38730         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38732 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38734         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38736 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38738         [BZ #14770]
38739         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38740         * sysdeps/s390/configure: Regenerate.
38742         [BZ #16824]
38743         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38744         Set round-to-nearest internally to reduce error accumulation.
38746 2014-04-16  Alan Modra  <amodra@gmail.com>
38748         [BZ #16740]
38749         [BZ #16619]
38750         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38751         * math/libm-test.inc (frexp_test_data): Add tests.
38752         * NEWS: Update fixed bug list.
38754 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38756         * benchtests/Makefile: Depend on libraries in build directory.
38757         (bench-math): Separate out math tests.
38758         (bench-pthread): Separate out pthread tests.
38759         (bench): Include math and pthread tests.
38761 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38763         [BZ #16831]
38764         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38765         _dl_debug_initialize.
38767         * configure.ac: Remove SELinux header check.
38768         * configure: Regenerate.
38769         * nscd/selinux.c (perms): Array of const char* to permission names.
38770         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38771         default policy. Call string_to_security_class and string_to_av_perm to
38772         translate strings. Enforce default policy and call avs_has_perm with
38773         results of translated strings.
38775 2014-04-13  David S. Miller  <davem@davemloft.net>
38777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38779 2014-04-12  Allan McRae  <allan@archlinux.org>
38781         [BZ #16838]
38782         * manual/string.texi (Collation Functions): Fix qsort argument
38783         order in example.
38784         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38786 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38788         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38789         Make the test a no-op if there are no exceptions defined.
38791 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38793         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38794         enable-hardcoded-path-in-tests
38796 2014-04-11  Will Newton  <will.newton@linaro.org>
38798         * benchtests/Makefile (extra-objs): Add json-lib.o.
38799         (bench-func): Tidy up JSON output.
38800         * benchtests/bench-skeleton.c: Include json-lib.h.
38801         (main): Use JSON library functions to do output of
38802         benchmark results.
38803         * benchtests/bench-timing-type.c (main): Output the
38804         timing type simply, leaving formatting to the user.
38805         * benchtests/json-lib.c: New file.
38806         * benchtests/json-lib.h: Likewise.
38808 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38810         [BZ #15215]
38811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38812         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38813         memory barriers.  Add comments.
38814         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38815         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38816         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38817         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38818         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38819         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38821 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38823         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38824         * sysdeps/s390/s390-64/configure.ac: ... this ...
38825         * sysdeps/s390/configure.ac: ... to here.
38826         * sysdeps/s390/s390-32/configure: Delete file.
38827         * sysdeps/s390/s390-64/configure: Delete file.
38828         * sysdeps/s390/configure: Regenerate.
38830 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38832         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38834 2014-04-11  Will Newton  <will.newton@linaro.org>
38836         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38837         to zero if it is not defined elsewhere.  (mtrim): Test
38838         the value of MALLOC_DEBUG with #if rather than #ifdef.
38840 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38842         * benchtests/pthread_once-inputs: New file.
38843         * benchtests/pthread_once-source.c: New file.
38844         * benchtests/README: Update documentation.
38846 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38847             H.J. Lu  <hongjiu.lu@intel.com>
38849         [BZ #16275]
38850         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38851         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38852         * sysdeps/x86_64/configure: Regenerated.
38853         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38854         macro.
38855         (REGISTER_SAVE_RAX): Likewise.
38856         (REGISTER_SAVE_RCX): Likewise.
38857         (REGISTER_SAVE_RDX): Likewise.
38858         (REGISTER_SAVE_RSI): Likewise.
38859         (REGISTER_SAVE_RDI): Likewise.
38860         (REGISTER_SAVE_R8): Likewise.
38861         (REGISTER_SAVE_R9): Likewise.
38862         (REGISTER_SAVE_BND0): Likewise.
38863         (REGISTER_SAVE_BND1): Likewise.
38864         (REGISTER_SAVE_BND2): Likewise.
38865         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38866         bound registers when calling _dl_fixup.
38868 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38870         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38871         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38872         of its definition.
38873         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38874         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38875         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38876         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38877         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38878         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38879         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38881 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38883         [BZ #15514]
38884         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38885         pathconf(_PC_NAME_MAX).
38887 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38889         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38890         Remove macro usage.
38891         (__PTHREAD_SPINS): Move definition to ...
38892         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38893         (__PTHREAD_SPINS): ... here.
38894         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38895         (__PTHREAD_SPIN): Likewise.
38896         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38897         (__PTHREAD_SPIN): Likewise.
38898         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38899         (__PTHREAD_SPIN): Likewise.
38900         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38901         (__PTHREAD_SPIN): Likewise.
38902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38903         (__PTHREAD_SPIN): Likewise.
38904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38905         (__PTHREAD_SPIN): Likewise.
38906         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38907         (__PTHREAD_SPIN): Likewise.
38908         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38909         (__PTHREAD_SPIN): Likewise.
38910         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38911         (__PTHREAD_SPIN): Likewise.
38912         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38913         (__PTHREAD_SPIN): Likewise.
38914         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38915         (__PTHREAD_SPIN): Likewise.
38916         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38917         (__PTHREAD_SPIN): Likewise.
38919         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38920         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38921         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38922         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38923         imply folder.
38924         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38925         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38926         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38927         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38928         correct imply path.
38929         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38930         strlen symbol for non multi-arch builds.
38931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38932         missing hidden_def and weak_alias.
38934 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38936         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38938 2014-04-07  Will Newton  <will.newton@linaro.org>
38940         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38941         and contents.  [!_LIBC] Remove #ifndef and contents.
38942         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38943         * string/memccpy.c (__memccpy): Use ANSI prototype.
38944         * string/memfrob.c (memfrob): Likewise.
38945         * string/strcoll.c (STRCOLL): Likewise.
38946         * string/strlen.c (strlen): Likewise.
38947         * string/strtok.c (STRTOK): Likewise.
38948         * string/strcat.c: Remove unused #include of memcopy.h.
38949         (strcat): Use ANSI prototype.
38950         * string/strchr.c: Remove unused #include of memcopy.h.
38951         (strchr): Use ANSI prototype.
38952         * string/strcmp.c: Remove unused #include of memcopy.h.
38953         (strcmp): Use ANSI prototype.
38954         * string/strcpy.c: Remove unused #include of memcopy.h.
38955         (strcpy): Use ANSI prototype.
38957 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38959         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38960         * config.make.in (config-extra-cppflags): Set it from
38961         libc_extra_cppflags.
38962         * configure.ac (libc_extra_cflags): Make it accumulate over
38963         configure fragments.
38964         (libc_extra_cppflags): New flag.
38965         * configure. Regenerate.
38966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38967         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38968         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38971         [BZ #16815]
38972         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38973         result for FE_DOWNWARD rounding mode.
38974         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38975         Likewise.
38976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38978 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38980         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38981         in function argument name.
38983 2014-04-03  David Svoboda  <svoboda@cert.org>
38985         [BZ #5666]
38986         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38987         explicitly.
38989 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38991         * elf/dl-unmap-segments.h: New file.
38992         * sysdeps/generic/ldsodefs.h
38993         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38994         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38995         * elf/dl-fptr.c: Likewise.
38996         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38997         * sysdeps/aarch64/tlsdesc.c: Likewise.
38998         * sysdeps/arm/tlsdesc.c: Likewise.
38999         * sysdeps/i386/tlsdesc.c: Likewise.
39000         * sysdeps/tile/dl-runtime.c: Likewise.
39001         * sysdeps/x86_64/tlsdesc.c: Likewise.
39002         * elf/dl-load.h: New file.
39003         * elf/dl-load.c: Include it.
39004         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39005         Macros moved to dl-load.h.
39006         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39007         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39008         Use _dl_unmap_segments in place of __munmap.
39009         Break out segment-mapping loop into ...
39010         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39012 2014-04-03  Will Newton  <will.newton@linaro.org>
39014         * elf/dl-lookup.c (do_lookup_x): Remove comment
39015         referring to nested function and move variable
39016         declarations down to before first use.
39018 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #16799]
39021         [BZ #16800]
39022         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39023         with 0 numerator.
39024         * math/s_catanf.c (__catanf): Likewise.
39025         * math/s_catanh.c (__catanh): Likewise.
39026         * math/s_catanhf.c (__catanhf): Likewise.
39027         * math/s_catanhl.c (__catanhl): Likewise.
39028         * math/s_catanl.c (__catanl): Likewise.
39029         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39030         by positive zero when computing -Inf result.
39031         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39032         (catanh_test): Likewise.
39033         * sysdeps/i386/fpu/libm-test-ulps: Update.
39034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39036         [BZ #16789]
39037         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39038         instead of using underflowing value in computing result.
39039         * math/s_clog10.c (__clog10): Likewise.
39040         * math/s_clog10f.c (__clog10f): Likewise.
39041         * math/s_clog10l.c (__clog10l): Likewise.
39042         * math/s_clogf.c (__clogf): Likewise.
39043         * math/s_clogl.c (__clogl): Likewise.
39044         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39045         (clog10_test): Likewise.
39046         * sysdeps/i386/fpu/libm-test-ulps: Update.
39047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39049 2014-04-02  Alan Modra  <amodra@gmail.com>
39051         [BZ #16739]
39052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39053         output when value is near a power of two.  Use int64_t for lx and
39054         remove casts.  Use decimal rather than hex exponent constants.
39055         Don't use long double multiplication when double will suffice.
39056         * math/libm-test.inc (nextafter_test_data): Add tests.
39057         * NEWS: Add 16739 and 16786 to bug list.
39059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39061         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39063 2014-04-01  Will Newton  <will.newton@linaro.org>
39065         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39066         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39068 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39070         [BZ #13347]
39071         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39072         * nptl/tst-setuid2.c: New file.
39073         * nptl/Makefile (xtests): Add tst-setuid2.
39075 2014-04-01  Alan Modra  <amodra@gmail.com>
39077         [BZ #16786]
39078         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39080 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39082         [BZ #6803]
39083         [BZ #6804]
39084         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39085         set errno as appropriate.
39086         * math/w_scalbf.c (__scalbf): Likewise.
39087         * math/w_scalbl.c (__scalbl): Likewise.
39088         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39089         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39090         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39091         Add more NaN tests.
39093         [BZ #16349]
39094         * math/w_atan2.c: Include <errno.h>.
39095         (__atan2): Set errno for result underflowing to zero.
39096         * math/w_atan2f.c: Include <errno.h>.
39097         (__atan2f): Set errno for result underflowing to zero.
39098         * math/w_atan2l.c: Include <errno.h>.
39099         (__atan2l): Set errno for result underflowing to zero.
39100         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39101         tests.
39102         * math/auto-libm-test-out: Regenerated.
39104 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39107         Encode instruction correctly in little endian.
39108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39109         Likewise.
39110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39111         Likewise.
39112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39113         Likewise.
39114         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39115         Likewise.
39117 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39119         [BZ #9894]
39120         * sysdeps/unix/sysv/linux/kernel-features.h
39121         [__sparc__ && !__arch64__ && !__sparc_v9__]
39122         (__ASSUME_SET_ROBUST_LIST): Do not define.
39123         [__sparc__ && !__arch64__ && !__sparc_v9__]
39124         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39125         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39126         Likewise.
39127         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39128         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39129         (__ASSUME_REQUEUE_PI): Likewise.
39130         (__ASSUME_SET_ROBUST_LIST): Likewise.
39131         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39132         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39133         Undefine.
39134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39135         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39136         Likewise.
39137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39138         Likewise.
39139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39140         Likewise.
39141         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39142         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39143         Undefine.
39144         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39145         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39146         Likewise.
39148         [BZ #16648]
39149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39151         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39153 2014-03-31  Will Newton  <will.newton@linaro.org>
39155         * benchtests/Makefile (bench): Add ffs and ffsll to list
39156         of tests.
39157         * benchtests/ffs-inputs: New file.
39158         * benchtests/ffsll-inputs: Likewise.
39160 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39162         [BZ #16770]
39163         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39164         too large before casting to int.
39165         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39166         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39167         * math/libm-test.inc (scalb_test_data): Add more tests.
39169 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39171         * benchtests/Makefile (DETAILED_OPT): New make option.
39172         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39173         set.
39174         * benchtests/bench-skeleton.c: Include stdbool.h.
39175         (main): Store and print timings per input.
39176         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39177         member to each argument value.
39178         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39179         (_print_arg_data): Initialize per-input timing to 0.
39181         * benchtests/Makefile (timing-type): New binary.
39182         (bench-clean): Also remove bench-timing-type.
39183         (bench): New target for timing-type.
39184         (bench-func): Print output in JSON format.
39185         * benchtests/bench-skeleton.c (main): Print output in JSON
39186         format.
39187         * benchtests/bench-timing-type.c: New file.
39188         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39189         (TIMING_PRINT_STATS): Remove.
39190         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39191         name separately.
39193         * benchtests/bench-modf.c: Remove.
39194         * benchtests/modf-inputs: New inputs file.
39196 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39198         [BZ #16362]
39199         * math/s_clog10.c (M_PI_LOG10E): New macro.
39200         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39201         imaginary parts are 0.
39202         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39203         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39204         imaginary parts are 0.
39205         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39206         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39207         imaginary parts are 0.
39208         * math/libm-test.inc (clog10_test_data): Update expected results
39209         for when real and imaginary parts are 0.
39211 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39213         * elf/dl-load.c: Finish conversion of __builtin_expect into
39214         __glibc_{un}likely.
39216 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39218         [BZ #16348]
39219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39220         1+x for argument with exponent below -67.
39221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39222         Likewise.
39223         * math/auto-libm-test-in: Add more tests of exp.
39224         * math/auto-libm-test-out: Regenerated.
39226 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39228         [BZ #16759]
39229         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39230         (nscd_getnetgrent): Use it.
39232         [BZ #16760]
39233         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39234         of stpcpy.
39236 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39238         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39239         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39240         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39241         (lll_robust_unlock): Remove out of line section. Use cfi
39242         intrinsics.
39243         (LLL_STUB_UNWIND_INFO*): Remove.
39244         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39245         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39246         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39247         (lll_robust_unlock): Remove out of line section. Use cfi
39248         intrinsics.
39249         (LLL_STUB_UNWIND_INFO*): Remove.
39251 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39253         [BZ #16758]
39254         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39255         blank values.
39257 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39259         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39261 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39263         [BZ #16198]
39264         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39265         fnstenv.
39266         * math/test-fenv-preserve.c: New file.
39267         * math/Makefile (tests): Add test-fenv-preserve.
39269 2014-03-26  Will Newton <will.newton@linaro.org>
39271         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39273 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39275         * scripts/versionlist.awk: Partition the version sets and emit all
39276         GLIBC_* (sorted) before all others (sorted).
39278 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39280         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39281         GLIBC_2.2.5 version.
39283 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39285         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39286         calls.
39288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39289         previous change.
39291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39293 2014-03-25  Andreas Schwab  <schwab@suse.de>
39295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39296         label to be used after in6ailist is initialized.
39298 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39300         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39301         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39303 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39305         [BZ #16357]
39306         [BZ #16599]
39307         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39308         min_plus_half.
39309         (fp_formats): Update initializers.
39310         (init_fp_formats): Initialize new field.
39311         (output_for_one_input_case): Allow underflow for results up to
39312         min_plus_half.
39313         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39314         * math/auto-libm-test-in: Don't mark some underflows from asin and
39315         atanh as spurious.
39316         * math/auto-libm-test-out: Regenerated.
39317         * sysdeps/i386/fpu/libm-test-ulps: Update.
39318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320 2014-03-25  Andreas Schwab  <schwab@suse.de>
39322         * libio/Makefile (tst-ftell-partial-wide-ENV)
39323         (tst-ftell-active-handler-ENV): Define.
39325 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39327         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39329 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39331         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39333 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39335         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39336         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39337         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39339 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39341         [BZ #16634]
39342         * elf/dl-load.c (open_verify): Add mode parameter.
39343         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39344         (open_path): Change from boolean 'secure' to complete flag 'mode'
39345         (_dl_map_object): Adjust.
39346         * elf/Makefile (tests): Add tst-dlopen-aout.
39347         * elf/tst-dlopen-aout.c: New test.
39349 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39351         [BZ #16714]
39352         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39353         (struct stat): Rename member pad0 to __glibc_reserved0.
39355         [BZ #16712]
39356         * sysdeps/s390/s390-32/bits/wordsize.h
39357         (__WORDSIZE32_SIZE_ULONG): New define.
39358         * sysdeps/s390/s390-64/bits/wordsize.h
39359         (__WORDSIZE32_SIZE_ULONG): Likewise.
39360         * sysdeps/generic/stdint.h (SIZE_MAX):
39361         Define as UL if __WORDSIZE32_SIZE_ULONG.
39363         [BZ #16713]
39364         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39365         (__glibc_reserved0): New variable.
39366         (sa_flags): Change type to int.
39368         * posix/Makefile (before-compile): Use += before-compile instead
39369         of a :=.
39371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39372         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39374 2014-03-20  Andreas Schwab  <schwab@suse.de>
39376         [BZ #16743]
39377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39378         non-matching result from nscd.
39380 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39382         * scripts/bench.py: Moved to ...
39383         * benchtests/scripts/bench.py: ... here.
39384         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39386 2014-03-24  Andreas Schwab  <schwab@suse.de>
39388         [BZ #16002]
39389         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39390         alloca_account and account alloca use for struct in6ailist.
39392 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39394         [BZ #16284]
39395         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39396         rounding mode to recompute results that overflow to infinity or
39397         underflow to zero.
39398         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39399         bug 16284.
39400         * math/auto-libm-test-out: Regenerated.
39401         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39402         (ccosh_test): Likewise.
39403         (csin_test_data): Use plus_oflow.
39404         (csin_test): Use ALL_RM_TEST.
39405         (csinh_test_data): Use plus_oflow.
39406         (csinh_test): Use ALL_RM_TEST.
39407         * sysdeps/i386/fpu/libm-test-ulps: Update.
39408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39410 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39412         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39413         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39414         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39416         [BZ #16731]
39417         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39418         when x - 1 is zero.
39419         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39420         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39421         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39422         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39423         argument is 1.
39424         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39425         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39426         zero.
39427         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39431 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39433         * scripts/bench.pl: Remove file.
39434         * scripts/bench.py: New benchmark script.
39435         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39436         * benchtests/README: Mention python dependency.
39437         * scripts/pylintrc: New file.
39438         * scripts/pylint: New file.
39440         * bits/mathdef.h: Use #ifdef instead of #if.
39441         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39442         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39443         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39444         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39445         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39448 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39449             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39451         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39453         and strpbrk-ppc64 objects.
39454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39455         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39456         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39457         multiarch strpbrk for POWER7.
39458         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39459         multiarch strpbrk for PPC64.
39460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39461         ifunc selector.
39462         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39463         strpbrk for POWER7.
39465 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39467         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39468         (atan_test): Likewise.
39469         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39470         (atanh_test): Use ALL_RM_TEST.
39471         (atan2_test_data): Likewise.
39472         (cabs_test): Likewise.
39473         (cacosh_test): Likewise.
39474         (carg_test): Likewise.
39475         (casin_test): Likewise.
39476         (casinh_test): Likewise.
39477         (cbrt_test): Likewise.
39478         (csqrt_test): Likewise.
39479         (erf_test): Likewise.
39480         (erfc_test): Likewise.
39481         (pow10_test): Likewise.
39482         (exp2_test): Likewise.
39483         (hypot_test): Likewise.
39484         (j0_test): Likewise.
39485         (j1_test): Likewise.
39486         (lgamma_test): Likewise.
39487         (gamma_test): Likewise.
39488         (sincos_test): Likewise.
39489         (tanh_test): Likewise.
39490         (y0_test): Likewise.
39491         (y1_test): Likewise.
39492         * sysdeps/i386/fpu/libm-test-ulps: Update.
39493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39495 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39497         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39499         and strcspn-ppc64 objects.
39500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39501         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39502         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39503         multiarch strcspn for POWER7.
39504         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39505         multiarch strcspn for PPC64.
39506         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39507         ifunc selector.
39508         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39509         strcspn for POWER7.
39511 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39513         * math/gen-libm-test.pl (generate_testfile): Expect only function
39514         name as argument to AUTO_TESTS_* and pass results for all rounding
39515         modes to parse_args.
39516         (parse_auto_input): Separate inputs of automatic tests from
39517         outputs before storing in %auto_tests.
39518         * math/libm-test.inc (acos_test_data): Update call to
39519         AUTO_TESTS_f_f.
39520         (acos_test): Use ALL_RM_TEST.
39521         (acos_tonearest_test_data): Remove.
39522         (acos_test_tonearest): Likewise.
39523         (acos_towardzero_test_data): Likewise.
39524         (acos_test_towardzero): Likewise.
39525         (acos_downward_test_data): Likewise.
39526         (acos_test_downward): Likewise.
39527         (acos_upward_test_data): Likewise.
39528         (acos_test_upward): Likewise.
39529         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39530         (asin_test_data): Likewise.
39531         (asin_test): Use ALL_RM_TEST.
39532         (asin_tonearest_test_data): Remove.
39533         (asin_test_tonearest): Likewise.
39534         (asin_towardzero_test_data): Likewise.
39535         (asin_test_towardzero): Likewise.
39536         (asin_downward_test_data): Likewise.
39537         (asin_test_downward): Likewise.
39538         (asin_upward_test_data): Likewise.
39539         (asin_test_upward): Likewise.
39540         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39541         (atan_test_data): Likewise.
39542         (atanh_test_data): Likewise.
39543         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39544         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39545         (carg_test_data): Likewise.
39546         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39547         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39548         (ccosh_test_data): Likewise.
39549         (cexp_test_data): Likewise.
39550         (clog_test_data): Likewise.
39551         (clog10_test_data): Likewise.
39552         (cos_test_data): Update call to AUTO_TESTS_f_f.
39553         (cos_test): Use ALL_RM_TEST.
39554         (cos_tonearest_test_data): Remove.
39555         (cos_test_tonearest): Likewise.
39556         (cos_towardzero_test_data): Likewise.
39557         (cos_test_towardzero): Likewise.
39558         (cos_downward_test_data): Likewise.
39559         (cos_test_downward): Likewise.
39560         (cos_upward_test_data): Likewise.
39561         (cos_test_upward): Likewise.
39562         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39563         (cosh_test): Use ALL_RM_TEST.
39564         (cosh_tonearest_test_data): Remove.
39565         (cosh_test_tonearest): Likewise.
39566         (cosh_towardzero_test_data): Likewise.
39567         (cosh_test_towardzero): Likewise.
39568         (cosh_downward_test_data): Likewise.
39569         (cosh_test_downward): Likewise.
39570         (cosh_upward_test_data): Likewise.
39571         (cosh_test_upward): Likewise.
39572         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39573         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39574         (ctan_test_data): Likewise.
39575         (ctan_test): Use ALL_RM_TEST.
39576         (ctan_tonearest_test_data): Remove.
39577         (ctan_test_tonearest): Likewise.
39578         (ctan_towardzero_test_data): Likewise.
39579         (ctan_test_towardzero): Likewise.
39580         (ctan_downward_test_data): Likewise.
39581         (ctan_test_downward): Likewise.
39582         (ctan_upward_test_data): Likewise.
39583         (ctan_test_upward): Likewise.
39584         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39585         (ctanh_test): Use ALL_RM_TEST.
39586         (ctanh_tonearest_test_data): Remove.
39587         (ctanh_test_tonearest): Likewise.
39588         (ctanh_towardzero_test_data): Likewise.
39589         (ctanh_test_towardzero): Likewise.
39590         (ctanh_downward_test_data): Likewise.
39591         (ctanh_test_downward): Likewise.
39592         (ctanh_upward_test_data): Likewise.
39593         (ctanh_test_upward): Likewise.
39594         (erf_test_data): Update call to AUTO_TESTS_f_f.
39595         (erfc_test_data): Likewise.
39596         (exp_test_data): Likewise.
39597         (exp_test): Use ALL_RM_TEST.
39598         (exp_tonearest_test_data): Remove.
39599         (exp_test_tonearest): Likewise.
39600         (exp_towardzero_test_data): Likewise.
39601         (exp_test_towardzero): Likewise.
39602         (exp_downward_test_data): Likewise.
39603         (exp_test_downward): Likewise.
39604         (exp_upward_test_data): Likewise.
39605         (exp_test_upward): Likewise.
39606         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39607         (exp10_test): Use ALL_RM_TEST.
39608         (exp10_tonearest_test_data): Remove.
39609         (exp10_test_tonearest): Likewise.
39610         (exp10_towardzero_test_data): Likewise.
39611         (exp10_test_towardzero): Likewise.
39612         (exp10_downward_test_data): Likewise.
39613         (exp10_test_downward): Likewise.
39614         (exp10_upward_test_data): Likewise.
39615         (exp10_test_upward): Likewise.
39616         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39617         (expm1_test_data): Likewise.
39618         (expm1_test): Use ALL_RM_TEST.
39619         (expm1_tonearest_test_data): Remove.
39620         (expm1_test_tonearest): Likewise.
39621         (expm1_towardzero_test_data): Likewise.
39622         (expm1_test_towardzero): Likewise.
39623         (expm1_downward_test_data): Likewise.
39624         (expm1_test_downward): Likewise.
39625         (expm1_upward_test_data): Likewise.
39626         (expm1_test_upward): Likewise.
39627         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39628         (fma_test): Use ALL_RM_TEST.
39629         (fma_towardzero_test_data): Remove.
39630         (fma_test_towardzero): Likewise.
39631         (fma_downward_test_data): Likewise.
39632         (fma_test_downward): Likewise.
39633         (fma_upward_test_data): Likewise.
39634         (fma_test_upward): Likewise.
39635         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39636         (j0_test_data): Update call to AUTO_TESTS_f_f.
39637         (j1_test_data): Likewise.
39638         (jn_test_data): Update call to AUTO_TESTS_if_f.
39639         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39640         (log_test_data): Update call to AUTO_TESTS_f_f.
39641         (log10_test_data): Likewise.
39642         (log1p_test_data): Likewise.
39643         (log2_test_data): Likewise.
39644         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39645         (pow_tonearest_test_data): Likewise.
39646         (sin_test_data): Update call to AUTO_TESTS_f_f.
39647         (sin_test): Use ALL_RM_TEST.
39648         (sin_tonearest_test_data): Remove.
39649         (sin_test_tonearest): Likewise.
39650         (sin_towardzero_test_data): Likewise.
39651         (sin_test_towardzero): Likewise.
39652         (sin_downward_test_data): Likewise.
39653         (sin_test_downward): Likewise.
39654         (sin_upward_test_data): Likewise.
39655         (sin_test_upward): Likewise.
39656         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39657         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39658         (sinh_test): Use ALL_RM_TEST.
39659         (sinh_tonearest_test_data): Remove.
39660         (sinh_test_tonearest): Likewise.
39661         (sinh_towardzero_test_data): Likewise.
39662         (sinh_test_towardzero): Likewise.
39663         (sinh_downward_test_data): Likewise.
39664         (sinh_test_downward): Likewise.
39665         (sinh_upward_test_data): Likewise.
39666         (sinh_test_upward): Likewise.
39667         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39668         (sqrt_test): Use ALL_RM_TEST.
39669         (sqrt_tonearest_test_data): Remove.
39670         (sqrt_test_tonearest): Likewise.
39671         (sqrt_towardzero_test_data): Likewise.
39672         (sqrt_test_towardzero): Likewise.
39673         (sqrt_downward_test_data): Likewise.
39674         (sqrt_test_downward): Likewise.
39675         (sqrt_upward_test_data): Likewise.
39676         (sqrt_test_upward): Likewise.
39677         (tan_test_data): Update call to AUTO_TESTS_f_f.
39678         (tan_test): Use ALL_RM_TEST.
39679         (tan_tonearest_test_data): Remove.
39680         (tan_test_tonearest): Likewise.
39681         (tan_towardzero_test_data): Likewise.
39682         (tan_test_towardzero): Likewise.
39683         (tan_downward_test_data): Likewise.
39684         (tan_test_downward): Likewise.
39685         (tan_upward_test_data): Likewise.
39686         (tan_test_upward): Likewise.
39687         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39688         (tgamma_test_data): Likewise.
39689         (y0_test_data): Likewise.
39690         (y1_test_data): Likewise.
39691         (yn_test_data): Update call to AUTO_TESTS_if_f.
39692         (main): Do not call removed functions.
39694 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39696         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39697         (ldexp_test_data): Remove.
39698         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39699         scalbn_test_data.
39700         (scalb_test): Use ALL_RM_TEST.
39702 2014-03-19  Andreas Schwab  <schwab@suse.de>
39704         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39706 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39708         [BZ #16649]
39709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39710         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39711         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39713         (__ASSUME_PREADV): Undefine.
39714         (__ASSUME_PWRITEV): Likewise.
39716 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39718         * bits/mman-linux.h: Add comment about non-Linux use.
39719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39720         bits/mman-linux.h resting place.
39722         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39723         * bits/mman-linux.h: ... here.
39725 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39727         * conform/conformtest.pl: Add standard definition when calling C
39728         preprocessor on data files.
39729         (checknamespace): Remove unused variable.
39731 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39733         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39734         minus_oflow, plus_uflow and minus_uflow in expected results.
39735         * math/libm-test.inc (scalbn_test_data): Add more tests of
39736         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39737         minus_uflow.
39738         (scalbn_test): Use ALL_RM_TEST.
39739         (scalbln_test_data): Add more tests of negative arguments.  Use
39740         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39741         (scalbln_test): Use ALL_RM_TEST.
39743 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39745         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39747 2014-03-18  Will Newton  <will.newton@linaro.org>
39749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39750         inaccurate comment.
39752 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39754         * Makerules [!subdir] (check-abi): Exit with error status if a
39755         test failed.
39757 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39759         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39760         for rint.  Include results for all rounding modes.
39761         (nearbyint_test): Use ALL_RM_TEST.
39762         (rint_test_data): Include all tests used for nearbyint.
39764 2014-03-17  Will Newton  <will.newton@linaro.org>
39766         * nptl/sysdeps/pthread/pthread.h: Revert previous
39767         change.
39769         * sysdeps/generic/ldsodefs.h: Revert previous
39770         change.
39772         * libio/genops.c: Revert previous change.
39773         * libio/libioP.h: Likewise.
39774         * stdio-common/vfprintf.c: Likewise.
39776         * sysdeps/generic/math_private.h: Revert previous
39777         change.
39779         * sysdeps/generic/math_private.h: Check whether
39780         HAVE_RM_CTX is defined with #ifdef rather
39781         than #if.
39783         * argp/argp-fmtstream.h: Check whether
39784         __STRICT_ANSI__ is defined with #ifdef rather
39785         than #if.
39786         * argp/argp.h: Likewise.
39788         * libio/genops.c: Check whether
39789         _IO_JUMPS_OFFSET is defined with #ifdef rather
39790         than #if.
39791         * libio/libioP.h: Likewise.
39792         * stdio-common/vfprintf.c: Likewise.
39794         * sysdeps/generic/ldsodefs.h: Check whether
39795         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39796         than #if.
39798         * nptl/sysdeps/pthread/pthread.h: Check
39799         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39800         its value.
39802 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39804         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39805         setting O_APPEND.
39806         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39807         test case.
39809         [BZ #16680]
39810         * libio/fileops.c (_IO_file_open): Seek to end of file but
39811         don't cache the offset.
39812         (get_file_offset): Remove function.
39813         (do_ftell): Use cached offset when available.
39814         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39815         don't cache the offset.
39816         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39817         case.
39818         (do_one_test): Call it.
39819         (do_ftell_test): Fix up expected old offset for a+ mode.
39820         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39821         available.
39823         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39824         up test status with function return status.
39825         (do_write_test): Likewise.
39826         (do_append_test): Likewise.
39828         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39829         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39830         Remove.
39832 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39834         * math/gen-libm-test.pl (parse_args): Handle results specified for
39835         each rounding mode separately.
39836         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39837         tests and results from lrint_tonearest_test_data,
39838         lrint_towardzero_test_data, lrint_downward_test_data and
39839         lrint_upward_test_data.
39840         (lrint_test): Use ALL_RM_TEST.
39841         (lrint_tonearest_test_data): Remove.
39842         (lrint_test_tonearest): Likewise.
39843         (lrint_towardzero_test_data): Likewise.
39844         (lrint_test_towardzero): Likewise.
39845         (lrint_downward_test_data): Likewise.
39846         (lrint_test_downward): Likewise.
39847         (lrint_upward_test_data): Likewise.
39848         (lrint_test_upward): Likewise.
39849         (llrint_test_data): Merge in per-rounding-mode tests and results
39850         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39851         llrint_downward_test_data and llrint_upward_test_data.
39852         (llrint_test): Use ALL_RM_TEST.
39853         (llrint_tonearest_test_data): Remove.
39854         (llrint_test_tonearest): Likewise.
39855         (llrint_towardzero_test_data): Likewise.
39856         (llrint_test_towardzero): Likewise.
39857         (llrint_downward_test_data): Likewise.
39858         (llrint_test_downward): Likewise.
39859         (llrint_upward_test_data): Likewise.
39860         (llrint_test_upward): Likewise.
39861         (rint_test_data): Merge in per-rounding-mode tests and results
39862         from rint_tonearest_test_data, rint_towardzero_test_data,
39863         rint_downward_test_data and rint_upward_test_data.  Add
39864         per-rounding-mode results for tests not in those arrays.
39865         (rint_test): Use ALL_RM_TEST.
39866         (rint_tonearest_test_data): Remove.
39867         (rint_test_tonearest): Likewise.
39868         (rint_towardzero_test_data): Likewise.
39869         (rint_test_towardzero): Likewise.
39870         (rint_downward_test_data): Likewise.
39871         (rint_test_downward): Likewise.
39872         (rint_upward_test_data): Likewise.
39873         (rint_test_upward): Likewise.
39874         (main): Don't call removed functions.
39876 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39878         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39879         "Compiled on ..." crapola.  It is anti-useful.
39881 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39883         * scripts/evaluate-test.sh: Handle fourth argument to determine
39884         whether test run should stop on failure.
39885         * Makeconfig (stop-on-test-failure): New variable.
39886         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39887         $(stop-on-test-failure).
39888         * Makefile (tests): Give a summary of results from testing and
39889         exit with failure status if they include an ERROR or FAIL.
39890         (xtests): Likewise.
39891         * manual/install.texi (Configuring and compiling): Mention
39892         stop-on-test-failure=y.
39893         * INSTALL: Regenerated.
39895 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39897         * scripts/versionlist.awk: New file.
39898         * Makerules [$(build-shared) = yes]
39899         (postclean-generated): Add Versions.def, not Versions.def.v and
39900         Versions.def.v.i.
39901         ($(common-objpfx)Versions.def.v.i): Target removed.
39902         ($(common-objpfx)Versions.def): New target.
39903         ($(common-objpfx)Versions.all): Depend on that rather that
39904         $(common-objpfx)Versions.def.v.
39905         * Versions.def: File removed.
39907         * Makeconfig (+gccwarn): Add -Wundef.
39908         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39909         a dl-sysdep.h breaking its contract.
39910         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39911         * include/stackinfo.h: New file.
39912         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39913         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39914         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39915         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39916         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39917         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39918         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39919         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39920         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39921         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39922         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39923         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39924         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39925         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39926         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39928 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39930         [BZ #16707]
39931         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39932         implementation.
39933         * math/libm-test.inc (round_test_data): Add more tests.
39935         [BZ #16706]
39936         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39937         implementation.
39938         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39940         [BZ #16701]
39941         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39942         implementation.
39943         * math/libm-test.inc (ceil_test_data): Add more tests.
39945         * math/libm-test.inc (trunc_test_data): Add more tests related to
39946         BZ#16414.
39948 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39950         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39951         with #if rather than #ifdef.
39952         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39954 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39956         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39957         first.  Disable AVX-512 GCC support if assembler doesn't support
39958         it.
39959         * sysdeps/x86_64/configure: Regenerated.
39961 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39963         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39964         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39965         (__old_pthread_attr_setstack): Likewise.
39966         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39967         [!_STACK_GROWS_DOWN]: Likewise.
39969 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39971         * config.make.in (have-bash2): Delete.
39972         * configure.ac (libc_cv_have_bash2): Delete.
39973         * configure: Regenerate.
39974         * elf/Makefile (common-ldd-rewrite): Rename to ...
39975         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39976         (sh-ldd-rewrite): Delete.
39977         (bash-ldd-rewrite): Delete.
39978         (have-bash2): Delete checks.
39979         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39980         ldd-rewrite.
39982         * config.make.in (have-ksh): Delete.
39983         (KSH): Delete.
39984         * configure.ac (libc_cv_have_ksh): Delete.
39985         * configure: Regenerate.
39987         * elf/Makefile: Delete $(have-ksh) check.
39988         ($(objpfx)sotruss): Change KSH to BASH.
39989         * elf/sotruss.ksh: Rename to ...
39990         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39991         function style to match POSIX.  Drop ksh vim mode setting.
39993         * manual/time.texi (Specifying the Time Zone with TZ): Change
39994         Tuesday to Thursday.
39996         * debug/tst-longjmp_chk2.c: Update header comment.
39997         (stackoverflow_handler): Add comment.  Call assert on pass value.
39999 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40001         [BZ #16194]
40002         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40003         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40004         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40005         (La_x86_64_vector): Add zmm.
40006         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40007         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40008         ($(objpfx)tst-audit10): New target.
40009         ($(objpfx)tst-audit10.out): Likewise.
40010         (tst-audit10-ENV): New.
40011         (AVX512-CFLAGS): Likewise.
40012         (CFLAGS-tst-audit10.c): Likewise.
40013         (CFLAGS-tst-auditmod10a.c): Likewise.
40014         (CFLAGS-tst-auditmod10b.c): Likewise.
40015         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40016         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40017         * sysdeps/x86_64/configure: Regenerated.
40018         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40019         AVX-512 zmm register support.
40020         (_dl_x86_64_save_sse): Likewise.
40021         (_dl_x86_64_restore_sse): Likewise.
40022         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40023         size vector registers.
40024         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40025         (ZMM_SIZE): Likewise.
40026         * sysdeps/x86_64/tst-audit10.c: New file.
40027         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40028         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40030 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40032         * configure.ac (HAVE_EHDR_START): New check.
40033         * configure: Regenerated.
40034         * config.h.in (HAVE_EHDR_START): New #undef.
40035         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40036         assuming the lowest-addressed segment maps the start of the file.
40038 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40040         * INSTALL: Regenerated.
40042 2014-03-13  Will Newton  <will.newton@linaro.org>
40044         * manual/setjmp.texi (System V contexts): Improve
40045         clarity and grammar of documentation.
40047 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40049         [BZ #16381]
40050         * elf/Makefile (tests): Add tst-pie2.
40051         (tests-pie): Add tst-pie2.
40052         * elf/tst-pie2.c: New file.
40053         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40054         for ET_EXEC.
40055         * elf/rtld.c (map_doit): Load executable as lt_executable.
40056         (dl_main): Likewise.
40058 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40060         [BZ #16642]
40061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40062         (__ASSUME_PSELECT): Undefine.
40064 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40066         [BZ #16689]
40067         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40068         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40069         static build.
40070         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40071         selector for static builds.
40073 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40075         [BZ #16695]
40076         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40077         key in the buffer.
40079 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40081         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40082         IFUNC selector for static builds.
40084 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40086         * sysdeps/mips/math_private.h [__mips_hard_float]
40087         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40088         libc_feresetround_mips_ctx.
40089         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40090         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40091         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40093         [BZ #16677]
40094         * math/s_nextafter.c (__nextafter): Do not return value from
40095         overflowing computation.
40096         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40097         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40098         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40099         Likewise.
40100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40101         Likewise.
40102         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40103         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40105 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40107         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40108         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40109         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40110         the new mov targetting sp.
40112 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40114         [BZ #16683]
40115         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40116         Define it for static builds as well.
40117         (NO_BZERO_IMPL): Likewise.
40119 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40121         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40122         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40123         multiarch strspn for PPC64.
40124         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40125         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40127         (__libc_ifunc_impl_list): Likewise.
40128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40129         multiarch optimizations
40130         * string/strspn.c (strspn): Using macro to redefine symbol name.
40132 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40133             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40135         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40136         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40137         multiarch strncat for PPC64.
40138         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40139         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40141         (__libc_ifunc_impl_list): Likewise.
40142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40143         multiarch optimizations
40145 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40147         [BZ #16639]
40148         * nscd/nscd.service: Make service type forking.
40150 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40152         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40153         sign in non default rounding modes.
40154         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40156 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40158         * math/libm-test.inc (ALL_RM_TEST): New macro.
40159         (ceil_test): Use ALL_RM_TEST.
40160         (cimag_test): Likewise.
40161         (conj_test): Likewise.
40162         (copysign_test): Likewise.
40163         (cproj_test): Likewise.
40164         (creal_test): Likewise.
40165         (fabs_test): Likewise.
40166         (floor_test): Likewise.
40167         (fmax_test): Likewise.
40168         (fmin_test): Likewise.
40169         (fmod_test): Likewise.
40170         (fpclassify_test): Likewise.
40171         (frexp_test): Likewise.
40172         (ilogb_test): Likewise.
40173         (isfinite_test): Likewise.
40174         (finite_test): Likewise.
40175         (isgreater_test): Likewise.
40176         (isgreaterequal_test): Likewise.
40177         (isinf_test): Likewise.
40178         (isless_test): Likewise.
40179         (islessequal_test): Likewise.
40180         (islessgreater_test): Likewise.
40181         (isnan_test): Likewise.
40182         (isnormal_test): Likewise.
40183         (issignaling_test): Likewise.
40184         (isunordered_test): Likewise.
40185         (logb_test): Likewise.
40186         (logb_downward_test_data): Remove.
40187         (logb_test_downward): Likewise.
40188         (lround_test): Use ALL_RM_TEST.
40189         (llround_test): Likewise.
40190         (modf_test): Likewise.
40191         (nexttoward_test): Likewise.
40192         (remainder_test): Likewise.
40193         (drem_test): Likewise.
40194         (remainder_tonearest_test_data): Likewise.
40195         (remainder_test_tonearest): Likewise.
40196         (drem_test_tonearest): Likewise.
40197         (remainder_towardzero_test_data): Likewise.
40198         (remainder_test_towardzero): Likewise.
40199         (drem_test_towardzero): Likewise.
40200         (remainder_downward_test_data): Likewise.
40201         (remainder_test_downward): Likewise.
40202         (drem_test_downward): Likewise.
40203         (remainder_upward_test_data): Likewise.
40204         (remainder_test_upward): Likewise.
40205         (drem_test_upward): Likewise.
40206         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40207         (round_test): Use ALL_RM_TEST.
40208         (signbit_test): Likewise.
40209         (trunc_test): Likewise.
40210         (significand_test): Likewise.
40211         (main): Don't call removed functions.
40213 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40215         [BZ #16674]
40216         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40217         || __USE_XOPEN2K8].
40218         (ILL_ILLOPN): Likewise.
40219         (ILL_ILLADR): Likewise.
40220         (ILL_ILLTRP): Likewise.
40221         (ILL_PRVOPC): Likewise.
40222         (ILL_PRVREG): Likewise.
40223         (ILL_COPROC): Likewise.
40224         (ILL_BADSTK): Likewise.
40225         (FPE_INTDIV): Likewise.
40226         (FPE_INTOVF): Likewise.
40227         (FPE_FLTDIV): Likewise.
40228         (FPE_FLTOVF): Likewise.
40229         (FPE_FLTUND): Likewise.
40230         (FPE_FLTRES): Likewise.
40231         (FPE_FLTINV): Likewise.
40232         (FPE_FLTSUB): Likewise.
40233         (SEGV_MAPERR): Likewise.
40234         (SEGV_ACCERR): Likewise.
40235         (BUS_ADRALN): Likewise.
40236         (BUS_ADRERR): Likewise.
40237         (BUS_OBJERR): Likewise.
40238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40239         (TRAP_TRACE): Likewise.
40240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40241         __USE_XOPEN2K8].
40242         (CLD_KILLED): Likewise.
40243         (CLD_DUMPED): Likewise.
40244         (CLD_TRAPPED): Likewise.
40245         (CLD_STOPPED): Likewise.
40246         (CLD_CONTINUED): Likewise.
40247         (POLL_IN): Likewise.
40248         (POLL_OUT): Likewise.
40249         (POLL_MSG): Likewise.
40250         (POLL_ERR): Likewise.
40251         (POLL_PRI): Likewise.
40252         (POLL_HUP): Likewise.
40253         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40254         Likewise.
40255         (ILL_ILLOPN): Likewise.
40256         (ILL_ILLADR): Likewise.
40257         (ILL_ILLTRP): Likewise.
40258         (ILL_PRVOPC): Likewise.
40259         (ILL_PRVREG): Likewise.
40260         (ILL_COPROC): Likewise.
40261         (ILL_BADSTK): Likewise.
40262         (FPE_INTDIV): Likewise.
40263         (FPE_INTOVF): Likewise.
40264         (FPE_FLTDIV): Likewise.
40265         (FPE_FLTOVF): Likewise.
40266         (FPE_FLTUND): Likewise.
40267         (FPE_FLTRES): Likewise.
40268         (FPE_FLTINV): Likewise.
40269         (FPE_FLTSUB): Likewise.
40270         (SEGV_MAPERR): Likewise.
40271         (SEGV_ACCERR): Likewise.
40272         (BUS_ADRALN): Likewise.
40273         (BUS_ADRERR): Likewise.
40274         (BUS_OBJERR): Likewise.
40275         (BUS_MCEERR_AR): Likewise.
40276         (BUS_MCEERR_AO): Likewise.
40277         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40278         (TRAP_TRACE): Likewise.
40279         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40280         __USE_XOPEN2K8].
40281         (CLD_KILLED): Likewise.
40282         (CLD_DUMPED): Likewise.
40283         (CLD_TRAPPED): Likewise.
40284         (CLD_STOPPED): Likewise.
40285         (CLD_CONTINUED): Likewise.
40286         (POLL_IN): Likewise.
40287         (POLL_OUT): Likewise.
40288         (POLL_MSG): Likewise.
40289         (POLL_ERR): Likewise.
40290         (POLL_PRI): Likewise.
40291         (POLL_HUP): Likewise.
40292         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40293         (ILL_ILLOPN): Likewise.
40294         (ILL_ILLADR): Likewise.
40295         (ILL_ILLTRP): Likewise.
40296         (ILL_PRVOPC): Likewise.
40297         (ILL_PRVREG): Likewise.
40298         (ILL_COPROC): Likewise.
40299         (ILL_BADSTK): Likewise.
40300         (FPE_INTDIV): Likewise.
40301         (FPE_INTOVF): Likewise.
40302         (FPE_FLTDIV): Likewise.
40303         (FPE_FLTOVF): Likewise.
40304         (FPE_FLTUND): Likewise.
40305         (FPE_FLTRES): Likewise.
40306         (FPE_FLTINV): Likewise.
40307         (FPE_FLTSUB): Likewise.
40308         (SEGV_MAPERR): Likewise.
40309         (SEGV_ACCERR): Likewise.
40310         (BUS_ADRALN): Likewise.
40311         (BUS_ADRERR): Likewise.
40312         (BUS_OBJERR): Likewise.
40313         (BUS_MCEERR_AR): Likewise.
40314         (BUS_MCEERR_AO): Likewise.
40315         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40316         (TRAP_TRACE): Likewise.
40317         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40318         __USE_XOPEN2K8].
40319         (CLD_KILLED): Likewise.
40320         (CLD_DUMPED): Likewise.
40321         (CLD_TRAPPED): Likewise.
40322         (CLD_STOPPED): Likewise.
40323         (CLD_CONTINUED): Likewise.
40324         (POLL_IN): Likewise.
40325         (POLL_OUT): Likewise.
40326         (POLL_MSG): Likewise.
40327         (POLL_ERR): Likewise.
40328         (POLL_PRI): Likewise.
40329         (POLL_HUP): Likewise.
40330         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40331         Likewise.
40332         (ILL_ILLOPN): Likewise.
40333         (ILL_ILLADR): Likewise.
40334         (ILL_ILLTRP): Likewise.
40335         (ILL_PRVOPC): Likewise.
40336         (ILL_PRVREG): Likewise.
40337         (ILL_COPROC): Likewise.
40338         (ILL_BADSTK): Likewise.
40339         (ILL_BADIADDR): Likewise.
40340         (ILL_BREAK): Likewise.
40341         (FPE_INTDIV): Likewise.
40342         (FPE_INTOVF): Likewise.
40343         (FPE_FLTDIV): Likewise.
40344         (FPE_FLTOVF): Likewise.
40345         (FPE_FLTUND): Likewise.
40346         (FPE_FLTRES): Likewise.
40347         (FPE_FLTINV): Likewise.
40348         (FPE_FLTSUB): Likewise.
40349         (FPE_DECOVF): Likewise.
40350         (FPE_DECDIV): Likewise.
40351         (FPE_DECERR): Likewise.
40352         (FPE_INVASC): Likewise.
40353         (FPE_INVDEC): Likewise.
40354         (SEGV_MAPERR): Likewise.
40355         (SEGV_ACCERR): Likewise.
40356         (SEGV_PSTKOVF): Likewise.
40357         (BUS_ADRALN): Likewise.
40358         (BUS_ADRERR): Likewise.
40359         (BUS_OBJERR): Likewise.
40360         (BUS_MCEERR_AR): Likewise.
40361         (BUS_MCEERR_AO): Likewise.
40362         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40363         (TRAP_TRACE): Likewise.
40364         (TRAP_BRANCH): Likewise.
40365         (TRAP_HWBKPT): Likewise.
40366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40367         __USE_XOPEN2K8].
40368         (CLD_KILLED): Likewise.
40369         (CLD_DUMPED): Likewise.
40370         (CLD_TRAPPED): Likewise.
40371         (CLD_STOPPED): Likewise.
40372         (CLD_CONTINUED): Likewise.
40373         (POLL_IN): Likewise.
40374         (POLL_OUT): Likewise.
40375         (POLL_MSG): Likewise.
40376         (POLL_ERR): Likewise.
40377         (POLL_PRI): Likewise.
40378         (POLL_HUP): Likewise.
40379         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40380         (ILL_ILLOPN): Likewise.
40381         (ILL_ILLADR): Likewise.
40382         (ILL_ILLTRP): Likewise.
40383         (ILL_PRVOPC): Likewise.
40384         (ILL_PRVREG): Likewise.
40385         (ILL_COPROC): Likewise.
40386         (ILL_BADSTK): Likewise.
40387         (FPE_INTDIV): Likewise.
40388         (FPE_INTOVF): Likewise.
40389         (FPE_FLTDIV): Likewise.
40390         (FPE_FLTOVF): Likewise.
40391         (FPE_FLTUND): Likewise.
40392         (FPE_FLTRES): Likewise.
40393         (FPE_FLTINV): Likewise.
40394         (FPE_FLTSUB): Likewise.
40395         (SEGV_MAPERR): Likewise.
40396         (SEGV_ACCERR): Likewise.
40397         (BUS_ADRALN): Likewise.
40398         (BUS_ADRERR): Likewise.
40399         (BUS_OBJERR): Likewise.
40400         (BUS_MCEERR_AR): Likewise.
40401         (BUS_MCEERR_AO): Likewise.
40402         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40403         (TRAP_TRACE): Likewise.
40404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40405         __USE_XOPEN2K8].
40406         (CLD_KILLED): Likewise.
40407         (CLD_DUMPED): Likewise.
40408         (CLD_TRAPPED): Likewise.
40409         (CLD_STOPPED): Likewise.
40410         (CLD_CONTINUED): Likewise.
40411         (POLL_IN): Likewise.
40412         (POLL_OUT): Likewise.
40413         (POLL_MSG): Likewise.
40414         (POLL_ERR): Likewise.
40415         (POLL_PRI): Likewise.
40416         (POLL_HUP): Likewise.
40417         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40418         (ILL_ILLOPN): Likewise.
40419         (ILL_ILLADR): Likewise.
40420         (ILL_ILLTRP): Likewise.
40421         (ILL_PRVOPC): Likewise.
40422         (ILL_PRVREG): Likewise.
40423         (ILL_COPROC): Likewise.
40424         (ILL_BADSTK): Likewise.
40425         (FPE_INTDIV): Likewise.
40426         (FPE_INTOVF): Likewise.
40427         (FPE_FLTDIV): Likewise.
40428         (FPE_FLTOVF): Likewise.
40429         (FPE_FLTUND): Likewise.
40430         (FPE_FLTRES): Likewise.
40431         (FPE_FLTINV): Likewise.
40432         (FPE_FLTSUB): Likewise.
40433         (SEGV_MAPERR): Likewise.
40434         (SEGV_ACCERR): Likewise.
40435         (BUS_ADRALN): Likewise.
40436         (BUS_ADRERR): Likewise.
40437         (BUS_OBJERR): Likewise.
40438         (BUS_MCEERR_AR): Likewise.
40439         (BUS_MCEERR_AO): Likewise.
40440         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40441         (TRAP_TRACE): Likewise.
40442         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40443         __USE_XOPEN2K8].
40444         (CLD_KILLED): Likewise.
40445         (CLD_DUMPED): Likewise.
40446         (CLD_TRAPPED): Likewise.
40447         (CLD_STOPPED): Likewise.
40448         (CLD_CONTINUED): Likewise.
40449         (POLL_IN): Likewise.
40450         (POLL_OUT): Likewise.
40451         (POLL_MSG): Likewise.
40452         (POLL_ERR): Likewise.
40453         (POLL_PRI): Likewise.
40454         (POLL_HUP): Likewise.
40455         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40456         (ILL_ILLOPN): Likewise.
40457         (ILL_ILLADR): Likewise.
40458         (ILL_ILLTRP): Likewise.
40459         (ILL_PRVOPC): Likewise.
40460         (ILL_PRVREG): Likewise.
40461         (ILL_COPROC): Likewise.
40462         (ILL_BADSTK): Likewise.
40463         (FPE_INTDIV): Likewise.
40464         (FPE_INTOVF): Likewise.
40465         (FPE_FLTDIV): Likewise.
40466         (FPE_FLTOVF): Likewise.
40467         (FPE_FLTUND): Likewise.
40468         (FPE_FLTRES): Likewise.
40469         (FPE_FLTINV): Likewise.
40470         (FPE_FLTSUB): Likewise.
40471         (SEGV_MAPERR): Likewise.
40472         (SEGV_ACCERR): Likewise.
40473         (BUS_ADRALN): Likewise.
40474         (BUS_ADRERR): Likewise.
40475         (BUS_OBJERR): Likewise.
40476         (BUS_MCEERR_AR): Likewise.
40477         (BUS_MCEERR_AO): Likewise.
40478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40479         (TRAP_TRACE): Likewise.
40480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40481         __USE_XOPEN2K8].
40482         (CLD_KILLED): Likewise.
40483         (CLD_DUMPED): Likewise.
40484         (CLD_TRAPPED): Likewise.
40485         (CLD_STOPPED): Likewise.
40486         (CLD_CONTINUED): Likewise.
40487         (POLL_IN): Likewise.
40488         (POLL_OUT): Likewise.
40489         (POLL_MSG): Likewise.
40490         (POLL_ERR): Likewise.
40491         (POLL_PRI): Likewise.
40492         (POLL_HUP): Likewise.
40493         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40494         (ILL_ILLOPN): Likewise.
40495         (ILL_ILLADR): Likewise.
40496         (ILL_ILLTRP): Likewise.
40497         (ILL_PRVOPC): Likewise.
40498         (ILL_PRVREG): Likewise.
40499         (ILL_COPROC): Likewise.
40500         (ILL_BADSTK): Likewise.
40501         (ILL_DBLFLT): Likewise.
40502         (ILL_HARDWALL): Likewise.
40503         (FPE_INTDIV): Likewise.
40504         (FPE_INTOVF): Likewise.
40505         (FPE_FLTDIV): Likewise.
40506         (FPE_FLTOVF): Likewise.
40507         (FPE_FLTUND): Likewise.
40508         (FPE_FLTRES): Likewise.
40509         (FPE_FLTINV): Likewise.
40510         (FPE_FLTSUB): Likewise.
40511         (SEGV_MAPERR): Likewise.
40512         (SEGV_ACCERR): Likewise.
40513         (BUS_ADRALN): Likewise.
40514         (BUS_ADRERR): Likewise.
40515         (BUS_OBJERR): Likewise.
40516         (BUS_MCEERR_AR): Likewise.
40517         (BUS_MCEERR_AO): Likewise.
40518         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40519         (TRAP_TRACE): Likewise.
40520         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40521         __USE_XOPEN2K8].
40522         (CLD_KILLED): Likewise.
40523         (CLD_DUMPED): Likewise.
40524         (CLD_TRAPPED): Likewise.
40525         (CLD_STOPPED): Likewise.
40526         (CLD_CONTINUED): Likewise.
40527         (POLL_IN): Likewise.
40528         (POLL_OUT): Likewise.
40529         (POLL_MSG): Likewise.
40530         (POLL_ERR): Likewise.
40531         (POLL_PRI): Likewise.
40532         (POLL_HUP): Likewise.
40533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40534         (ILL_ILLOPN): Likewise.
40535         (ILL_ILLADR): Likewise.
40536         (ILL_ILLTRP): Likewise.
40537         (ILL_PRVOPC): Likewise.
40538         (ILL_PRVREG): Likewise.
40539         (ILL_COPROC): Likewise.
40540         (ILL_BADSTK): Likewise.
40541         (FPE_INTDIV): Likewise.
40542         (FPE_INTOVF): Likewise.
40543         (FPE_FLTDIV): Likewise.
40544         (FPE_FLTOVF): Likewise.
40545         (FPE_FLTUND): Likewise.
40546         (FPE_FLTRES): Likewise.
40547         (FPE_FLTINV): Likewise.
40548         (FPE_FLTSUB): Likewise.
40549         (SEGV_MAPERR): Likewise.
40550         (SEGV_ACCERR): Likewise.
40551         (BUS_ADRALN): Likewise.
40552         (BUS_ADRERR): Likewise.
40553         (BUS_OBJERR): Likewise.
40554         (BUS_MCEERR_AR): Likewise.
40555         (BUS_MCEERR_AO): Likewise.
40556         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40557         (TRAP_TRACE): Likewise.
40558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40559         __USE_XOPEN2K8].
40560         (CLD_KILLED): Likewise.
40561         (CLD_DUMPED): Likewise.
40562         (CLD_TRAPPED): Likewise.
40563         (CLD_STOPPED): Likewise.
40564         (CLD_CONTINUED): Likewise.
40565         (POLL_IN): Likewise.
40566         (POLL_OUT): Likewise.
40567         (POLL_MSG): Likewise.
40568         (POLL_ERR): Likewise.
40569         (POLL_PRI): Likewise.
40570         (POLL_HUP): Likewise.
40571         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40572         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40574         [BZ #16670]
40575         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40576         before #include of <time.h>.
40577         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40578         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40579         (test-xfail-UNIX98/sched.h/conform): Likewise.
40581 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40583         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40584         error absence of trapping exception support.
40585         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40587 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40589         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40590         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40591         * timezone/Makefile (testdata): Move definition above include of
40592         Rules.
40593         (test-zones): New variable.
40594         (tests-special): Add zone files.
40595         (build-testdata): Use $(evaluate-test).
40597         * elf/Makefile (tests-special): Rename tests to end with .out.
40598         ($(objpfx)noload-mem): Likewise.
40599         ($(objpfx)tst-leaks1-mem): Likewise.
40600         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40601         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40602         $(objpfx)test-iconvconfig.out.
40603         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40604         set -e inside subshell and redirect output to file.
40605         * iconvdata/Makefile (generated): Rename tests to end with .out.
40606         Correct type.
40607         (tests-special): Rename tests to end with .out.
40608         ($(objpfx)mtrace-tst-loading): Likewise.
40609         * intl/Makefile (generated): Likewise.
40610         (tests-special): Likewise.
40611         ($(objpfx)mtrace-tst-gettext): Likewise.
40612         * misc/Makefile (generated): Likewise.
40613         (tests-special): Likewise.
40614         ($(objpfx)tst-error1-mem): Likewise.
40615         * nptl/Makefile (tests-special): Likewise.
40616         ($(objpfx)tst-stack3-mem): Likewise.
40617         (generated): Likewise.
40618         * posix/Makefile (generated): Likewise.
40619         (tests-special): Likewise.
40620         (xtests-special): Likewise.
40621         ($(objpfx)tst-fnmatch-mem): Likewise.
40622         ($(objpfx)bug-regex2-mem): Likewise.
40623         ($(objpfx)bug-regex14-mem): Likewise.
40624         ($(objpfx)bug-regex21-mem): Likewise.
40625         ($(objpfx)bug-regex31-mem): Likewise.
40626         ($(objpfx)tst-vfork3-mem): Likewise.
40627         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40628         ($(objpfx)tst-pcre-mem): Likewise.
40629         ($(objpfx)tst-boost-mem): Likewise.
40630         ($(objpfx)bug-ga2-mem): Likewise.
40631         ($(objpfx)bug-glob2-mem): Likewise.
40632         * resolv/Makefile (generate): Likewise.
40633         (tests-special): Likewise.
40634         (xtests-special): Likewise.
40635         (generated): Likewise.
40636         ($(objpfx)mtrace-tst-leaks): Likewise.
40637         ($(objpfx)mtrace-tst-leaks2): Likewise.
40639         * scripts/merge-test-results.sh: New file.
40640         * Makefile (tests-special-notdir): New variable.
40641         (tests): Run merge-test-results.sh.
40642         (xtests): Likewise.
40643         * Rules (tests-special-notdir): New variable.
40644         (xtests-special-notdir): Likewise.
40645         (tests): Run merge-test-results.sh
40646         (xtests): Likewise.
40648         * Makeconfig (test-xfail-name): New variable.
40649         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40650         compute variable name for expected failures.
40651         * conform/Makefile (conformtest-headers-data): New variable.
40652         (conformtest-standards): Likewise.
40653         (conformtest-headers-ISO): Likewise.
40654         (conformtest-headers-ISO99): Likewise.
40655         (conformtest-headers-ISO11): Likewise.
40656         (conformtest-headers-POSIX): Likewise.
40657         (conformtest-headers-XPG3): Likewise.
40658         (conformtest-headers-XPG4): Likewise.
40659         (conformtest-headers-UNIX98): Likewise.
40660         (conformtest-headers-XOPEN2K): Likewise.
40661         (conformtest-headers-POSIX2008): Likewise.
40662         (conformtest-headers-XOPEN2K8): Likewise.
40663         (conformtest-header-list-base): Likewise.
40664         (conformtest-header-list-tests): Likewise.
40665         (conformtest-header-base): Likewise.
40666         (conformtest-header-tests): Likewise.
40667         (tests-special): Add $(conformtest-header-list-tests).  If
40668         [$(fast-check) && !$(cross-compiling)], add
40669         $(conformtest-header-tests) instead of
40670         $(objpfx)run-conformtest.out.
40671         (generated): Add $(conformtest-header-list-base).  If
40672         [$(fast-check) && !$(cross-compiling)], add
40673         $(conformtest-header-base).  Remove previous setting.
40674         ($(conformtest-header-list-tests)): New target.
40675         (test-xfail-run-conformtest): Remove variable.
40676         ($(objpfx)run-conformtest.out): Remove target.
40677         (test-xfail-ISO11/complex.h/conform): New variable.
40678         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40679         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40680         (test-xfail-XPG3/varargs.h/conform): Likewise.
40681         (test-xfail-XPG4/varargs.h/conform): Likewise.
40682         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40683         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40684         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40685         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40686         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40687         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40688         (test-xfail-XPG3/ftw.h/conform): Likewise.
40689         (test-xfail-XPG3/grp.h/conform): Likewise.
40690         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40691         (test-xfail-XPG3/limits.h/conform): Likewise.
40692         (test-xfail-XPG3/pwd.h/conform): Likewise.
40693         (test-xfail-XPG3/search.h/conform): Likewise.
40694         (test-xfail-XPG3/signal.h/conform): Likewise.
40695         (test-xfail-XPG3/stdio.h/conform): Likewise.
40696         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40697         (test-xfail-XPG3/string.h/conform): Likewise.
40698         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40699         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40700         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40701         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40702         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40703         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40704         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40705         (test-xfail-XPG3/termios.h/conform): Likewise.
40706         (test-xfail-XPG3/time.h/conform): Likewise.
40707         (test-xfail-XPG3/unistd.h/conform): Likewise.
40708         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40709         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40710         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40711         (test-xfail-XPG4/netdb.h/conform): Likewise.
40712         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40713         (test-xfail-XPG4/signal.h/conform): Likewise.
40714         (test-xfail-XPG4/stdio.h/conform): Likewise.
40715         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40716         (test-xfail-XPG4/stropts.h/conform): Likewise.
40717         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40718         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40719         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40720         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40721         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40722         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40723         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40724         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40725         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40726         (test-xfail-XPG4/termios.h/conform): Likewise.
40727         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40728         (test-xfail-XPG4/unistd.h/conform): Likewise.
40729         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40730         (test-xfail-POSIX/sched.h/conform): Likewise.
40731         (test-xfail-POSIX/signal.h/conform): Likewise.
40732         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40733         (test-xfail-POSIX/tar.h/conform): Likewise.
40734         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40735         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40736         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40737         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40738         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40739         (test-xfail-UNIX98/sched.h/conform): Likewise.
40740         (test-xfail-UNIX98/signal.h/conform): Likewise.
40741         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40742         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40743         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40744         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40745         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40746         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40747         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40748         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40749         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40750         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40751         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40752         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40753         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40754         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40755         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40756         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40757         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40758         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40759         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40760         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40761         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40762         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40763         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40764         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40765         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40766         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40767         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40768         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40769         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40770         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40771         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40772         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40773         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40774         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40775         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40776         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40777         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40778         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40779         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40780         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40781         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40782         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40783         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40784         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40785         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40786         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40787         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40788         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40789         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40790         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40791         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40792         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40793         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40794         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40795         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40796         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40797         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40798         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40799         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40800         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40801         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40802         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40803         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40804         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40805         (conformtest-cc-flags): Likewise.
40806         ($(conformtest-header-tests): New target.
40807         * conform/check-header-lists.sh: New file.
40808         * conform/run-conformtest.sh: Remove.
40810         * conform/conformtest.pl: Allow ' and \ in values given for
40811         constants.
40812         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40813         inclusion.
40814         [POSIX] (sys/types.h): Likewise.
40815         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40816         inclusion.
40817         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40818         inclusion.
40819         * conform/data/signal.h-data (SIGIO): Remove expectation.
40820         [XPG3] (SIGBUS): Do not expect.
40821         [POSIX || XPG3] (SIGPOLL): Likewise.
40822         [POSIX || XPG3] (SIGPROF): Likewise.
40823         [POSIX || XPG3] (SIGSYS): Likewise.
40824         [XPG3] (SIGTRAP): Likewise.
40825         [POSIX || XPG3] (SIGURG): Likewise.
40826         [POSIX || XPG3] (SIGVTALRM): Likewise.
40827         [POSIX || XPG3] (SIGXCPU): Likewise.
40828         [POSIX || XPG3] (SIGXFSZ): Likewise.
40829         [POSIX] (SA_SIGINFO): Expect.
40830         [XPG3] (siginfo_t): Do not expect type or contents.
40831         [POSIX] (si_pid): Do not expect element.
40832         [POSIX] (si_uid): Likewise.
40833         [POSIX] (si_addr): Likewise.
40834         [POSIX] (si_status): Likewise.
40835         [POSIX] (si_band): Likewise.
40836         [XPG4] (si_value): Likewise.
40837         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40838         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40839         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40840         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40841         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40842         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40843         [POSIX || XPG3] (ILL_COPROC): Likewise.
40844         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40845         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40846         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40847         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40848         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40849         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40850         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40851         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40852         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40853         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40854         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40855         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40856         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40857         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40858         [POSIX || XPG3] (CLD_EXITED): Likewise.
40859         [POSIX || XPG3] (CLD_KILLED): Likewise.
40860         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40861         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40862         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40863         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40864         [POSIX || XPG3] (POLL_IN): Likewise.
40865         [POSIX || XPG3] (POLL_OUT): Likewise.
40866         [POSIX || XPG3] (POLL_MSG): Likewise.
40867         [POSIX || XPG3] (POLL_ERR): Likewise.
40868         [POSIX || XPG3] (POLL_PRI): Likewise.
40869         [POSIX || XPG3] (POLL_HUP): Likewise.
40870         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40871         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40872         (SIG*): Do not allow.
40873         [XPG3] (si_*): Likewise.
40874         [XPG3] (SI_*): Likewise.
40875         [XPG3 || XPG4] (sigev_*): Likewise.
40876         [XPG3 || XPG4] (SIGEV_*): Likewise.
40877         [XPG3 || XPG4] (sival_*): Likewise.
40878         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40879         [POSIX || XPG3] (BUS_*): Likewise.
40880         [POSIX || XPG3] (CLD_*): Likewise.
40881         [POSIX || XPG3] (FPE_*): Likewise.
40882         [POSIX || XPG3] (ILL_*): Likewise.
40883         [POSIX || XPG3] (POLL_*): Likewise.
40884         [POSIX || XPG3] (SEGV_*): Likewise.
40885         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40886         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40887         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40888         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40889         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40890         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40891         Specify type and value.
40892         (TVERSLEN): Likewise.
40893         (REGTYPE): Likewise.
40894         (AREGTYPE): Likewise.
40895         (LNKTYPE): Likewise.
40896         (SYMTYPE): Likewise.
40897         (CHRTYPE): Likewise.
40898         (BLKTYPE): Likewise.
40899         (DIRTYPE): Likewise.
40900         (FIFOTYPE): Likewise.
40901         (CONTTYPE): Likewise.
40902         (TSUID): Likewise.
40903         (TSGID): Likewise.
40904         (TSVTX): Likewise.
40905         (TUREAD): Likewise.
40906         (TUWRITE): Likewise.
40907         (TUEXEC): Likewise.
40908         (TGREAD): Likewise.
40909         (TGWRITE): Likewise.
40910         (TGEXEC): Likewise.
40911         (TOREAD): Likewise.
40912         (TOWRITE): Likewise.
40913         (TOEXEC): Likewise.
40914         [POSIX] (TSVTX): Expect constant.
40916 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40918         * Makefile (tests): Change dependencies to ....
40919         (tests-special): ... additions to this variable.
40920         (tests): Depend on $(tests-special).
40921         * Makerules (check-abi-list): New variable.
40922         (check-abi): Depend on $(check-abi-list).
40923         [$(subdir) = elf] (tests-special): Add
40924         $(objpfx)check-abi-libc.out.
40925         [$(build-shared) = yes && subdir] (tests-special): Add
40926         $(check-abi-list).
40927         [$(build-shared) = yes && subdir] (tests): Do not depend on
40928         check-abi.
40929         * Rules (tests): Depend on $(tests-special).
40930         (xtests): Depend on $(xtests-special).
40931         * catgets/Makefile (tests): Change dependencies to ....
40932         (tests-special): ... additions to this variable.
40933         * conform/Makefile (tests): Change dependencies to ....
40934         (tests-special): ... additions to this variable.
40935         * elf/Makefile (tests): Change dependencies to ....
40936         (tests-special): ... additions to this variable.
40937         * grp/Makefile (tests): Change dependencies to ....
40938         (tests-special): ... additions to this variable.
40939         * iconv/Makefile (xtests): Change dependencies to ....
40940         (xtests-special): ... additions to this variable.
40941         * iconvdata/Makefile (tests): Change dependencies to ....
40942         (tests-special): ... additions to this variable.
40943         * intl/Makefile (tests): Change dependencies to ....
40944         (tests-special): ... additions to this variable.  Also add
40945         $(objpfx)tst-gettext.out.
40946         * io/Makefile (tests): Change dependencies to ....
40947         (tests-special): ... additions to this variable.
40948         * libio/Makefile (tests): Change dependencies to ....
40949         (tests-special): ... additions to this variable.
40950         * malloc/Makefile (tests): Change dependencies to ....
40951         (tests-special): ... additions to this variable.
40952         * misc/Makefile (tests): Change dependencies to ....
40953         (tests-special): ... additions to this variable.
40954         * nptl/Makefile (tests): Change dependencies to ....
40955         (tests-special): ... additions to this variable.
40956         * nptl_db/Makefile (tests): Change dependencies to ....
40957         (tests-special): ... additions to this variable.
40958         * posix/Makefile (tests): Change dependencies to ....
40959         (tests-special): ... additions to this variable.
40960         (xtests): Change dependencies to ....
40961         (xtests-special): ... additions to this variable.
40962         * resolv/Makefile (tests): Change dependencies to ....
40963         (tests-special): ... additions to this variable.
40964         (xtests): Change dependencies to ....
40965         (xtests-special): ... additions to this variable.
40966         * stdio-common/Makefile (tests): Change dependencies to ....
40967         (tests-special): ... additions to this variable.
40968         (do-tst-unbputc): Remove target.
40969         (do-tst-printf): Likewise.
40970         * stdlib/Makefile (tests): Change dependencies to ....
40971         (tests-special): ... additions to this variable.
40972         * string/Makefile (tests): Change dependencies to ....
40973         (tests-special): ... additions to this variable.
40974         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40975         (tests-special): ... additions to this variable.
40977         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40978         whole file.
40979         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40980         whole file.
40981         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40982         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40984         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40985         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40986         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40987         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40988         * conform/data/libgen.h-data [XPG3]: Likewise.
40989         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40990         * conform/data/ndbm.h-data [XPG3]: Likewise.
40991         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40992         * conform/data/netdb.h-data [XPG3]: Likewise.
40993         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40994         * conform/data/poll.h-data [XPG3]: Likewise.
40995         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40996         * conform/data/strings.h-data [XPG3]: Likewise.
40997         * conform/data/stropts.h-data [XPG3]: Likewise.
40998         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40999         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41000         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41001         Likewise.
41002         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41003         * conform/data/sys/time.h-data [XPG3]: Likewise.
41004         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41005         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41006         * conform/data/sys/un.h-data [XPG3]: Likewise.
41007         * conform/data/syslog.h-data [XPG3]: Likewise.
41008         * conform/data/ucontext.h-data [XPG3]: Likewise.
41009         * conform/data/utmpx.h-data [XPG3]: Likewise.
41010         * conform/data/varargs.h-data [UNIX98]: Enable file.
41012         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41014         * math/libm-test.inc (struct test_f_f_data): Move expected results
41015         into structure for each rounding mode.
41016         (struct test_ff_f_data): Likewise.
41017         (struct test_ff_f_data_nexttoward): Likewise.
41018         (struct test_fi_f_data): Likewise.
41019         (struct test_fl_f_data): Likewise.
41020         (struct test_if_f_data): Likewise.
41021         (struct test_fff_f_data): Likewise.
41022         (struct test_c_f_data): Likewise.
41023         (struct test_f_f1_data): Likewise.
41024         (struct test_fF_f1_data): Likewise.
41025         (struct test_ffI_f1_data): Likewise.
41026         (struct test_c_c_data): Likewise.
41027         (struct test_cc_c_data): Likewise.
41028         (struct test_f_i_data): Likewise.
41029         (struct test_ff_i_data): Likewise.
41030         (struct test_f_l_data): Likewise.
41031         (struct test_f_L_data): Likewise.
41032         (struct test_fFF_11_data): Likewise.
41033         (RM_): New macro.
41034         (RM_FE_DOWNWARD): Likewise.
41035         (RM_FE_TONEAREST): Likewise.
41036         (RM_FE_TOWARDZERO): Likewise.
41037         (RM_FE_UPWARD): Likewise.
41038         (RUN_TEST_LOOP_f_f): Update references to expected results.
41039         (RUN_TEST_LOOP_2_f): Likewise.
41040         (RUN_TEST_LOOP_fff_f): Likewise.
41041         (RUN_TEST_LOOP_c_f): Likewise.
41042         (RUN_TEST_LOOP_f_f1): Likewise.
41043         (RUN_TEST_LOOP_fF_f1): Likewise.
41044         (RUN_TEST_LOOP_fI_f1): Likewise.
41045         (RUN_TEST_LOOP_ffI_f1): Likewise.
41046         (RUN_TEST_LOOP_c_c): Likewise.
41047         (RUN_TEST_LOOP_cc_c): Likewise.
41048         (RUN_TEST_LOOP_f_i): Likewise.
41049         (RUN_TEST_LOOP_f_i_tg): Likewise.
41050         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41051         (RUN_TEST_LOOP_f_b): Likewise.
41052         (RUN_TEST_LOOP_f_b_tg): Likewise.
41053         (RUN_TEST_LOOP_f_l): Likewise.
41054         (RUN_TEST_LOOP_f_L): Likewise.
41055         (RUN_TEST_LOOP_fFF_11): Likewise.
41056         * math/gen-libm-test.pl (parse_args): Output four copies of
41057         expected results for each test.
41059         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41060         (__ASSUME_UTIMES): Remove.
41061         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41062         (__ASSUME_UTIMES): Likewise.
41064         * math/gen-auto-libm-tests.c: Update comment on output format.
41065         (output_for_one_input_case): Generate before-rounding and
41066         after-rounding information as conditions on output flags not
41067         floating-point format.
41068         * math/auto-libm-test-out: Regenerated.
41069         * math/gen-libm-test.pl (cond_value): New function.
41070         (or_cond_value): Use cond_value.
41071         (generate_testfile): Handle conditional exceptions.
41073 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41075         * math/libm-test.inc (max_valid_error): New variable.
41076         (init_max_error): Take new argument specifying whether function
41077         results are exactly determined.  Set max_valid_error and bound
41078         other variables for errors based on this argument.
41079         (set_max_error): Do not record results above max_valid_error.
41080         (check_float_internal): Only accept errors of up to 0.5ulps if
41081         also at most max_valid_error.
41082         (START): Take new argument EXACT and pass it to init_max_error.
41083         (acos_test): Update call to START.
41084         (acos_test_tonearest): Likewise.
41085         (acos_test_towardzero): Likewise.
41086         (acos_test_downward): Likewise.
41087         (acos_test_upward): Likewise.
41088         (acosh_test): Likewise.
41089         (asin_test): Likewise.
41090         (asin_test_tonearest): Likewise.
41091         (asin_test_towardzero): Likewise.
41092         (asin_test_downward): Likewise.
41093         (asin_test_upward): Likewise.
41094         (asinh_test): Likewise.
41095         (atan_test): Likewise.
41096         (atanh_test): Likewise.
41097         (atan2_test): Likewise.
41098         (cabs_test): Likewise.
41099         (cacos_test): Likewise.
41100         (cacosh_test): Likewise.
41101         (carg_test): Likewise.
41102         (casin_test): Likewise.
41103         (casinh_test): Likewise.
41104         (catan_test): Likewise.
41105         (catanh_test): Likewise.
41106         (cbrt_test): Likewise.
41107         (ccos_test): Likewise.
41108         (ccosh_test): Likewise.
41109         (ceil_test): Likewise.
41110         (cexp_test): Likewise.
41111         (cimag_test): Likewise.
41112         (clog_test): Likewise.
41113         (clog10_test): Likewise.
41114         (conj_test): Likewise.
41115         (copysign_test): Likewise.
41116         (cos_test): Likewise.
41117         (cos_test_tonearest): Likewise.
41118         (cos_test_towardzero): Likewise.
41119         (cos_test_downward): Likewise.
41120         (cos_test_upward): Likewise.
41121         (cosh_test): Likewise.
41122         (cosh_test_tonearest): Likewise.
41123         (cosh_test_towardzero): Likewise.
41124         (cosh_test_downward): Likewise.
41125         (cosh_test_upward): Likewise.
41126         (cpow_test): Likewise.
41127         (cproj_test): Likewise.
41128         (creal_test): Likewise.
41129         (csin_test): Likewise.
41130         (csinh_test): Likewise.
41131         (csqrt_test): Likewise.
41132         (ctan_test): Likewise.
41133         (ctan_test_tonearest): Likewise.
41134         (ctan_test_towardzero): Likewise.
41135         (ctan_test_downward): Likewise.
41136         (ctan_test_upward): Likewise.
41137         (ctanh_test): Likewise.
41138         (ctanh_test_tonearest): Likewise.
41139         (ctanh_test_towardzero): Likewise.
41140         (ctanh_test_downward): Likewise.
41141         (ctanh_test_upward): Likewise.
41142         (erf_test): Likewise.
41143         (erfc_test): Likewise.
41144         (exp_test): Likewise.
41145         (exp_test_tonearest): Likewise.
41146         (exp_test_towardzero): Likewise.
41147         (exp_test_downward): Likewise.
41148         (exp_test_upward): Likewise.
41149         (exp10_test): Likewise.
41150         (exp10_test_tonearest): Likewise.
41151         (exp10_test_towardzero): Likewise.
41152         (exp10_test_downward): Likewise.
41153         (exp10_test_upward): Likewise.
41154         (pow10_test): Likewise.
41155         (exp2_test): Likewise.
41156         (expm1_test): Likewise.
41157         (expm1_test_tonearest): Likewise.
41158         (expm1_test_towardzero): Likewise.
41159         (expm1_test_downward): Likewise.
41160         (expm1_test_upward): Likewise.
41161         (fabs_test): Likewise.
41162         (fdim_test): Likewise.
41163         (floor_test): Likewise.
41164         (fma_test): Likewise.
41165         (fma_test_towardzero): Likewise.
41166         (fma_test_downward): Likewise.
41167         (fma_test_upward): Likewise.
41168         (fmax_test): Likewise.
41169         (fmin_test): Likewise.
41170         (fmod_test): Likewise.
41171         (fpclassify_test): Likewise.
41172         (frexp_test): Likewise.
41173         (hypot_test): Likewise.
41174         (ilogb_test): Likewise.
41175         (isfinite_test): Likewise.
41176         (finite_test): Likewise.
41177         (isgreater_test): Likewise.
41178         (isgreaterequal_test): Likewise.
41179         (isinf_test): Likewise.
41180         (isless_test): Likewise.
41181         (islessequal_test): Likewise.
41182         (islessgreater_test): Likewise.
41183         (isnan_test): Likewise.
41184         (isnormal_test): Likewise.
41185         (issignaling_test): Likewise.
41186         (isunordered_test): Likewise.
41187         (j0_test): Likewise.
41188         (j1_test): Likewise.
41189         (jn_test): Likewise.
41190         (ldexp_test): Likewise.
41191         (lgamma_test): Likewise.
41192         (gamma_test): Likewise.
41193         (lrint_test): Likewise.
41194         (lrint_test_tonearest): Likewise.
41195         (lrint_test_towardzero): Likewise.
41196         (lrint_test_downward): Likewise.
41197         (lrint_test_upward): Likewise.
41198         (llrint_test): Likewise.
41199         (llrint_test_tonearest): Likewise.
41200         (llrint_test_towardzero): Likewise.
41201         (llrint_test_downward): Likewise.
41202         (llrint_test_upward): Likewise.
41203         (log_test): Likewise.
41204         (log10_test): Likewise.
41205         (log1p_test): Likewise.
41206         (log2_test): Likewise.
41207         (logb_test): Likewise.
41208         (logb_test_downward): Likewise.
41209         (lround_test): Likewise.
41210         (llround_test): Likewise.
41211         (modf_test): Likewise.
41212         (nearbyint_test): Likewise.
41213         (nextafter_test): Likewise.
41214         (nexttoward_test): Likewise.
41215         (pow_test): Likewise.
41216         (pow_test_tonearest): Likewise.
41217         (pow_test_towardzero): Likewise.
41218         (pow_test_downward): Likewise.
41219         (pow_test_upward): Likewise.
41220         (remainder_test): Likewise.
41221         (drem_test): Likewise.
41222         (remainder_test_tonearest): Likewise.
41223         (drem_test_tonearest): Likewise.
41224         (remainder_test_towardzero): Likewise.
41225         (drem_test_towardzero): Likewise.
41226         (remainder_test_downward): Likewise.
41227         (drem_test_downward): Likewise.
41228         (remainder_test_upward): Likewise.
41229         (drem_test_upward): Likewise.
41230         (remquo_test): Likewise.
41231         (rint_test): Likewise.
41232         (rint_test_tonearest): Likewise.
41233         (rint_test_towardzero): Likewise.
41234         (rint_test_downward): Likewise.
41235         (rint_test_upward): Likewise.
41236         (round_test): Likewise.
41237         (scalb_test): Likewise.
41238         (scalbn_test): Likewise.
41239         (scalbln_test): Likewise.
41240         (signbit_test): Likewise.
41241         (sin_test): Likewise.
41242         (sin_test_tonearest): Likewise.
41243         (sin_test_towardzero): Likewise.
41244         (sin_test_downward): Likewise.
41245         (sin_test_upward): Likewise.
41246         (sincos_test): Likewise.
41247         (sinh_test): Likewise.
41248         (sinh_test_tonearest): Likewise.
41249         (sinh_test_towardzero): Likewise.
41250         (sinh_test_downward): Likewise.
41251         (sinh_test_upward): Likewise.
41252         (sqrt_test): Likewise.
41253         (sqrt_test_tonearest): Likewise.
41254         (sqrt_test_towardzero): Likewise.
41255         (sqrt_test_downward): Likewise.
41256         (sqrt_test_upward): Likewise.
41257         (tan_test): Likewise.
41258         (tan_test_tonearest): Likewise.
41259         (tan_test_towardzero): Likewise.
41260         (tan_test_downward): Likewise.
41261         (tan_test_upward): Likewise.
41262         (tanh_test): Likewise.
41263         (tgamma_test): Likewise.
41264         (trunc_test): Likewise.
41265         (y0_test): Likewise.
41266         (y1_test): Likewise.
41267         (yn_test): Likewise.
41268         (significand_test): Likewise.
41270         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41271         individual tests in comment.
41272         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41273         (prev_max_error): New variable.
41274         (prev_real_max_error): Likewise.
41275         (prev_imag_max_error): Likewise.
41276         (compare_ulp_data): Don't refer to test names in comment.
41277         (find_test_ulps): Remove function.
41278         (find_function_ulps): Likewise.
41279         (find_complex_function_ulps): Likewise.
41280         (init_max_error): Take function name as argument.  Look up ulps
41281         for that function.
41282         (print_ulps): Remove function.
41283         (print_max_error): Use prev_max_error instead of calling
41284         find_function_ulps.
41285         (print_complex_max_error): Use prev_real_max_error and
41286         prev_imag_max_error instead of calling find_complex_function_ulps.
41287         (check_float_internal): Take max_ulp parameter instead of calling
41288         find_test_ulps.  Don't call print_ulps.
41289         (check_float): Update call to check_float_internal.
41290         (check_complex): Update calls to check_float_internal.
41291         (START): Pass argument to init_max_error.
41292         * math/gen-libm-test.pl (%results): Don't include "kind"
41293         information.
41294         (parse_ulps): Don't handle ulps of individual tests.
41295         (print_ulps_file): Likewise.
41296         (output_ulps): Likewise.
41297         * math/README.libm-test: Update.
41298         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41299         individual tests.
41300         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41301         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41302         * sysdeps/arm/libm-test-ulps: Likewise.
41303         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41304         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41305         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41306         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41307         * sysdeps/microblaze/libm-test-ulps: Likewise.
41308         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41309         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41310         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41311         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41312         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41313         * sysdeps/sh/libm-test-ulps: Likewise.
41314         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41315         * sysdeps/tile/libm-test-ulps: Likewise.
41316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41318 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41320         * math/libm-test.inc (print_complex_max_error): Check separately
41321         whether real and imaginary errors are within allowed range and
41322         pass 0 to print_complex_function_ulps instead of value within
41323         allowed range.
41325 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41328         formatting.
41329         (get_handles_fopen): Likewise.
41330         (do_write_test): Likewise.
41332         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41334         * libio/fileops.c (do_ftell): Use cached offset when
41335         available.
41336         * libio/iofwide.c (do_ftell_wide): Likewise.
41337         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41338         _IO_file_attach.
41339         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41341         [BZ #16532]
41342         * libio/libioP.h (get_file_offset): New function.
41343         * libio/fileops.c (get_file_offset): Likewise.
41344         (do_ftell): Likewise.
41345         (_IO_new_file_seekoff): Split out ftell logic.
41346         * libio/wfileops.c (do_ftell_wide): Likewise.
41347         (_IO_wfile_seekoff): Split out ftell logic.
41348         * libio/tst-ftell-active-handler.c: New test case.
41349         * libio/Makefile (tests): Add it.
41351 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41353         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41354         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41356 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41358         [BZ #16639]
41359         * nscd/connections.c (nscd_init): Call do_exit.
41360         (start_threads): Call do_exit and notify_parent.
41361         (begin_drop_privileges): Call do_exit.
41362         (finish_drop_privileges): Likewise.
41363         * nscd/selinux.c (preserve_capabilities): Likewise.
41364         (install_real_capabilities): Likewise.
41365         (nscd_selinux_enabled): Likewise.
41366         (avc_create_thread): Likewise.
41367         (avc_alloc_lock): Likewise.
41368         (nscd_avc_init): Likewise.
41369         * nscd/nscd.c (parent_fd): New static variable.
41370         (main): Create a pipe between parent and child processes.
41371         Skip closing parent_fd.
41372         (monitor_child): New function.
41373         (do_exit): Likewise.
41374         (notify_parent): Likewise.
41375         * nscd/nscd.h (notify_parent): Likewise.
41376         (do_exit): Likewise.
41378 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41380         * malloc/malloc.c (__libc_calloc): Revert last change.
41382 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41386 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41388         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41390         implementation.
41391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41392         (__libc_ifunc_impl_list): Likewise.
41393         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41394         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41395         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41396         * string/strrchr.c: Define STRRCHR.
41398 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41400         * benchtest/bench-strtok.c (simple_strtok): Delete.
41401         (strtok_string): Use as benchmark.
41402         * string/strtok (STRTOK): New macro.
41404 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41406         * manual/threads.texi: Add header and standard comments to all
41407         functions.
41409         * elf/dl-lookup.c (check_match): New function.
41410         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41411         (do_lookup_x): Remove nested function check_match. Use non-nested
41412         function check_match.
41414 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41416         * csu/Makefile (generated, before-compile): Use += rather than =.
41417         * catgets/Makefile (generated, generated-dirs): Likewise.
41418         * debug/Makefile (generated): Likewise.
41419         * dlfcn/Makefile (generated): Likewise.
41420         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41421         * iconvdata/Makefile (before-compile, generated): Likewise.
41422         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41423         * libio/Makefile (generated): Likewise.
41424         * malloc/Makefile (generated): Likewise.
41425         * manual/Makefile (generated, generated-dirs): Likewise.
41426         * misc/Makefile (generated): Likewise.
41427         * posix/Makefile (generated): Likewise.
41428         * resolv/Makefile (generated): Likewise.
41429         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41430         * timezone/Makefile (generated, generated-dirs): Likewise.
41432         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41434 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41437         power8 implementation.
41438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41439         file: POWER8 llround ifunc implementation.
41440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41441         (__lllround): Add POWER8 implementation.
41442         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41443         POWER8 llround implementation.
41445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41446         power8 implementation.
41447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41448         file: POWER8 llrint ifunc implementation.
41449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41450         Add POWER8 implementation.
41451         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41452         POWER8 llrint implementation.
41454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41455         power8 implementation.
41456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41457         file: POWER8 finite ifunc implementation.
41458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41459         Add POWER8 implementation.
41460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41461         Likewise.
41462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41463         POWER8 finite implementation.
41464         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41467         power8 implementation.
41468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41469         file: POWER8 isinf ifunc implementation.
41470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41471         POWER8 implementation.
41472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41473         Likewise.
41474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41475         isinf implementation.
41476         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41478         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41479         (INIT_ARCH): Add hwcap2 initialization.
41480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41481         power8 implementation.
41482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41483         file: POWER8 isnan ifunc implementation.
41484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41485         POWER8 implementation.
41486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41487         Likewise.
41488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41489         isnan implementation.
41490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41492 2014-02-27  Joey Ye  <joey.ye@arm.com>
41494         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41495         (_FP_NANFRAC_Q): Set to zero.
41497 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41499         [BZ #16623]
41500         * math/auto-libm-test-in: New test inputs.
41501         * math/auto-libm-test-out: Regenerate.
41502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41503         and DA.
41504         (__cos): Likewise.
41505         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41507 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41509         * scripts/evaluate-test.sh: Take new argument indicating whether
41510         failure is expected.
41511         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41512         indicating whether failure is expected.
41513         * conform/Makefile (test-xfail-run-conformtest): New variable.
41514         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41515         level.
41516         * posix/Makefile (test-xfail-annexc): New variable.
41517         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41519 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41521         * argp/Makefile: Include Makeconfig immediately after defining
41522         subdir.
41523         * assert/Makefile: Likewise.
41524         * benchtests/Makefile: Likewise.
41525         * catgets/Makefile: Likewise.
41526         * conform/Makefile: Likewise.
41527         * crypt/Makefile: Likewise.
41528         * csu/Makefile: Likewise.
41529         (all): Remove target.
41530         * ctype/Makefile: Include Makeconfig immediately after defining
41531         subdir.
41532         * debug/Makefile: Likewise.
41533         * dirent/Makefile: Likewise.
41534         * dlfcn/Makefile: Likewise.
41535         * gmon/Makefile: Likewise.
41536         * gnulib/Makefile: Likewise.
41537         * grp/Makefile: Likewise.
41538         * gshadow/Makefile: Likewise.
41539         * hesiod/Makefile: Likewise.
41540         * hurd/Makefile: Likewise.
41541         (all): Remove target.
41542         * iconvdata/Makefile: Include Makeconfig immediately after
41543         defining subdir.
41544         * inet/Makefile: Likewise.
41545         * intl/Makefile: Likewise.
41546         * io/Makefile: Likewise.
41547         * libio/Makefile: Likewise.
41548         (all): Remove target.
41549         * locale/Makefile: Include Makeconfig immediately after defining
41550         subdir.
41551         * login/Makefile: Likewise.
41552         * mach/Makefile: Likewise.
41553         (all): Remove target.
41554         * malloc/Makefile: Include Makeconfig immediately after defining
41555         subdir.
41556         (all): Remove target.
41557         * manual/Makefile: Include Makeconfig immediately after defining
41558         subdir.
41559         * math/Makefile: Likewise.
41560         * misc/Makefile: Likewise.
41561         * nis/Makefile: Likewise.
41562         * nss/Makefile: Likewise.
41563         * po/Makefile: Likewise.
41564         (all): Remove target.
41565         * posix/Makefile: Include Makeconfig immediately after defining
41566         subdir.
41567         * pwd/Makefile: Likewise.
41568         * resolv/Makefile: Likewise.
41569         * resource/Makefile: Likewise.
41570         * rt/Makefile: Likewise.
41571         * setjmp/Makefile: Likewise.
41572         * shadow/Makefile: Likewise.
41573         * signal/Makefile: Likewise.
41574         * socket/Makefile: Likewise.
41575         * soft-fp/Makefile: Likewise.
41576         * stdio-common/Makefile: Likewise.
41577         * stdlib/Makefile: Likewise.
41578         * streams/Makefile: Likewise.
41579         * string/Makefile: Likewise.
41580         * sunrpc/Makefile: Likewise.
41581         (all): Remove target.
41582         * sysvipc/Makefile: Include Makeconfig immediately after defining
41583         subdir.
41584         * termios/Makefile: Likewise.
41585         * time/Makefile: Likewise.
41586         * timezone/Makefile: Likewise.
41587         (all): Remove target.
41588         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41589         subdir.
41590         * wctype/Makefile: Likewise.
41592 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41594         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41595         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41596         (libc_feholdexcept_setround_mips): Ditto.
41597         (libc_feholdsetround): New.
41598         (libc_feholdsetroundf): New.
41599         (libc_feholdsetroundl): New.
41600         (libc_feupdateenv_test_mips): New.
41601         (libc_feupdateenv_test): New.
41602         (libc_feupdateenv_testf): New.
41603         (libc_feupdateenv_testl): New.
41604         (libc_feresetround): New.
41605         (libc_feresetroundf): New.
41606         (libc_feresetroundl): New.
41607         (libc_fetestexcept_mips): New.
41608         (libc_fetestexcept): New.
41609         (libc_fetestexceptf): New.
41610         (libc_fetestexceptl): New.
41611         (HAVE_RM_CTX): New.
41612         (libc_feholdexcept_setround_mips_ctx): New.
41613         (libc_feholdexcept_setround_ctx): New.
41614         (libc_feholdexcept_setroundf_ctx): New.
41615         (libc_feholdexcept_setroundl_ctx): New.
41616         (libc_fesetenv_mips_ctx): New.
41617         (libc_fesetenv_ctx): New.
41618         (libc_fesetenv_ctxf): New.
41619         (libc_fesetenv_ctxl): New.
41620         (libc_feupdateenv_mips_ctx): New.
41621         (libc_feupdateenv_ctx): New.
41622         (libc_feupdateenvf_ctx): New.
41623         (libc_feupdateenvl_ctx): New.
41624         (libc_feholdsetround_mips_ctx): New.
41625         (libc_feholdsetround_ctx): New.
41626         (libc_feholdsetroundf_ctx): New.
41627         (libc_feholdsetroundl_ctx): New.
41628         (libc_feresetround_mips_ctx): New.
41629         (libc_feresetround_ctx): New.
41630         (libc_feresetroundf_ctx): New.
41631         (libc_feresetroundl_ctx): New.
41633 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41635         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41637         * manual/ipc.texi: New file.
41638         * manual/Makefile (chapters): Add ipc.
41639         * manual/job.texi: Add "Inter-Process Communication" to next.
41640         * manual/process.texi: Add "Inter-Process Communication" to prev.
41642 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41646 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41648         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41650         * manual/arith.texi: Fix spaces after sentences.
41651         * manual/charset.texi: Likewise.
41652         * manual/errno.texi: Likewise.
41653         * manual/install.texi: Likewise.
41654         * manual/llio.texi: Likewise.
41655         * manual/locale.texi: Likewise.
41656         * manual/maint.texi: Likewise.
41657         * manual/math.texi: Likewise.
41658         * manual/memory.texi: Likewise.
41659         * manual/message.texi: Likewise.
41660         * manual/probes.texi: Likewise.
41661         * manual/resource.texi: Likewise.
41662         * manual/signal.texi: Likewise.
41663         * manual/socket.texi: Likewise.
41664         * manual/stdio.texi: Likewise.
41665         * manual/string.texi: Likewise.
41666         * manual/time.texi: Likewise.
41667         * manual/users.texi: Likewise.
41669 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41671         [BZ #16632]
41672         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41673         _DEFAULT_SOURCE is defined.
41675 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41676             Carlos O'Donell  <carlos@redhat.com>
41678         [BZ #16613]
41679         * elf/dl-tls.c (_dl_count_modids): New function.
41680         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41681         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41682         audit library and increment generation counter.
41683         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41684         * elf/tst-audit9.c: New file.
41685         * elf/tst-auditmod9a.c: New file.
41686         * elf/tst-auditmod9b.c: New file.
41687         * elf/Makefile: Add rules to build and run tst-audit9.
41689 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41691         [BZ #15347]
41692         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41694 2014-02-25  Will Newton  <will.newton@linaro.org>
41696         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41697         (__longjmp): Restore sp and lr before restoring callee
41698         saved registers.  Add longjmp and longjmp_target
41699         SystemTap probe point.
41700         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41701         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41702         Define to zero to match jmpbuf layout.
41703         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41704         (__sigsetjmp): Save sp and lr before saving callee
41705         saved registers.  Add setjmp SystemTap probe point.
41707 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41709         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41711 2014-02-24  Andreas Schwab  <schwab@suse.de>
41713         [BZ #15804]
41714         * elf/pldd.c (wait_for_ptrace_stop): New function.
41715         (main): Call it after attaching.
41717 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41719         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41720         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41721         Versions files is now verboten.
41722         * hurd/Versions (libc: GLIBC_2.0):
41723         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41724         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41725         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41726         * mach/Versions: Likewise.
41728         * csu/Versions: Remove unused %include.
41729         * resolv/Versions: Likewise.
41731 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41733         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41734         ($(objpfx)check-local-headers.out): Likewise.
41735         ($(objpfx)begin-end-check.out): Likewise.
41736         * Makerules (check-abi-%.out): Likewise.
41737         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41738         ($(objpfx)test2.cat): Likewise.
41739         ($(objpfx)de/libc.cat): Likewise.
41740         ($(objpfx)test-gencat.out): Likewise.
41741         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41742         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41743         ($(objpfx)noload-mem): Likewise.
41744         ($(objpfx)tst-pathopt.out): Likewise.
41745         ($(objpfx)tst-rtld-load-self.out): Likewise.
41746         ($(objpfx)tst-array1-cmp.out): Likewise.
41747         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41748         ($(objpfx)tst-array2-cmp.out): Likewise.
41749         ($(objpfx)tst-array3-cmp.out): Likewise.
41750         ($(objpfx)tst-array4-cmp.out): Likewise.
41751         ($(objpfx)tst-array5-cmp.out): Likewise.
41752         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41753         ($(objpfx)check-textrel.out): Likewise.
41754         ($(objpfx)check-execstack.out): Likewise.
41755         ($(objpfx)check-localplt.out): Likewise.
41756         ($(objpfx)order2-cmp.out): Likewise.
41757         ($(objpfx)tst-leaks1-mem): Likewise.
41758         ($(objpfx)tst-leaks1-static-mem): Likewise.
41759         ($(objpfx)tst-initorder-cmp.out): Likewise.
41760         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41761         ($(objpfx)tst-unused-dep.out): Likewise.
41762         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41763         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41764         * iconv/Makefile (test-iconvconfig): Likewise.
41765         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41766         ($(objpfx)iconv-test.out): Likewise.
41767         ($(objpfx)tst-tables.out): Likewise.
41768         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41769         ($(objpfx)tst-gettext.out): Likewise.
41770         ($(objpfx)tst-translit.out): Likewise.
41771         ($(objpfx)tst-gettext2.out): Likewise.
41772         ($(objpfx)tst-gettext4.out): Likewise.
41773         ($(objpfx)tst-gettext6.out): Likewise.
41774         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41775         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41776         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41777         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41778         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41779         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41780         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41781         ($(objpfx)wordexp-tst.out): Likewise.
41782         ($(objpfx)annexc.out): Likewise.
41783         ($(objpfx)tst-fnmatch-mem): Likewise.
41784         ($(objpfx)bug-regex2-mem): Likewise.
41785         ($(objpfx)bug-regex14-mem): Likewise.
41786         ($(objpfx)bug-regex21-mem): Likewise.
41787         ($(objpfx)bug-regex31-mem): Likewise.
41788         ($(objpfx)tst-vfork3-mem): Likewise.
41789         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41790         ($(objpfx)tst-pcre-mem): Likewise.
41791         ($(objpfx)tst-boost-mem): Likewise.
41792         ($(objpfx)tst-getconf.out): Likewise.
41793         ($(objpfx)bug-ga2-mem): Likewise.
41794         ($(objpfx)bug-glob2-mem): Likewise.
41795         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41796         ($(objpfx)mtrace-tst-leaks2): Likewise.
41797         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41798         ($(objpfx)tst-printf.out): Likewise.
41799         ($(objpfx)tst-setvbuf1.out): Likewise.
41800         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41801         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41802         ($(objpfx)tst-fmtmsg.out): Likewise.
41803         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41804         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41806         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41807         * bits/sigaction.h [__USE_MISC]: Likewise.
41808         * bits/waitstatus.h: Update #endif comments.
41809         * ctype/ctype.h: Likewise.
41810         * dirent/dirent.h: Likewise.
41811         [__USE_MISC]: Remove redundant conditionals.
41812         * grp/grp.h: Update #endif comments.
41813         [__USE_GNU]: Remove redundant conditionals.
41814         [__USE_MISC]: Likewise.
41815         * inet/netinet/in.h [__USE_GNU]: Likewise.
41816         * io/sys/stat.h [__USE_MISC]: Likewise.
41817         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41818         * libio/bits/stdio.h: Update #endif comments.
41819         [__USE_MISC]: Remove redundant conditionals.
41820         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41821         * libio/stdio.h: Update #endif comments.
41822         [__USE_MISC]: Remove redundant conditionals.
41823         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41824         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41825         * math/math.h: Update #else and #endif comments.
41826         [__USE_MISC]: Remove redundant conditionals.
41827         * misc/sys/uio.h: Update #endif comments.
41828         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41829         * posix/glob.h [__USE_MISC]: Likewise.
41830         * posix/sys/types.h: Update #endif comments.
41831         [__USE_MISC]: Remove redundant conditionals.
41832         * posix/sys/wait.h: Update #endif comments.
41833         [__USE_MISC]: Remove redundant conditionals.
41834         * posix/unistd.h: Update #endif comments.
41835         [__USE_MISC]: Remove redundant conditionals.
41836         * pwd/pwd.h [__USE_GNU]: Likewise.
41837         [__USE_MISC]: Likewise.
41838         * resolv/netdb.h [__USE_GNU]: Likewise.
41839         * signal/signal.h: Update #endif comments.
41840         [__USE_MISC]: Remove redundant conditionals.
41841         * stdlib/stdlib.h: Update #else and #endif comments.
41842         [__USE_MISC]: Remove redundant conditionals.
41843         [__USE_GNU]: Likewise.
41844         * string/bits/string2.h [__USE_MISC]: Likewise.
41845         * string/string.h: Update #endif comments.
41846         [__USE_MISC]: Remove redundant conditionals.
41847         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41848         Likewise.
41849         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41850         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41851         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41852         Likewise.
41853         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41854         Likewise.
41855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41856         comments.
41857         [__USE_MISC]: Remove redundant conditionals.
41858         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41859         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41860         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41861         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41862         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41863         Likewise.
41864         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41865         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41866         Likewise.
41867         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41868         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41869         Likewise.
41870         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41871         Likewise.
41872         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41873         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41874         Likewise.
41875         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41876         Likewise.
41877         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41878         * sysdeps/x86/bits/string.h: Update #endif comments.
41879         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41880         conditionals.
41881         * time/sys/time.h: Update #endif comments.
41882         * time/time.h: Likewise.
41883         [__USE_MISC]: Remove redundant conditionals.
41885 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41887         [BZ #16600]
41888         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41890 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41892         * Versions.def (librt): Add GLIBC_2.17.
41894 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41896         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41897         synonym for _SYS_AUXV_H to allow direct inclusion.
41898         * sysdeps/sparc/bits/hwcap.h: Likewise.
41899         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41900         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41901         * sysdeps/sparc/sysdep.h: Likewise.
41903 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41905         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41907 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41909         * benchtests/bench-strrchr.c: Print length instead of position.
41911 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41913         [BZ #16611]
41914         * sysdeps/unix/sysv/linux/kernel-features.h
41915         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41916         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41917         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41918         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41919         Likewise.
41920         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41921         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41922         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41923         (__ASSUME_SENDMMSG): Define instead of using previous
41924         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41925         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41926         (__ASSUME_SENDMMSG_SYSCALL): Define.
41927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41928         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41929         Likewise.
41930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41931         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41932         Likewise.
41933         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41934         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41935         Likewise.
41936         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41937         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41938         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41939         [__ASSUME_SENDMMSG]: Change conditionals to
41940         [__ASSUME_SENDMMSG_SOCKETCALL].
41941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41942         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41943         Define.
41944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41945         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41946         Likewise.
41947         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41948         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41949         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41950         [!__ASSUME_SENDMMSG]: Change conditional to
41951         [!__ASSUME_SENDMMSG_SOCKETCALL].
41952         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41953         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41954         Define.
41956         [BZ #16610]
41957         * sysdeps/unix/sysv/linux/kernel-features.h
41958         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41959         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41960         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41961         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41962         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41963         [__i386__ || __sparc__]
41964         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41965         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41966         (__ASSUME_RECVMMSG): Define instead of using previous
41967         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41968         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41969         (__ASSUME_RECVMMSG_SYSCALL): Define.
41970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41972         Likewise.
41973         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41974         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41975         Likewise.
41976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41977         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41978         Likewise.
41979         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41980         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41981         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41982         [__ASSUME_RECVMMSG]: Change condition to
41983         [__ASSUME_RECVMMSG_SOCKETCALL].
41984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41985         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41986         Define.
41987         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41988         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41989         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41990         Likewise.
41991         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41992         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41993         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41994         [!__ASSUME_RECVMMSG]: Change condition to
41995         [!__ASSUME_RECVMMSG_SOCKETCALL].
41996         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41997         (__ASSUME_RECVMMSG_SYSCALL): Define.
41999         [BZ #16609]
42000         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42001         __powerpc__ || __s390__ || __sh__ || __sparc__]
42002         (__ASSUME_SOCKETCALL): Define.
42003         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42004         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42005         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42006         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42007         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42008         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42009         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42010         (__ASSUME_ACCEPT4): Define instead of using previous
42011         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42012         __powerpc__ || __sparc__ || __s390__)] condition.
42013         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42014         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42015         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42016         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42017         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42018         [!__ASSUME_ACCEPT4]: Change condition to
42019         [!__ASSUME_ACCEPT4_SOCKETCALL].
42020         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42021         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42022         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42024         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42025         __ASSUME_ACCEPT4_SYSCALL.
42026         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42027         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42028         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42029         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42030         __ASSUME_ACCEPT4_SYSCALL.
42031         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42032         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42033         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42034         [__ASSUME_ACCEPT4]: Change condition to
42035         [__ASSUME_ACCEPT4_SOCKETCALL].
42036         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42037         (__ASSUME_SOCKETCALL): Define.
42038         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42040         (__ASSUME_SOCKETCALL): Define.
42041         (__ASSUME_ACCEPT4): Remove.
42042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42043         Define.
42044         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42045         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42046         Likewise.
42047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42048         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42050         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42051         macro.
42052         (HWCAP_ARM_LPAE): Likewise.
42053         (HWCAP_ARM_EVTSTRM): Likewise.
42054         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42055         Add vpfd32, lpae and evtstrm.
42056         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42057         Increase to 22.
42059 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42061         * math/auto-libm-test-in: Add tests of clog10.
42062         * math/auto-libm-test-out: Regenerated.
42063         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42064         * sysdeps/i386/fpu/libm-test-ulps: Update.
42065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42067 2014-02-18  Andreas Schwab  <schwab@suse.de>
42069         [BZ #16574]
42070         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42071         Store non-zero if the second buffer was newly allocated.
42072         (send_dg): Likewise.
42073         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42074         to send_vc and send_dg.
42075         (res_nsend): Pass NULL for ansp2_malloced.
42076         * resolv/res_query.c (__libc_res_nquery): Add parameter
42077         answerp2_malloced and pass it down to __libc_res_nsend.
42078         (res_nquery): Pass additional NULL to __libc_res_nquery.
42079         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42080         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42081         second answer buffer if answerp2_malloced was set.
42082         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42083         (__libc_res_nquerydomain): Add parameter
42084         answerp2_malloced and pass it down to __libc_res_nquery.
42085         (res_nquerydomain): Pass additional NULL to
42086         __libc_res_nquerydomain.
42087         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42088         additional NULL to __libc_res_nsend and __libc_res_nquery.
42089         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42090         additional NULL to __libc_res_nsearch.
42091         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42092         parameter of __libc_res_nsearch to check for separately allocated
42093         second buffer.
42094         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42095         __libc_res_nquery.
42096         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42097         additional NULL to __libc_res_nquery.
42098         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42099         __libc_res_nsearch.
42100         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42101         * include/resolv.h: Update prototypes of __libc_res_nquery,
42102         __libc_res_nsearch, __libc_res_nsend.
42104 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42106         * math/auto-libm-test-in: Add tests of fma.
42107         * math/auto-libm-test-out: Regenerated.
42108         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42109         (fma_towardzero_test_data): Likewise.
42110         (fma_downward_test_data): Likewise.
42111         (fma_upward_test_data): Likewise.
42112         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42113         mpc_mode.
42114         (rounding_modes): Add values for new field.
42115         (func_calc_method): Add value mpfr_fff_f.
42116         (func_calc_desc): Add mpfr_fff_f union field.
42117         (test_function): Add field exact_args.
42118         (FUNC): Add macro argument EXACT_ARGS.
42119         (FUNC_mpfr_f_f): Update call to FUNC.
42120         (FUNC_mpfr_f_f): Likewise.
42121         (FUNC_mpfr_ff_f): Likewise.
42122         (FUNC_mpfr_if_f): Likewise.
42123         (FUNC_mpc_c_f): Likewise.
42124         (FUNC_mpc_c_c): Likewise.
42125         (test_functions): Add fma.  Update calls to FUNC.
42126         (handle_input_arg): Add argument exact_args.
42127         (add_test): Update call to handle_input_arg.
42128         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42129         (output_for_one_input_case): Update call to calc_generic_results.
42130         Recalculate exact zero results in each rounding mode.
42132         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42133         non-negative before setting low bit.
42134         * math/auto-libm-test-in: Mark one asin test possibly having
42135         spurious underflow.
42136         * math/auto-libm-test-out: Regenerated.
42137         * sysdeps/i386/fpu/libm-test-ulps: Update.
42138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42140 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42142         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42143         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42144         ports/sysdeps/unix/sysv/linux/microblaze.
42145         * README: Add missing listing for microblaze*-*-linux-gnu.
42147 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42149         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42150         duplicate code
42152 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42154         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42155         * sysdeps/unix/sysv/linux/ia64: Move directory from
42156         ports/sysdeps/unix/sysv/linux/ia64.
42157         * README: Update listing for ia64-*-linux-gnu.
42159 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42160             Joseph Myers  <joseph@codesourcery.com>
42162         * Makeconfig (test-name): New variable.
42163         (evaluate-test): Likewise.
42164         * Makerules (do-test-clean): Remove .test-result files.
42165         (common-mostlyclean): Likewise.
42166         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42167         * scripts/evaluate-test.sh: New file.
42169 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42171         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42172         separate $(objpfx)tst-fopenloc-cmp.out and
42173         $(objpfx)tst-fopenloc-mem.out targets.
42174         (tests): Update dependencies.
42175         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42176         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42177         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42178         (tst-rxspencer-no-utf8-ARGS): New variable.
42179         (tst-rxspencer-no-utf8-ENV): Likewise.
42180         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42181         instead of $(objpfx)tst-rxspencer-mem.
42182         ($(objpfx)tst-rxspencer-mem): Change target to
42183         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42184         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42185         * posix/tst-rxspencer-no-utf8.c: New file.
42187         * elf/Makefile ($(objpfx)order.out): Remove rule.
42188         [$(run-built-tests) = yes] (tests): Depend on
42189         $(objpfx)order-cmp.out.
42190         ($(objpfx)order-cmp.out): New rule.
42191         [$(run-built-tests) = yes] (tests): Depend on
42192         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42193         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42194         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42195         $(objpfx)tst-array5-static-cmp.out.
42196         ($(objpfx)tst-array1.out): Remove rule.
42197         ($(objpfx)tst-array1-cmp.out): New rule.
42198         ($(objpfx)tst-array1-static.out): Remove rule.
42199         ($(objpfx)tst-array1-static-cmp.out): New rule.
42200         ($(objpfx)tst-array2.out): Remove rule.
42201         ($(objpfx)tst-array2-cmp.out): New rule.
42202         ($(objpfx)tst-array3.out): Remove rule.
42203         ($(objpfx)tst-array3-cmp.out): New rule.
42204         ($(objpfx)tst-array4.out): Remove rule.
42205         ($(objpfx)tst-array4-cmp.out): New rule.
42206         ($(objpfx)tst-array5.out): Remove rule.
42207         ($(objpfx)tst-array5-cmp.out): New rule.
42208         ($(objpfx)tst-array5-static.out): Remove rule.
42209         ($(objpfx)tst-array5-static-cmp.out): New rule.
42210         [$(run-built-tests) = yes] (tests): Depend on
42211         $(objpfx)order2-cmp.out.
42212         ($(objpfx)order2.out): Remove rule.
42213         ($(objpfx)order2-cmp.out): New rule.
42214         ($(objpfx)tst-initorder.out): Remove rule.
42215         [$(run-built-tests) = yes] (tests): Depend on
42216         $(objpfx)tst-initorder-cmp.out.
42217         ($(objpfx)tst-initorder-cmp.out): New rule.
42218         ($(objpfx)tst-initorder2.out): Remove rule.
42219         [$(run-built-tests) = yes] (tests): Depend on
42220         $(objpfx)tst-initorder2-cmp.out.
42221         ($(objpfx)tst-initorder2-cmp.out): New rule.
42222         [$(run-built-tests) = yes] (tests): Depend on
42223         $(objpfx)tst-unused-dep-cmp.out.
42224         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42225         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42226         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42227         on $(objpfx)tst-setvbuf1-cmp.out.
42228         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42229         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42230         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42231         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42232         ($(objpfx)tst-svc.out): Remove rule.
42233         ($(objpfx)tst-svc-cmp.out): New rule.
42235 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42237         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42238         * ctype/ctype.h [__USE_MISC]: Likewise.
42239         * dirent/dirent.h [__USE_MISC]: Likewise.
42240         * grp/grp.h [__USE_MISC]: Likewise.
42241         * io/fcntl.h [__USE_MISC]: Likewise.
42242         * io/sys/stat.h [__USE_MISC]: Likewise.
42243         * libio/stdio.h [__USE_MISC]: Likewise.
42244         * posix/unistd.h [__USE_MISC]: Likewise.
42245         * pwd/pwd.h [__USE_MISC]: Likewise.
42246         * stdlib.h [__USE_MISC]: Likewise.
42247         * string/bits/string2.h [__USE_MISC]: Likewise.
42248         * string/string.h [__USE_MISC]: Likewise.
42249         * time/time.h [__USE_MISC]: Likewise.
42251 2014-02-13  Andreas Schwab  <schwab@suse.de>
42253         [BZ #16574]
42254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42255         second answer buffer if it was separately allocated.
42257 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42259         * sysdeps/mips/math-tests.h: Include <features.h>.
42260         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42261         (ROUNDING_TESTS_long_double): Do not define.
42262         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42263         (EXCEPTION_TESTS_long_double): Likewise.
42264         * sysdeps/mips/mips64/libm-test-ulps: Update.
42266         * include/features.h (__USE_BSD): Remove macro definitions.
42267         (__USE_SVID): Likewise.
42268         (_BSD_SOURCE): Likewise.
42269         (_SVID_SOURCE): Likewise.
42270         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42271         from definition of _DEFAULT_SOURCE.
42272         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42273         [_DEFAULT_SOURCE].
42274         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42275         * bits/mman.h [__USE_BSD]: Likewise.
42276         * bits/termios.h [__USE_BSD]: Likewise.
42277         * bits/waitstatus.h [__USE_BSD]: Likewise.
42278         * ctype/ctype.h [__USE_SVID]: Likewise.
42279         * dirent/dirent.h [__USE_BSD]: Likewise.
42280         * grp/grp.h [__USE_SVID]: Likewise.
42281         [__USE_BSD]: Likewise.
42282         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42283         * io/fcntl.h [__USE_BSD]: Likewise.
42284         * io/ftw.h [__USE_BSD]: Likewise.
42285         * io/sys/stat.h [__USE_BSD]: Likewise.
42286         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42287         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42288         * libio/stdio.h [__USE_SVID]: Likewise.
42289         [__USE_BSD]: Likewise.
42290         * math/math.h [__USE_SVID]: Likewise.
42291         [__USE_BSD]: Likewise.
42292         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42293         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42294         * misc/search.h [__USE_SVID]: Likewise.
42295         * misc/sys/mman.h [__USE_BSD]: Likewise.
42296         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42297         * misc/sys/uio.h [__USE_BSD]: Likewise.
42298         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42299         * posix/glob.h [__USE_BSD]: Likewise.
42300         * posix/regex.h [__USE_BSD]: Likewise.
42301         * posix/sys/types.h [__USE_BSD]: Likewise.
42302         [__USE_SVID]: Likewise.
42303         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42304         * posix/sys/wait.h [__USE_BSD]: Likewise.
42305         [__USE_SVID]: Likewise.
42306         * posix/unistd.h [__USE_BSD]: Likewise.
42307         [__USE_SVID]: Likewise.
42308         * pwd/pwd.h [__USE_SVID]: Likewise.
42309         * resolv/netdb.h [__USE_BSD]: Likewise.
42310         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42311         * signal/signal.h [__USE_BSD]: Likewise.
42312         [__USE_SVID]: Likewise.
42313         * socket/sys/socket.h [__USE_BSD]: Likewise.
42314         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42315         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42316         [__USE_SVID]: Likewise.
42317         * string/bits/string2.h [__USE_BSD]: Likewise.
42318         [__USE_SVID]: Likewise.
42319         * string/bits/string3.h [__USE_BSD]: Likewise.
42320         * string/endian.h [__USE_BSD]: Likewise.
42321         * string/string.h [__USE_SVID]: Likewise.
42322         [__USE_BSD]: Likewise.
42323         * string/strings.h [__USE_BSD]: Likewise.
42324         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42325         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42326         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42327         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42328         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42329         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42330         Likewise.
42331         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42332         Likewise.
42333         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42334         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42335         Likewise.
42336         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42337         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42338         Likewise.
42339         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42340         Likewise.
42341         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42342         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42343         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42344         Likewise.
42345         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42346         Likewise.
42347         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42348         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42349         * termios/termios.h [__USE_BSD]: Likewise.
42350         * time/sys/time.h [__USE_BSD]: Likewise.
42351         * time/time.h [__USE_BSD]: Likewise.
42352         [__USE_SVID]: Likewise.
42354         * Makefile (subdir_targets): Remove subdir_lint.out.
42356         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42357         (do-tst-printf): Likewise.
42358         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42359         $(objpfx)tst-printf.out.
42361         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42363         * Makerules (check-abi-%): Change target to
42364         $(objpfx)check-abi-%.out.
42365         (check-abi target): Update dependencies.
42366         (check-abi-pattern variable): Redirect output of diff to $@.
42367         (check-abi variable): Likewise.
42368         * elf/Makefile (check-abi): Update dependencies.
42370         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42371         unused.
42372         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42373         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42374         subnormal range.
42375         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42376         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42377         value has largest subnormal exponent.
42378         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42379         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42380         * sysdeps/aarch64/soft-fp/sfp-machine.h
42381         (_FP_TININESS_AFTER_ROUNDING): New macro.
42382         * sysdeps/alpha/soft-fp/sfp-machine.h
42383         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42384         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42385         Likewise.
42386         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42387         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42388         * sysdeps/mips/soft-fp/sfp-machine.h
42389         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42390         * sysdeps/powerpc/soft-fp/sfp-machine.h
42391         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42392         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42393         Likewise.
42394         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42395         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42397         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42398         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42399         Likewise.
42401 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42403         [BZ #16545]
42404         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42405         model 1.
42407 2014-02-12  Richard Henderson  <rth@redhat.com>
42409         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42410         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42411         * sysdeps/unix/sysv/linux/alpha: Move directory from
42412         ports/sysdeps/unix/sysv/linux/alpha.
42413         * README: Update listing for alpha-*-linux-gnu.
42415 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42417         * include/features.h: Update comment documenting feature test
42418         macros.
42419         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42420         _DEFAULT_SOURCE.
42421         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42422         (_SVID_SOURCE): Likewise.
42423         (_DEFAULT_SOURCE): Update description of default features.
42424         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42425         with _GNU_SOURCE.
42426         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42427         (S_ISVTX): Likewise.
42428         * manual/math.texi (Mathematical Constants): Likewise.
42429         * manual/signal.texi (Interrupted Primitives): Likewise.
42430         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42431         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42432         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42433         Don't refer to _SVID_SOURCE in warning text.
42435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42437         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42438         already defined.
42439         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42440         * sysdeps/mips/dl-lookup.c: Remove.
42441         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42443 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42445         [BZ #16447]
42446         * math/auto-libm-test-in: Add testcase for expl.
42447         * math/auto-libm-test-out: Regenerate.
42448         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42449         calculation of unsafe.
42450         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42452 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42454         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42455         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42456         ports/sysdeps/unix/sysv/linux/aarch64.
42457         * README: Update listing for aarch64*-*-linux-gnu.
42459 2014-02-11  Will Newton  <will.newton@linaro.org>
42461         * manual/probes.texi (Mathematical Function Probes): Use
42462         "triggered" instead of "hit".
42464         * manual/probes.texi (Internal Probes): Add documentation
42465         of setjmp, longjmp and longjmp_target probes.
42467         * include/stap-probe.h: Add comment about probe argument
42468         format.
42470         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42471         definition.  (tr_where, tr_freehook, tr_mallochook,
42472         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42474 2014-02-11  David S. Miller  <davem@davemloft.net>
42476         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42477         processing int_tests.
42479 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42481         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42482         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42483         * sysdeps/unix/sysv/linux/mips: Move directory from
42484         ports/sysdeps/unix/sysv/linux/mips.
42485         * README: Update listing for mips-*-linux-gnu and
42486         mips64-*-linux-gnu.
42488 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42490         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42491         * sysdeps/unix/sysv/linux/m68k: Move directory from
42492         ports/sysdeps/unix/sysv/linux/m68k.
42493         * README: Update listing for m68k-*-linux-gnu.
42495 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42497         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42498         * sysdeps/unix/sysv/linux/generic: Move directory from
42499         ports/sysdeps/unix/sysv/linux/generic.
42500         * sysdeps/unix/sysv/linux/tile: Move directory from
42501         ports/sysdeps/unix/sysv/linux/tile.
42502         * README: Update listing for tile*-*-linux-gnu.
42504 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42506         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42507         __builtin_expect.
42508         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42509         * catgets/open_catalog.c (__open_catalog): Likewise.
42510         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42511         * debug/confstr_chk.c: Likewise.
42512         * debug/fread_chk.c (__fread_chk): Likewise.
42513         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42514         * debug/getgroups_chk.c: Likewise.
42515         * debug/mbsnrtowcs_chk.c: Likewise.
42516         * debug/mbsrtowcs_chk.c: Likewise.
42517         * debug/mbstowcs_chk.c: Likewise.
42518         * debug/memcpy_chk.c: Likewise.
42519         * debug/memmove_chk.c: Likewise.
42520         * debug/mempcpy_chk.c: Likewise.
42521         * debug/memset_chk.c: Likewise.
42522         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42523         * debug/strcat_chk.c (__strcat_chk): Likewise.
42524         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42525         * debug/strncat_chk.c (__strncat_chk): Likewise.
42526         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42527         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42528         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42529         * debug/wcpncpy_chk.c: Likewise.
42530         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42531         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42532         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42533         * debug/wcsncpy_chk.c: Likewise.
42534         * debug/wcsnrtombs_chk.c: Likewise.
42535         * debug/wcsrtombs_chk.c: Likewise.
42536         * debug/wcstombs_chk.c: Likewise.
42537         * debug/wmemcpy_chk.c: Likewise.
42538         * debug/wmemmove_chk.c: Likewise.
42539         * debug/wmempcpy_chk.c: Likewise.
42540         * debug/wmemset_chk.c: Likewise.
42541         * dirent/scandirat.c (SCANDIRAT): Likewise.
42542         * dlfcn/dladdr1.c (dladdr1): Likewise.
42543         * dlfcn/dladdr.c (dladdr): Likewise.
42544         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42545         * dlfcn/dlerror.c (__dlerror): Likewise.
42546         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42547         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42548         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42549         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42550         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42551         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42552         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42553         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42554         Likewise.
42555         * elf/dl-conflict.c: Likewise.
42556         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42557         * elf/dl-dst.h: Likewise.
42558         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42559         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42560         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42561         * elf/dl-init.c (call_init, _dl_init): Likewise.
42562         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42563         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42564         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42565         Likewise.
42566         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42567         Likewise.
42568         * elf/dl-minimal.c (__libc_memalign): Likewise.
42569         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42570         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42571         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42572         * elf/dl-sym.c (do_sym): Likewise.
42573         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42574         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42575         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42576         * elf/dl-writev.h (_dl_writev): Likewise.
42577         * elf/ldconfig.c (search_dir): Likewise.
42578         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42579         (dl_main): Likewise.
42580         * elf/setup-vdso.h (setup_vdso): Likewise.
42581         * grp/compat-initgroups.c (compat_call): Likewise.
42582         * grp/fgetgrent.c (fgetgrent): Likewise.
42583         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42584         * grp/putgrent.c (putgrent): Likewise.
42585         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42586         Likewise.
42587         * hurd/hurdinit.c: Likewise.
42588         * iconvdata/8bit-gap.c (struct): Likewise.
42589         * iconvdata/ansi_x3.110.c : Likewise.
42590         * iconvdata/big5.c : Likewise.
42591         * iconvdata/big5hkscs.c : Likewise.
42592         * iconvdata/cp1255.c: Likewise.
42593         * iconvdata/cp1258.c : Likewise.
42594         * iconvdata/cp932.c : Likewise.
42595         * iconvdata/euc-cn.c: Likewise.
42596         * iconvdata/euc-jisx0213.c : Likewise.
42597         * iconvdata/euc-jp.c: Likewise.
42598         * iconvdata/euc-jp-ms.c : Likewise.
42599         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42600         * iconvdata/gb18030.c : Likewise.
42601         * iconvdata/gbbig5.c (const): Likewise.
42602         * iconvdata/gbgbk.c: Likewise.
42603         * iconvdata/gbk.c : Likewise.
42604         * iconvdata/ibm1364.c : Likewise.
42605         * iconvdata/ibm930.c : Likewise.
42606         * iconvdata/ibm932.c: Likewise.
42607         * iconvdata/ibm933.c : Likewise.
42608         * iconvdata/ibm935.c : Likewise.
42609         * iconvdata/ibm937.c : Likewise.
42610         * iconvdata/ibm939.c : Likewise.
42611         * iconvdata/ibm943.c: Likewise.
42612         * iconvdata/iso_11548-1.c: Likewise.
42613         * iconvdata/iso-2022-cn.c : Likewise.
42614         * iconvdata/iso-2022-cn-ext.c : Likewise.
42615         * iconvdata/iso-2022-jp-3.c: Likewise.
42616         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42617         * iconvdata/iso-2022-kr.c : Likewise.
42618         * iconvdata/iso646.c (gconv_end): Likewise.
42619         * iconvdata/iso_6937-2.c : Likewise.
42620         * iconvdata/iso_6937.c : Likewise.
42621         * iconvdata/iso8859-1.c: Likewise.
42622         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42623         * iconvdata/shift_jisx0213.c : Likewise.
42624         * iconvdata/sjis.c : Likewise.
42625         * iconvdata/t.61.c : Likewise.
42626         * iconvdata/tcvn5712-1.c : Likewise.
42627         * iconvdata/tscii.c: Likewise.
42628         * iconvdata/uhc.c : Likewise.
42629         * iconvdata/unicode.c (gconv_end): Likewise.
42630         * iconvdata/utf-16.c (gconv_end): Likewise.
42631         * iconvdata/utf-32.c (gconv_end): Likewise.
42632         * iconvdata/utf-7.c (base64): Likewise.
42633         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42634         * iconv/gconv_close.c (__gconv_close): Likewise.
42635         * iconv/gconv_open.c (__gconv_open): Likewise.
42636         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42637         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42638         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42639         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42640         (ucs4le_internal_loop_single): Likewise.
42641         * iconv/iconv.c (iconv): Likewise.
42642         * iconv/iconv_close.c: Likewise.
42643         * iconv/loop.c (SINGLE): Likewise.
42644         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42645         * include/atomic.h: Likewise.
42646         * inet/inet6_option.c (option_alloc): Likewise.
42647         * intl/bindtextdom.c (set_binding_values): Likewise.
42648         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42649         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42650         * intl/localealias.c (read_alias_file): Likewise.
42651         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42652         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42653         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42654         * libio/fmemopen.c (fmemopen): Likewise.
42655         * libio/iofgets.c (_IO_fgets): Likewise.
42656         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42657         * libio/iofgetws.c (fgetws): Likewise.
42658         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42659         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42660         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42661         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42662         * locale/findlocale.c (_nl_find_locale): Likewise.
42663         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42664         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42665         Likewise.
42666         * locale/setlocale.c (setlocale): Likewise.
42667         * login/programs/pt_chown.c (main): Likewise.
42668         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42669         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42670         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42671         (mmap, mmap64, mremap, munmap): Likewise.
42672         * math/e_exp2l.c: Likewise.
42673         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42674         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42675         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42676         * math/s_catan.c (__catan): Likewise.
42677         * math/s_catanf.c (__catanf): Likewise.
42678         * math/s_catanh.c (__catanh): Likewise.
42679         * math/s_catanhf.c (__catanhf): Likewise.
42680         * math/s_catanhl.c (__catanhl): Likewise.
42681         * math/s_catanl.c (__catanl): Likewise.
42682         * math/s_ccosh.c (__ccosh): Likewise.
42683         * math/s_ccoshf.c (__ccoshf): Likewise.
42684         * math/s_ccoshl.c (__ccoshl): Likewise.
42685         * math/s_cexp.c (__cexp): Likewise.
42686         * math/s_cexpf.c (__cexpf): Likewise.
42687         * math/s_cexpl.c (__cexpl): Likewise.
42688         * math/s_clog10.c (__clog10): Likewise.
42689         * math/s_clog10f.c (__clog10f): Likewise.
42690         * math/s_clog10l.c (__clog10l): Likewise.
42691         * math/s_clog.c (__clog): Likewise.
42692         * math/s_clogf.c (__clogf): Likewise.
42693         * math/s_clogl.c (__clogl): Likewise.
42694         * math/s_csin.c (__csin): Likewise.
42695         * math/s_csinf.c (__csinf): Likewise.
42696         * math/s_csinh.c (__csinh): Likewise.
42697         * math/s_csinhf.c (__csinhf): Likewise.
42698         * math/s_csinhl.c (__csinhl): Likewise.
42699         * math/s_csinl.c (__csinl): Likewise.
42700         * math/s_csqrt.c (__csqrt): Likewise.
42701         * math/s_csqrtf.c (__csqrtf): Likewise.
42702         * math/s_csqrtl.c (__csqrtl): Likewise.
42703         * math/s_ctan.c (__ctan): Likewise.
42704         * math/s_ctanf.c (__ctanf): Likewise.
42705         * math/s_ctanh.c (__ctanh): Likewise.
42706         * math/s_ctanhf.c (__ctanhf): Likewise.
42707         * math/s_ctanhl.c (__ctanhl): Likewise.
42708         * math/s_ctanl.c (__ctanl): Likewise.
42709         * math/w_pow.c: Likewise.
42710         * math/w_powf.c: Likewise.
42711         * math/w_powl.c: Likewise.
42712         * math/w_scalb.c (sysv_scalb): Likewise.
42713         * math/w_scalbf.c (sysv_scalbf): Likewise.
42714         * math/w_scalbl.c (sysv_scalbl): Likewise.
42715         * misc/error.c (error_tail): Likewise.
42716         * misc/pselect.c (__pselect): Likewise.
42717         * nis/nis_callback.c (__nis_create_callback): Likewise.
42718         * nis/nis_call.c (__nisfind_server): Likewise.
42719         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42720         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42721         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42722         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42723         * nis/nis_lookup.c (nis_lookup): Likewise.
42724         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42725         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42726         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42727         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42728         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42729         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42730         * nis/nss_compat/compat-initgroups.c (add_group)
42731         (internal_getgrent_r): Likewise.
42732         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42733         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42734         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42735         (internal_getspnam_r): Likewise.
42736         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42737         (_nss_nis_getaliasbyname_r): Likewise.
42738         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42739         (_nss_nis_getntohost_r): Likewise.
42740         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42741         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42742         (_nss_nis_getgrgid_r): Likewise.
42743         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42744         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42745         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42746         (_nss_nis_gethostbyname4_r): Likewise.
42747         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42748         (initgroups_netid): Likewise.
42749         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42750         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42751         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42752         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42753         (_nss_nis_getprotobynumber_r): Likewise.
42754         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42755         (_nss_nis_getsecretkey): Likewise.
42756         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42757         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42758         (_nss_nis_getpwuid_r): Likewise.
42759         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42760         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42761         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42762         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42763         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42764         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42765         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42766         Likewise.
42767         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42768         (_nss_nisplus_getntohost_r): Likewise.
42769         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42770         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42771         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42772         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42773         Likewise.
42774         * nis/nss_nisplus/nisplus-initgroups.c
42775         (_nss_nisplus_initgroups_dyn): Likewise.
42776         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42777         (_nss_nisplus_getnetbyaddr_r): Likewise.
42778         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42779         (_nss_nisplus_getprotobynumber_r): Likewise.
42780         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42781         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42782         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42783         Likewise.
42784         * nis/nss_nisplus/nisplus-service.c
42785         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42786         (_nss_nisplus_getservbyport_r): Likewise.
42787         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42788         (_nss_nisplus_getspnam_r): Likewise.
42789         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42790         Likewise.
42791         * nscd/aicache.c (addhstaiX): Likewise.
42792         * nscd/cache.c (cache_search, prune_cache): Likewise.
42793         * nscd/connections.c (register_traced_file, send_ro_fd)
42794         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42795         (main_loop_epoll): Likewise.
42796         * nscd/grpcache.c (addgrbyX): Likewise.
42797         * nscd/hstcache.c (addhstbyX): Likewise.
42798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42799         * nscd/mem.c (gc, mempool_alloc): Likewise.
42800         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42801         (addinnetgrX): Likewise.
42802         * nscd/nscd-client.h (__nscd_acquire_maplock)
42803         (__nscd_drop_map_ref): Likewise.
42804         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42805         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42806         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42807         Likewise.
42808         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42809         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42810         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42811         (__nscd_get_map_ref): Likewise.
42812         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42813         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42814         Likewise.
42815         * nscd/pwdcache.c (addpwbyX): Likewise.
42816         * nscd/selinux.c (preserve_capabilities): Likewise.
42817         * nscd/servicescache.c (addservbyX): Likewise.
42818         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42819         * posix/fnmatch.c (fnmatch): Likewise.
42820         * posix/getopt.c (_getopt_internal_r): Likewise.
42821         * posix/glob.c (glob, glob_in_dir): Likewise.
42822         * posix/wordexp.c (exec_comm_child): Likewise.
42823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42824         (getanswer_r, gaih_getanswer_slice): Likewise.
42825         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42826         * resolv/res_init.c: Likewise.
42827         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42828         * resolv/res_query.c (__libc_res_nquery): Likewise.
42829         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42830         Likewise.
42831         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42832         * stdio-common/perror.c (perror): Likewise.
42833         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42834         * stdio-common/tmpnam.c (tmpnam): Likewise.
42835         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42836         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42837         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42838         Likewise.
42839         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42840         * stdlib/putenv.c (putenv): Likewise.
42841         * stdlib/setenv.c (__add_to_environ): Likewise.
42842         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42843         * stdlib/strtol_l.c (INTERNAL): Likewise.
42844         * string/memmem.c (memmem): Likewise.
42845         * string/strerror.c (strerror): Likewise.
42846         * string/strnlen.c (__strnlen): Likewise.
42847         * string/test-memmem.c (simple_memmem): Likewise.
42848         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42849         * sunrpc/pm_getport.c (__get_socket): Likewise.
42850         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42851         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42852         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42853         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42854         Likewise.
42855         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42857         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42858         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42859         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42860         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42861         Likewise.
42862         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42863         Likewise.
42864         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42865         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42866         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42867         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42868         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42870         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42871         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42872         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42873         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42874         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42875         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42876         Likewise.
42877         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42878         Likewise.
42879         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42880         Likewise.
42881         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42883         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42884         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42885         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42886         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42887         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42889         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42890         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42891         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42893         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42894         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42896         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42897         Likewise.
42898         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42899         Likewise.
42900         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42901         Likewise.
42902         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42903         Likewise.
42904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42906         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42907         Likewise.
42908         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42909         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42910         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42911         * sysdeps/posix/sleep.c: Likewise.
42912         * sysdeps/posix/tempname.c: Likewise.
42913         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42914         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42915         Likewise.
42916         * sysdeps/powerpc/powerpc32/dl-machine.h
42917         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42918         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42920         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42921         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42922         Likewise.
42923         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42924         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42925         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42926         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42927         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42928         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42929         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42930         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42931         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42932         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42933         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42934         (elf_machine_lazy_rel): Likewise.
42935         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42937         (elf_machine_lazy_rel): Likewise.
42938         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42939         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42940         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42941         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42942         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42943         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42944         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42946         Likewise.
42947         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42948         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42949         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42950         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42951         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42952         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42953         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42954         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42955         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42956         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42957         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42958         Likewise.
42959         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42960         (__posix_fallocate64_l64): Likewise.
42961         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42962         (posix_fallocate): Likewise.
42963         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42964         Likewise.
42965         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42966         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42967         (getifaddrs_internal): Likewise.
42968         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42969         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42970         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42971         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42972         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42973         (__posix_fallocate64_l64): Likewise.
42974         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42975         Likewise.
42976         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42977         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42978         (__get_clockfreq): Likewise.
42979         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42980         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42981         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42984         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42985         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42986         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42987         Likewise.
42988         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42989         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42990         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42991         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42992         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42993         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42994         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42995         Likewise.
42996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42997         (posix_fallocate): Likewise.
42998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42999         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43000         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43001         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43002         (elf_machine_rela, elf_machine_rela_relative)
43003         (elf_machine_lazy_rel): Likewise.
43004         * time/asctime.c (asctime_internal): Likewise.
43005         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43006         * time/tzset.c (__tzset_parse_tz): Likewise.
43007         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43008         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43009         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43010         * wcsmbs/wcsmbsload.h: Likewise.
43012         [BZ #15894]
43013         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43015         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43016         (arena_get2): Remove THREAD_STATS conditionals.
43017         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43018         (__malloc_stats, int): Likewise.
43020 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43022         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43023         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43025         * manual/setjmp.texi: Fix typos/grammar errors.
43027         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43028         Only return early when n is <= 0.  Delete unused return statement.
43030         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43031         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43032         * debug/tst-longjmp_chk3.c: New file.
43034         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43035         (test_main): Replace code with set_fortify_handler call.
43036         * debug/test-strcpy_chk.c: Likewise.
43037         * debug/tst-chk1.c: Likewise.
43038         * debug/tst-longjmp_chk.c: Likewise.
43039         * test-skeleton.c: Include fcntl.h & paths.h
43040         (set_fortify_handler): Define.
43042         * debug/tst-longjmp_chk.c: Add header comment and include
43043         ../test-skeleton.c.
43044         (do_test): Mark static.
43045         (TEST_FUNCTION): Define.
43047         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43048         (IP_PMTUDISC_INTERFACE): Likewise.
43049         (IP_MULTICAST_IF): Likewise.
43050         (IP_MULTICAST_TTL): Likewise.
43051         (IP_MULTICAST_LOOP): Likewise.
43052         (IP_ADD_MEMBERSHIP): Likewise.
43053         (IP_DROP_MEMBERSHIP): Likewise.
43054         (IP_UNBLOCK_SOURCE): Likewise.
43055         (IP_BLOCK_SOURCE): Likewise.
43056         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43057         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43058         (IP_MSFILTER): Likewise.
43059         (MCAST_JOIN_GROUP): Likewise.
43060         (MCAST_BLOCK_SOURCE): Likewise.
43061         (MCAST_UNBLOCK_SOURCE): Likewise.
43062         (MCAST_LEAVE_GROUP): Likewise.
43063         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43064         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43065         (MCAST_MSFILTER): Likewise.
43066         (IP_MULTICAST_ALL): Likewise.
43067         (IP_UNICAST_IF): Likewise.
43069         * timezone/Makefile: Delete $(have-ksh) check.
43070         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43071         * timezone/tzselect.ksh: Add +x mode bits.
43073         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43074         (ANON_INODE_FS_MAGIC): Likewise.
43075         (BDEVFS_MAGIC): Likewise.
43076         (BINFMTFS_MAGIC): Likewise.
43077         (BTRFS_TEST_MAGIC): Likewise.
43078         (CRAMFS_MAGIC_WEND): Likewise.
43079         (DEBUGFS_MAGIC): Likewise.
43080         (ECRYPTFS_SUPER_MAGIC): Likewise.
43081         (EXT3_SUPER_MAGIC): Likewise.
43082         (EXT4_SUPER_MAGIC): Likewise.
43083         (FUTEXFS_SUPER_MAGIC): Likewise.
43084         (HOSTFS_SUPER_MAGIC): Likewise.
43085         (HUGETLBFS_MAGIC): Likewise.
43086         (MINIX3_SUPER_MAGIC): Likewise.
43087         (MTD_INODE_FS_MAGIC): Likewise.
43088         (NILFS_SUPER_MAGIC): Likewise.
43089         (OPENPROM_SUPER_MAGIC): Likewise.
43090         (PIPEFS_MAGIC): Likewise.
43091         (PSTOREFS_MAGIC): Likewise.
43092         (QNX6_SUPER_MAGIC): Likewise.
43093         (RAMFS_MAGIC): Likewise.
43094         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43095         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43096         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43097         (SECURITYFS_MAGIC): Likewise.
43098         (SELINUX_MAGIC): Likewise.
43099         (SMACK_MAGIC): Likewise.
43100         (SOCKFS_MAGIC): Likewise.
43101         (SQUASHFS_MAGIC): Likewise.
43102         (STACK_END_MAGIC): Likewise.
43103         (TMPFS_MAGIC): Likewise.
43104         (USBDEVICE_SUPER_MAGIC): Likewise.
43105         (V9FS_MAGIC): Likewise.
43106         (XENFS_SUPER_MAGIC): Likewise.
43107         (CRAMFS_MAGIC): Fix typo in comment.
43108         (EXT2_SUPER_MAGIC): Update comment.
43109         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43111 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43113         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43114         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43115         * sysdeps/unix/sysv/linux/arm: Move directory from
43116         ports/sysdeps/unix/sysv/linux/arm.
43117         * README: Update listing for arm-*-linux-gnueabi.
43119         * README: Remove mention of am33.
43121 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43123         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43124         than the comma operator, to avoid "rhs of comma has no effect"
43125         compiler warnings.
43126         (__sigfillset, __sigandset, __sigorset): Likewise.
43127         * include/signal.h (__sigemptyset): Likewise.
43128         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43130 2014-02-07  Allan McRae  <allan@archlinux.org>
43132         * version.h (RELEASE): Set to "development".
43133         (VERSION): Set to "2.19.90"
43134         * NEWS: Add 2.20 section.
43136 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43138         [BZ #16529]
43139         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43141 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43143         * manual/contrib.texi: Update entry for Carlos O'Donell,
43144         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43146 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43148         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43150         * sysdeps/unix/sysv/linux/kernel-features.h
43151         [__LINUX_KERNEL_VERSION >= 0x020621]
43152         (__ASSUME_PROC_PID_TASK_COMM): Define.
43154 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43156         [BZ #16398]
43157         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43158         conversion when destination buffer does not have enough space.
43159         * libio/tst-ftell-partial-wide.c: New test case.
43160         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43162         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43163         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43164         Leonard and Allan McRae.
43166 2014-02-04  David S. Miller  <davem@davemloft.net>
43168         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43169         32-bit.
43171 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43174         New file
43175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43176         New file
43177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43178         New file.
43179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43180         New file.
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43182         New file.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43184         New file.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43186         New file.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43188         New file.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43190         New file.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43192         New file.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43194         New file.
43195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43196         New file.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43198         New file.
43200 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43202         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43203         * shlib-versions: Likewise.
43205 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43206             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43208         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43209         (abilist-pattern): New variable, set to %-le.abilist.
43211         * Makerules (abilist-pattern): New variable.
43212         (vpath): Use $(abilist-pattern) in place of %.abilist.
43213         (check-abi-% pattern rule): Likewise.
43214         (check-abi, update-abi): Likewise.
43216 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43220 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43222         * manual/startup.texi: Add next, previous, and top entries for
43223         the `Program Arguments' and `Environment Variables' nodes.
43225 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43227         * manual/macros.texi: Add comments before MTASC-safety macros.
43229         * manual/users.texi: Document MTASC-safety properties.
43231         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43232         (pthread_getspecific, pthread_setspecific): Format with
43233         @deftypefun, and add @safety note.
43234         * manual/signal.texi: Move comments that analyze the above
43235         functions to their home place.
43237 2014-02-03  Allan McRae  <allan@archlinux.org>
43239         * po/sl.po: Update Slovenian translation from translation project.
43241 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43243         * manual/time.texi (timegm): Add missing blank after @c.
43244         Reported by Joseph Myers <joseph@codesourcery.com>.
43246 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43248         * manual/check-safety.sh: New.
43249         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43251         * manual/terminal.texi: Document MTASC-safety properties.
43253         * manual/filesys.texi: Document MTASC-safety properties.
43255         * manual/errno.texi: Document MTASC-safety properties.
43257         * manual/intro.texi: Document safety identifiers and
43258         conditionals.
43260         * manual/string.texi (wcstok): Fix prototype.
43261         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43263         * manual/time.texi: Document MTASC-safety properties.
43265         * manual/string.texi: Document MTASC-safety properties.
43267         * manual/threads.texi: Document MTASC-safety properties.
43269         * manual/stdio.texi: Document MTASC-safety properties.
43271         * manual/syslog.texi: Document MTASC-safety properties.
43273         * manual/sysinfo.texi: Document MTASC-safety properties.
43275         * manual/startup.texi: Document MTASC-safety properties.
43277         * manual/socket.texi: Document MTASC-safety properties.
43279         * manual/signal.texi: Document MTASC-safety properties.
43281 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43283         * manual/setjmp.texi: Document MTASC-safety properties.
43285         * manual/search.texi: Document MTASC-safety properties.
43287         * manual/resource.texi: Document MTASC-safety properties.
43289         * manual/process.texi: Document MTASC-safety properties.
43291         * manual/platform.texi: Document MTASC-safety properties.
43293         * manual/pipe.texi: Document MTASC-safety properties.
43295         * manual/pattern.texi: Document MTASC-safety properties.
43297         * manual/message.texi: Document MTASC-safety properties.
43299         [BZ #12751]
43300         * manual/memory.texi: Document MTASC-safety properties.
43302         * manual/math.texi: Document MTASC-safety properties.
43304         * manual/locale.texi: Document MTASC-safety properties.
43306         * manual/llio.texi: Document MTASC-safety properties.
43308         * manual/libdl.texi: New.
43310         * manual/lang.texi: Document MTASC-safety properties.
43312         * manual/job.texi: Document MTASC-safety properties.
43314         * manual/getopt.texi: Document MTASC-safety properties.
43316         * manual/ctype.texi: Document MTASC-safety properties.
43318 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43320         [BZ #16046]
43321         * csu/libc-tls.c (static_map): Remove variable.
43322         (__libc_setup_tls): Use main executable's link map for TLS data.
43323         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43324         casing for LM_ID_BASE and GL(dl_nns).
43325         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43326         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43327         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43328         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43329         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43330         member.
43331         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43332         l_phnum members.
43334 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43336         * manual/debug.texi: Document MTASC-safety properties.
43338 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43340         [BZ #16510]
43341         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43342         of __x86_64__ when disabling x87 inline functions.
43344 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43346         * manual/charset.texi: Document MTASC-safety properties.
43348         * manual/crypt.texi: Document MTASC-safety properties.
43350         * manual/conf.texi: Document MTASC-safety properties.
43352         * manual/arith.texi: Document MTASC-safety properties.
43354         * manual/argp.texi: Document MTASC-safety properties.
43356         * manual/macros.texi: Introduce macros to document multi
43357         thread, asynchronous signal and asynchronous cancellation
43358         safety properties.
43359         * manual/intro.texi: Introduce the properties themselves.
43361 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43363         * sysdeps/sh/sh4/Makefile: New file.
43365 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43367         * math/gen-libm-test.pl ($srcdir): New variable.
43368         ($auto_input): Use it.
43370 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43372         [BZ #16506]
43373         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43374         access beyond array bounds when parsing netgroups file.
43376         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43377         the old buffer before realloc.
43379 2014-01-27  Allan McRae  <allan@archlinux.org>
43381         * po/fr.po: Update French translation from translation project.
43383 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43385         * sysdeps/sh/libm-test-ulps: Regenerate.
43387 2014-01-24  David S. Miller  <davem@davemloft.net>
43389         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43391 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43393         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43394         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43396 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43398         [BZ #16474]
43399         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43400         string pointers after reallocation.
43402 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43404         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43405         __SH4A__ instead of __SH_FPU_ANY__.
43407 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43409         * sysdeps/sh/fpu_control.h: New file.
43410         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43411         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43412         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43413         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43414         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43415         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43416         * sysdeps/sh/sys/ucontext.h: Remove.
43417         * sysdeps/sh/sys: Remove directory.
43419 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43421         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43422         s390/sys/ucontext.h.
43423         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43426 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43428         [BZ #15605]
43429         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43431 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43433         [BZ#16431]
43434         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43435         Adjust the vDSO correctly for internal calls.
43436         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43438 2014-01-20  Allan McRae  <allan@archlinux.org>
43440         * po/ca.po: Update Catalan translation from translation project.
43442 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43444         * sysdeps/s390/sotruss-lib.c: New file.
43446 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43448         [BZ#16430]
43449         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43450         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43451         local calls issues by not having a PLT stub required for IFUNC calls.
43452         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43454 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43456         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43457         * math/test-fpucw-static.c: Likewise.
43459 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43461         [BZ #16453]
43462         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43464 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43466         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43467         implementation for powerpc.
43469 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43471         [BZ #14782]
43472         * sysdeps/posix/system.c (__libc_system): Do not enable
43473         asynchronous cancellation.
43475 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43477         [BZ #16427]
43478         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43479         handling only for numbers special also in the IEEE case.
43481 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43483         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43485 2014-01-11  Allan McRae  <allan@archlinux.org>
43487         * po/bg.po: Update Bulgarian translation from translation project.
43489         * po/de.po: Update German translation from translation project.
43491 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43493         * sysdeps/generic/gcc-compat.h: New file.
43495 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43497         * benchtests/asin-inputs: Correct slow inputs.
43498         * benchtests/acos-inputs: Likewise.
43500 2014-01-10  Allan McRae  <allan@archlinux.org>
43502         * po:sv.po: Update Swedish translation from translation project.
43504         * po/vi.po: Update Vietnamese translation from translation project.
43506         * po/eo.po: Update Esperanto translation from translation project.
43508         * po/cs.po: Update Czech translation from translation project.
43510         * po/nl.po: Update Dutch translation from translation project.
43512         * po/pl.po: Update Polish translation from translation project.
43514         * po/ru.po: Update Russian translation from translation project.
43516         * po/uk.po: Update Ukrainian translation from translation project.
43518 2014-01-08  Brooks Moses  <bmoses@google.com>
43520         * elf/dl-load.c: Fix comment typo.
43522 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43524         * po/header.pot: Rename to...
43525         * po/pot.header: ... this.
43526         * po/Makefile: Use pot.header.
43528 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43529             Maxim Kuvyrkov  <maxim@kugelworks.com>
43531         [BZ #16394]
43532         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43533         SRC and DEST against LEN.
43535 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43537         [BZ #16414]
43538         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43539         implementation.
43540         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43542 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43546 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43548         [BZ #16408]
43549         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43550         for large positive arguments.
43552 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43554         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43556         * math/auto-libm-test-in: Mark various tests with
43557         xfail-rounding:ldbl-128ibm.
43558         * math/auto-libm-test-out: Regenerated.
43560         [BZ #16407]
43561         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43562         Increase overflow threshold.
43564 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43566         [BZ #14286]
43567         * stdio-common/vfprintf.c: Check for integer overflow.
43569 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43571         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43572         the first argument and return value of __tls_get_addr_internal.
43574 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43576         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43577         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43579 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43581         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43582         * sysdeps/s390/rtld-global-offsets.sym: New file.
43583         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43584         GLIBC_2.19 symbol.
43585         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43587         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43588         ... this.
43589         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43590         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43591         ... this.
43592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43593         Regenerate.
43594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43595         Regenerate.
43596         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43597         halfs of GPRs for high_gprs contexts.
43598         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43599         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43600         field.
43601         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43602         uc_flags field.
43603         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43604         64 bit versions:
43605         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43606         for high GPRs (uc_high_gprs) and for future extensions
43607         (__reserved).
43608         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43609         for future extensions (__reserved).
43610         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43611         64 bit versions:
43612         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43613         SC_HIGHGPRS offset definition.
43614         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43615         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43617         * Versions.def: Add GLIBC_2.19 for libpthread.
43618         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43619         siglongjmp for libpthread with GLIBC_2.19 symver.
43620         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43621         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43622         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43623         * sysdeps/s390/__longjmp.c: New file.
43624         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43625         * sysdeps/s390/longjmp.c: New file.
43626         * sysdeps/s390/setjmp.S: New file.
43627         * sysdeps/s390/sigjmp.S: New file.
43628         * sysdeps/s390/v1-longjmp.c: New file.
43629         * sysdeps/s390/v1-setjmp.h: New file.
43630         * sysdeps/s390/v1-sigjmp.c: New file.
43631         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43632         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43633         GLIBC_2.19 version.
43634         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43635         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43636         versioned symbols for ____longjmp_chk.
43637         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43638         Likewise.
43639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43640         Regenerate.
43641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43642         Regenerate.
43643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43644         Regenerate.
43645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43646         Regenerate.
43647         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43648         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43649         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43650         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43651         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43652         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43653         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43654         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43655         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43656         * sysdeps/s390/rtld-__longjmp.c: New file.
43657         * sysdeps/s390/rtld-setjmp.S: New file.
43659 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43661         [BZ #16400]
43662         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43663         Return -__logl (x) for small positive arguments without evaluating
43664         a polynomial.
43666 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43668         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43669         Rename to ...
43670         (__ptrace_peeksiginfo_args): ... this.
43671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43673         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43675 2014-01-06  Allan McRae  <allan@archlinux.org>
43677         * inet/netinet/in.h: Fix typo in comment.
43679 2014-01-05  Andreas Jaeger  <aj@suse.de>
43681         * sysdeps/i386/fpu/libm-test-ulps: Update.
43683 2014-01-05  Allan McRae  <allan@archlinux.org>
43685         * po/libc.pot: Regenerated.
43687         * malloc/memusagestat.c: Fix gettext call formatting.
43689 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43691         * nscd/nscd.c: Improve usage() output.
43693 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43695         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43696         * sysdeps/unix/sysv/linux/configure: Regenerated.
43697         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43698         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43700 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43702         [BZ #16390]
43703         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43704         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43706 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43709         extra tokens at end of #undef directive.
43710         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43711         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43712         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43714 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43716         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43718         * math/auto-libm-test-in: Mark various tests with
43719         xfail-rounding:ldbl-128ibm.
43720         * math/auto-libm-test-out: Regenerated.
43722 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43724         [BZ #16386]
43725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43726         numbers with subnormal high part when calculating exponent.
43728         [BZ #16385]
43729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43730         fabs.
43732         [BZ #16384]
43733         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43734         M_LN2l.
43735         (__ieee754_acoshl): Use __log1pl not __log1p.
43737 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43739         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43740         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43741         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43742         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43743         (reused_arena, arena_get2): Convert to GNU style.
43744         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43745         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43746         (memalign_check, __malloc_set_state): Likewise.
43747         * malloc/mallocbug.c (main): Likewise.
43748         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43749         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43750         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43751         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43752         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43753         (__posix_memalign, malloc_info): Likewise.
43754         * malloc/malloc.h: Likewise.
43755         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43756         (mallochook, memalignhook, reallochook, mabort): Likewise.
43757         * malloc/mcheck.h: Likewise.
43758         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43759         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43760         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43761         * malloc/morecore.c (__default_morecore): Likewise.
43762         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43763         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43764         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43765         (print_and_abort): Likewise.
43766         * malloc/obstack.h: Likewise.
43767         * malloc/set-freeres.c (__libc_freeres): Likewise.
43768         * malloc/tst-mallocstate.c (main): Likewise.
43769         * malloc/tst-mtrace.c (main): Likewise.
43770         * malloc/tst-realloc.c (do_test): Likewise.
43772 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43774         [BZ #16366]
43775         * nscd/netgroupcache.c (do_notfound): New function.
43776         (addgetnetgrentX): Use it.
43778         [BZ # 16365]
43779         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43780         NSS_STATUS_NOTFOUND.
43782 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43784         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43787 2014-01-01  Allan McRae  <allan@archlinux.org>
43789         * scripts/update-copyrights: Update configure input file suffix.
43791         * NEWS: Update copyright year.
43792         * catgets/gencat.c: Likewise.
43793         * csu/version.c: Likewise.
43794         * debug/catchsegv.sh: Likewise.
43795         * debug/pcprofiledump.c: Likewise.
43796         * debug/xtrace.sh: Likewise.
43797         * elf/ldconfig.c: Likewise.
43798         * elf/ldd.bash.in: Likewise.
43799         * elf/pldd.c: Likewise.
43800         * elf/sotruss.ksh: Likewise.
43801         * elf/sprof.c: Likewise.
43802         * iconv/iconv_prog.c: Likewise.
43803         * iconv/iconvconfig.c: Likewise.
43804         * locale/programs/locale.c: Likewise.
43805         * locale/programs/localedef.c: Likewise.
43806         * login/programs/pt_chown.c: Likewise.
43807         * malloc/memusage.sh: Likewise.
43808         * malloc/memusagestat.c: Likewise.
43809         * malloc/mtrace.pl: Likewise.
43810         * manual/libc.texinfo: Likewise.
43811         * nscd/nscd.c: Likewise.
43812         * nss/getent.c: Likewise.
43813         * nss/makedb.c: Likewise.
43814         * posix/getconf.c: Likewise.
43815         * scripts/test-installation.pl: Likewise.
43817         * All files with FSF copyright notices: Update copyright dates
43818         using scripts/update-copyrights.
43819         * intl/plural.c: Regenerated.
43820         * locale/programs/charmap-kw.h: Likewise.
43821         * locale/programs/locfile-kw.h: Likewise.
43823 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43825         * sysdeps/unix/sysv/linux/configure: Regenerated.
43826         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43827         the linux/fanotify.h header.
43828         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43829         HAVE_LINUX_FANOTIFY_H is defined.
43831 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43833         * benchtests/cos-inputs: New inputs.
43834         * benchtests/sin-inputs: Likewise.
43836         * benchtests/atan-inputs: New inputs. Fix name of multiple
43837         precision fallback inputs.
43839         * benchtests/atanh-inputs: New inputs.
43840         * benchtests/tanh-inputs: Likewise.
43842         * benchtests/acosh-inputs: New inputs.
43843         * benchtests/asinh-inputs: Likewise.
43845         * benchtests/cosh-inputs: New inputs.
43846         * benchtests/sinh-inputs: Likewise.
43848         * benchtests/acos-inputs: Add more inputs.
43849         * benchtests/asin-inputs: Likewise.
43851 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43853         [BZ #16375]
43854         * manual/arith.texi: Fix spelling.
43855         * manual/charset.texi: Likewise.
43856         * manual/errno.texi: Likewise.
43857         * manual/filesys.texi: Likewise.
43858         * manual/lang.texi: Likewise.
43859         * manual/llio.texi: Likewise.
43860         * manual/locale.texi: Likewise.
43861         * manual/message.texi: Likewise.
43862         * manual/resource.texi: Likewise.
43863         * manual/search.texi: Likewise.
43864         * manual/setjmp.texi: Likewise.
43865         * manual/stdio.texi: Likewise.
43866         * manual/string.texi: Likewise.
43867         * manual/sysinfo.texi: Likewise.
43868         * manual/time.texi: Likewise.
43870 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43872         * po/sl.po: New file.
43874 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43876         * .gitignore: Add core/.gdbinit/.gdb_history.
43878 2013-12-27  Allan McRae  <allan@archlinux.org>
43880         [BZ #16369]
43881         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43882         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43884 2013-12-24  Brooks Moses  <bmoses@google.com>
43886         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43887         all compilers that claim C++98 compliance, not just GCC.
43888         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43889         Likewise.
43891 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43893         * NEWS: Restore accidentally deleted bug-fix entries.
43895 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43896             Ondřej Bílka  <neleai@seznam.cz>
43898         [BZ #15073]
43899         * malloc/malloc.c (_int_free): Perform sanity check only if we
43900         have_lock.
43902 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43904         [BZ #12986]
43905         * manual/stdio.texi (String Input Conversions): Clarify that character
43906         classes are not supported.
43908 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43912 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43914         [BZ #16337]
43915         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43916         Calculate results for small negative arguments directly rather
43917         than using reflection formula with special underflow handling.
43919         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43920         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43921         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43922         (fchflags): Likewise.
43923         (revoke): Likewise.
43924         (setlogin): Likewise.
43925         (sigaltstack): Likewise.
43926         (wait4): Likewise.
43927         (sigblock): Remove.
43928         (sigsetmask): Likewise.
43929         (wait3): Likewise.
43930         (waitpid): Likewise.
43931         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43932         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43933         file.
43934         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43935         * sysdeps/unix/bsd/Makefile: ... here.
43936         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43937         * sysdeps/unix/bsd/Versions: ... here.
43938         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43939         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43940         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43941         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43942         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43943         * sysdeps/unix/bsd/sigblock.c: ... here.
43944         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43945         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43946         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43947         * sysdeps/unix/bsd/sigvec.c: ... here.
43948         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43949         * sysdeps/unix/bsd/tcdrain.c: ... here.
43950         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43951         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43952         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43953         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43954         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43955         * sysdeps/unix/bsd/wait.c: ... here.
43956         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43957         * sysdeps/unix/bsd/wait3.c: ... here.
43958         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43959         * sysdeps/unix/bsd/waitpid.c: ... here.
43961 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43963         [BZ #16356]
43964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43965         round-to-nearest for [!USE_AS_EXPM1L].
43966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43967         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43968         more tests of exp and exp10.  Expect some exp10 tests to miss
43969         exceptions or fail in directed rounding modes.
43970         * math/auto-libm-test-out: Regenerated.
43971         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43972         (exp10_test_tonearest): New function.
43973         (exp10_towardzero_test_data): New array.
43974         (exp10_test_towardzero): New function.
43975         (exp10_downward_test_data): New array.
43976         (exp10_test_downward): New function.
43977         (exp10_upward_test_data): New array.
43978         (exp10_test_upward): New function.
43979         (main): Call the new functions.
43980         * sysdeps/i386/fpu/libm-test-ulps: Update.
43981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43983 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43985         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43986         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43987         * math/auto-libm-test-out: Regenerated.
43988         * math/libm-test.inc (acosh_test_data): Add more tests.
43989         (atanh_test_data): Likewise.
43990         (ceil_test_data): Likewise.
43991         (copysign_test_data): Likewise.
43992         * sysdeps/i386/fpu/libm-test-ulps: Update.
43993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43995         * timezone/checktab.awk: Update from tzcode 2013i.
43996         * timezone/private.h: Likewise.
43997         * timezone/scheck.c: Likewise.
43998         * timezone/tzfile.h: Likewise.
43999         * timezone/tzselect.ksh: Likewise.
44000         * timezone/zdump.c: Likewise.
44001         * timezone/zic.c: Likewise.
44003         * math/auto-libm-test-in: Add tests of cpow.
44004         * math/auto-libm-test-out: Regenerated.
44005         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44007         mpc_cc_c.
44008         (func_calc_desc): Add mpc_cc_c union field.
44009         (test_functions): Add cpow.
44010         (special_fill_2pi): New function.
44011         (special_real_inputs): Add 2pi.
44012         (calc_generic_results): Handle mpc_cc_c.
44013         * sysdeps/i386/fpu/libm-test-ulps: Update.
44014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44016         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44017         csqrt, ctan and ctanh.
44018         * math/auto-libm-test-out: Regenerated.
44019         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44020         (TEST_COND_x86): Likewise.
44021         (ccos_test_data): Use AUTO_TESTS_c_c.
44022         (ccosh_test_data): Likewise.
44023         (cexp_test_data): Likewise.
44024         (clog_test_data): Likewise.
44025         (csqrt_test_data): Likewise.
44026         (ctan_test_data): Likewise.
44027         (ctan_tonearest_test_data): Likewise.
44028         (ctan_towardzero_test_data): Likewise.
44029         (ctan_downward_test_data): Likewise.
44030         (ctan_upward_test_data): Likewise.
44031         (ctanh_test_data): Likewise.
44032         (ctanh_tonearest_test_data): Likewise.
44033         (ctanh_towardzero_test_data): Likewise.
44034         (ctanh_downward_test_data): Likewise.
44035         (ctanh_upward_test_data): Likewise.
44036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44037         mpc_c_c.
44038         (func_calc_desc): Add mpc_c_c union field.
44039         (FUNC_mpc_c_c): New macro.
44040         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44041         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44042         ctanh.
44043         (special_fill_min_subnorm_p120): New function.
44044         (special_real_inputs): Add min_subnorm_p120.
44045         (calc_generic_results): Handle mpc_c_c.
44046         * sysdeps/i386/fpu/libm-test-ulps: Update.
44047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44049 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44051         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44052         (do_sin_slow): New functions.
44053         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44054         (cslow2, csloww1, csloww2): Use the new functions.
44056         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44057         Use M to change sign of result instead of X.  Assume X is
44058         positive.
44059         (csloww1): Likewise.
44060         (__sin): Adjust.
44061         (__cos): Adjust.
44063         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44064         arguments A and DA.
44065         (__sin): Adjust.
44066         (__cos): Likewise.
44068         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44069         (__cos): Likewise.
44070         (sloww1): Don't adjust sign of DX.
44071         (csloww1): Likewise.
44072         (sloww2): Use X directly and don't adjust sign of DX.
44073         (csloww2): Likewise.
44075 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44077         * math/auto-libm-test-in: Add tests of cabs and carg.
44078         * math/auto-libm-test-out: Regenerated.
44079         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44080         (carg_test_data): Likewise.
44081         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44082         mpc_c_f.
44083         (func_calc_desc): Add mpc_c_f union field.
44084         (test_functions): Add cabs and carg.
44085         (calc_generic_results): Handle mpc_c_f.
44087         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44088         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44089         as a macro and a compat symbol.
44090         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44091         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44092         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44093         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44094         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44095         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44096         not use .hidden.
44097         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44098         Likewise.
44099         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44100         Likewise.
44101         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44102         Likewise.
44103         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44104         Likewise.
44105         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44106         Likewise.
44107         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44108         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44109         from GLIBC_2.3.2.
44111 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44115 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44117         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44118         trailing whitespace removed.
44119         * scripts/config.guess: Update to version 2013-11-29.
44120         * scripts/config.sub: Update to version 2013-10-01.
44122         * math/auto-libm-test-in: Add tests of sincos.
44123         * math/auto-libm-test-out: Regenerated.
44124         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44125         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44126         mpfr_f_11.
44127         (func_calc_desc): Add mpfr_f_11 union field.
44128         (test_functions): Add sincos.
44129         (calc_generic_results): Handle mpfr_f_11.
44130         * sysdeps/i386/fpu/libm-test-ulps: Update.
44131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44133 2013-12-19  Andreas Schwab  <schwab@suse.de>
44135         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44136         CALL_MCOUNT.
44137         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44138         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44139         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44141 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44143         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44144         * sysdeps/i386/fpu/libm-test-ulps: Update.
44145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44147         [BZ #16293]
44148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44149         round-to-nearest mode when using frndint.
44150         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44151         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44153         Likewise.
44154         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44155         sinh test to fail.
44156         * math/auto-libm-test-out: Regenerated.
44157         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44158         (TEST_COND_x86): Likewise.
44159         (expm1_tonearest_test_data): New array.
44160         (expm1_test_tonearest): New function.
44161         (expm1_towardzero_test_data): New array.
44162         (expm1_test_towardzero): New function.
44163         (expm1_downward_test_data): New array.
44164         (expm1_test_downward): New function.
44165         (expm1_upward_test_data): New array.
44166         (expm1_test_upward): New function.
44167         (main): Run the new test functions.
44168         * sysdeps/i386/fpu/libm-test-ulps: Update.
44169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44171         * include/features.h: Update comment documenting feature test
44172         macros.  Mention _DEFAULT_SOURCE in comment.
44173         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44174         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44175         _BSD_SOURCE and _SVID_SOURCE.
44176         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44177         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44178         !_SVID_SOURCE]: Likewise.
44179         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44180         (__USE_POSIX_IMPLICITLY): Define.
44181         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44182         (_POSIX_SOURCE): Undefine and redefine.
44183         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44184         (_POSIX_C_SOURCE): Likewise.
44185         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44186         (Feature Test Macros): Update documentation of default features.
44188 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44190         * benchtests/Makefile: Add bench-strtok.
44191         * benchtests/bench-strtok.c: New file: strtok benchtest.
44193 2013-12-19  Allan McRae  <allan@archlinux.org>
44195         * manual/install.texi: Suppress menu for plain text output.
44196         * INSTALL: Regenerated.
44198 2013-12-18  Brooks Moses  <bmoses@google.com>
44200         [BZ #15846]
44201         * misc/getauxval.c: Include errno.h.
44202         (__getauxval): Set errno to ENOENT if the requested type is not
44203         found.
44204         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44205         don't declare with __attribute_const__.
44206         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44207         * manual/startup.texi: Document that getauxval sets errno.
44209 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44211         * math/auto-libm-test-in: Add tests of jn and yn.
44212         * math/auto-libm-test-out: Regenerated.
44213         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44214         (yn_test_data): Likewise.
44215         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44216         mpfr_if_f.
44217         (func_calc_desc): Add mpfr_if_f union field.
44218         (FUNC_mpfr_if_f): New macro.
44219         (test_functions): Add jn and yn.
44220         (calc_generic_results): Assert type of second input for
44221         mpfr_ff_f.  Handle mpfr_if_f.
44222         (output_for_one_input_case): Disable all checking for arguments
44223         fitting floating-point types in case of an integer argument.
44224         * sysdeps/i386/fpu/libm-test-ulps: Update.
44225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44228         Don't expect fegetround reference in libm.so.
44230 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44232         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44233         $(config-cflags-nofma).
44235 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44237         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44238         * math/auto-libm-test-out: Regenerated.
44240         [BZ #16338]
44241         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44242         to determine exponent and adjust argument to have exponent of -1.
44243         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44244         log2.
44245         * math/auto-libm-test-out: Regenerated.
44246         * sysdeps/i386/fpu/libm-test-ulps: Update.
44247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44249 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44251         * manual/probes.texi: Remove cases when per-thread arenas are
44252         disabled.
44254 2013-12-18  Andreas Schwab  <schwab@suse.de>
44256         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44257         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44258         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44259         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44260         * sysdeps/i386/i686/multiarch/Makefile: Update.
44261         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44263 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44265         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44266         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44268 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44270         [BZ #15968]
44271         Support TZ transition times < 00:00:00.
44272         This is needed for version-3 tz-format files; it supports time
44273         stamps past 2037 for America/Godthab (the only entry in the tz
44274         database for which this change is relevant).
44275         * manual/time.texi (TZ Variable): Document transition times
44276         from -167:59:59 through -00:00:01.
44277         * time/tzset.c (tz_rule): Time of day is now signed.
44278         (__tzset_parse_tz): Parse negative time of day.
44280         Document TZ transition times >= 25:00:00.
44281         * manual/time.texi (TZ Variable): Document transition times from
44282         25:00:00 through 167:59:59.  These are already supported, and this
44283         support will help with version-3 tz-format files.
44285         * manual/time.texi (TZ Variable): Modernize North America example
44286         to reflect current (i.e., 2007-and-later) daylight saving rules.
44288         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44290 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44292         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44293         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44295         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44296         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44297         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44298         * sysdeps/unix/bsd/clock.c: Likewise.
44299         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44300         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44301         * sysdeps/unix/bsd/init-posix.c: Likewise.
44302         * sysdeps/unix/bsd/poll.c: Likewise.
44303         * sysdeps/unix/bsd/ptsname.c: Likewise.
44304         * sysdeps/unix/bsd/seekdir.c: Likewise.
44305         * sysdeps/unix/bsd/setegid.c: Likewise.
44306         * sysdeps/unix/bsd/seteuid.c: Likewise.
44307         * sysdeps/unix/bsd/setgid.c: Likewise.
44308         * sysdeps/unix/bsd/setrgid.c: Likewise.
44309         * sysdeps/unix/bsd/setruid.c: Likewise.
44310         * sysdeps/unix/bsd/setsid.c: Likewise.
44311         * sysdeps/unix/bsd/setuid.c: Likewise.
44312         * sysdeps/unix/bsd/sigaction.c: Likewise.
44313         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44314         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44315         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44316         * sysdeps/unix/bsd/telldir.c: Likewise.
44317         * sysdeps/unix/bsd/times.c: Likewise.
44318         * sysdeps/unix/bsd/usleep.c: Likewise.
44320         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44321         ($(objpfx)libbsd-compat.a): Remove rule.
44323         * include/features.h (__FAVOR_BSD): Do not define.
44324         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44325         features conflicting with POSIX.
44326         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44327         (_BSD_SOURCE): Remove description of not being a subset of other
44328         feature test macros.
44329         * manual/job.texi (getpgrp): Do not document BSD version.
44330         (getpgid): Do not document by reference to BSD getpgrp.
44331         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44332         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44333         * signal/signal.h [__FAVOR_BSD]: Likewise.
44334         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44335         instead of making contents conditional on [__FAVOR_BSD].
44336         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44338 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44342 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44344         [BZ #16314]
44345         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44346         values below 2**-450, not 2**-500.
44347         * math/auto-libm-test-in: Don't allow spurious underflow from
44348         hypot.
44349         * math/auto-libm-test-out: Regenerated.
44351         [BZ #16316]
44352         [BZ #16330]
44353         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44354         values of ha and hb and sort them after adjusting subnormal
44355         arguments.
44356         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44357         Likewise.
44358         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44359         values of ea and eb and sort them after adjusting subnormal
44360         arguments.
44361         * math/auto-libm-test-in: Do not expect some hypot tests of
44362         subnormals to fail.  Add more hypot tests.
44363         * math/auto-libm-test-out: Regenerated.
44365 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44367         [BZ #13304]
44368         * sysdeps/sh/s_fma.c: New file.
44369         * sysdeps/sh/s_fmaf.c: New file.
44370         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44371         version.
44372         * sysdeps/sh/Implies: Add sh/soft-fp.
44374 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44376         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44377         level of indirection to members `objname', `errstring', `malloced'.
44378         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44379         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44380         it as the __longjmp argument (just pass 1 instead).
44381         (_dl_catch_error): Initialize C with argument pointers and address of
44382         volatile local ERRCODE rather than copying values out of C at return.
44384 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44386         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44387         * math/auto-libm-test-out: Regenerated.
44388         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44389         (hypot_test_data): Likewise.
44390         (pow_test_data): Likewise.
44391         (pow_tonearest_test_data): Likewise.
44392         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44393         mpfr_ff_f.
44394         (func_calc_desc): Add mpfr_ff_f union field.
44395         (FUNC_mpfr_ff_f): New macro.
44396         (test_functions): Add atan2, hypot and pow.
44397         (special_fill_min): New function.
44398         (special_fill_minus_min): Likewise.
44399         (special_fill_min_subnorm): Likewise.
44400         (special_fill_minus_min_subnorm): Likewise.
44401         (special_real_inputs): Add min, -min, min_subnorm and
44402         -min_subnorm.
44403         (calc_generic_results): Handle mpfr_ff_f.
44404         * sysdeps/i386/fpu/libm-test-ulps: Update.
44405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44407 2013-12-16  Will Newton  <will.newton@linaro.org>
44409         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44410         (Aligned Memory Blocks): Add documentation for aligned_alloc
44411         and suggest it as an alternative to posix_memalign.
44412         (Hooks for Malloc): Document __memalign_hook is also called
44413         for aligned_alloc.  (Summary of Malloc): Add summary for
44414         aligned alloc.  Document __memalign_hook is also called
44415         for aligned_alloc.
44417 2013-12-16  Will Newton  <will.newton@linaro.org>
44419         * manual/memory.texi (Malloc Examples): Clarify default
44420         alignment documentation.  Suggest posix_memalign rather
44421         than memalign or valloc.
44422         (Aligned Memory Blocks): Remove suggestion to use memalign
44423         or valloc.  Remove obsolete comment about BSD.
44424         Document memalign errno values and mark the function obsolete.
44425         Document posix_memalign returned error codes.  Mark valloc
44426         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44427         called for posix_memalign and valloc.
44428         (Summary of Malloc): Add posix_memalign to function summary.
44429         __memalign_hook is also called for posix_memalign and valloc.
44431 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44433         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44434         TAYLOR_SIN.
44435         (__sin): Adjust.
44436         (__cos): Likewise.
44437         (sloww): Use mynumber union.  Expand ternary operator into
44438         if-else statements.
44439         (cslow): use mynumber union.
44441 2013-12-16  Allan McRae  <allan@archlinux.org>
44443         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44444         * configure: Regenerated.
44446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44448         [BZ #14120]
44449         * configure.ac: Added --enable-maintainer-mode. Check for
44450         autoconf when enabled.
44451         * configure: Regenerated.
44453         * nscd/nscd.service: New file.
44454         * nscd/nscd.tmpfiles: New file.
44456 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44458         [BZ #12100]
44459         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44460         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44461         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44462         (strstr): Add __strstr_sse2_unaligned ifunc.
44463         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44464         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44465         (strcasestr): Remove __strcasestr_sse42 ifunc.
44466         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44470 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44472         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44473         * sysdeps/sh/bits/fenv.h: ... here.
44474         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44476 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44478         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44481         hypotf multiarch implementations.
44482         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44483         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44484         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44485         multiarch hypot for PPC64.
44486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44489         multiarch hypotf for PPC64.
44491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44492         modff multiarch implementations.
44493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44496         multiarch modf for PPC64.
44497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44500         multiarch modff for PPC64.
44502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44503         and logl multiarch implementations.
44504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44507         multiarch logb for PPC64.
44508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44511         multiarch logb for PPC64.
44512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44515         multiarch logb for PPC64.
44517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44518         isinff multiarch implementation.
44519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44520         file.
44521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44523         multiarch isinf for PPC64.
44524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44525         file.
44526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44527         multiarch isinff for PPC64.
44529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44530         finitef multiarch implementation.
44531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44532         file.
44533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44535         multiarch finite for PPC64.
44536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44537         file.
44538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44539         multiarch finitef for PPC64.
44541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44542         lrint multiarch implementation.
44543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44544         file.
44545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44547         multiarch llrint for PPC64.
44548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44549         multiarch lrint for PPC64.
44551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44552         copysignf multiarch implementation.
44553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44554         file.
44555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44556         file.
44557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44558         multiarch copysign for PPC64.
44559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44560         multiarch copysignf for PPC64.
44562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44563         multiarch implementation.
44564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44565         file.
44566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44567         file.
44568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44569         file.
44570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44571         file.
44572         multiarch llround for PPC64.
44573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44574         multiarch trunc for PPC64.
44575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44576         multiarch truncf for PPC64.
44578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44579         multiarch implementation.
44580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44581         file.
44582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44583         file.
44584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44585         file.
44586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44587         file.
44588         multiarch llround for PPC64.
44589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44590         multiarch round for PPC64.
44591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44592         multiarch roundf for PPC64.
44594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44595         multiarch implementation.
44596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44597         file.
44598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44599         file.
44600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44601         file.
44602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44603         file.
44604         multiarch llround for PPC64.
44605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44606         multiarch floor for PPC64.
44607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44608         multiarch floorf for PPC64.
44610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44611         multiarch implementation.
44612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44613         file.
44614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44615         file.
44616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44617         file.
44618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44619         file.
44620         multiarch llround for PPC64.
44621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44622         multiarch ceil for PPC64.
44623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44624         multiarch ceilf for PPC64.
44626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44627         multiarch implementation.
44628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44629         file.
44630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44631         file.
44632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44633         file.
44634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44635         multiarch llround for PPC64.
44636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44637         multiarch lround for PPC64.
44639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44640         multiarch implementation.
44641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44644         file.
44645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44648         multiarch isnan for PPC64.
44649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44650         multiarch isnanf for PPC64.
44652         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44653         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44654         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44655         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44656         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44659         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44660         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44661         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44665         multiarch implementations.
44666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44667         (__libc_ifunc_impl_list): Likewise.
44668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44669         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44670         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44671         multiarch stpcpy for PPC64.
44673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44674         multiarch implementations.
44675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44676         (__libc_ifunc_impl_list): Likewise.
44677         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44678         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44679         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44680         multiarch strcpy for PPC64.
44682         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44683         redefine function name.
44684         (_wordcopy_fwd_dest_aligned): Likewise.
44685         (_wordcopy_bwd_aligned): Likewise.
44686         (_wordcopy_bwd_dest_aligned): Likewise.
44687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44688         multiarch implementations.
44689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44690         (__libc_ifunc_impl_list): Likewise.
44691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44692         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44693         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44695         multiarch wcscpy for PPC64.
44697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44698         multiarch implementations.
44699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44700         (__libc_ifunc_impl_list): Likewise.
44701         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44702         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44703         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44704         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44705         multiarch wcscpy for PPC64.
44707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44708         multiarch implementations.
44709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44710         (__libc_ifunc_impl_list): Likewise.
44711         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44712         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44713         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44714         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44715         multiarch wcsrchr for PPC64.
44717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44718         multiarch implementations.
44719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44720         (__libc_ifunc_impl_list): Likewise.
44721         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44722         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44723         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44724         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44725         multiarch wcschr for PPC64.
44727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44728         multiarch implementations.
44729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44730         (__libc_ifunc_impl_list): Likewise.
44731         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44732         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44733         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44734         multiarch strchrnul for PPC64.
44736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44737         implementations.
44738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44739         (__libc_ifunc_impl_list): Likewise.
44740         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44741         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44742         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44743         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44744         strchr for PPC64.
44746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44747         implementations.
44748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44749         (__libc_ifunc_impl_list): Likewise.
44750         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44751         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44752         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44753         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44754         strncmp for PPC64.
44756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44757         multiarch implementations.
44758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44759         (__libc_ifunc_impl_list): Likewise.
44760         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44761         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44762         strncasecmp for PPC64.
44763         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44764         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44765         multiarch strncasecmp_l for PPC64.
44767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44768         multiarch implementations.
44769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44770         (__libc_ifunc_impl_list): Likewise.
44771         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44772         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44773         multiarch strcasecmp for PPC64.
44774         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44775         file.
44776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44777         multiarch strcasecmp_l for PPC64.
44779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44780         implementations.
44781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44782         (__libc_ifunc_impl_list): Likewise.
44783         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44784         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44785         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44786         strnlen for PPC64.
44788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44789         implementations.
44790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44791         (__libc_ifunc_impl_list): Likewise.
44792         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44793         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44794         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44795         strlen for PPC64.
44797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44798         implementations.
44799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44800         (__libc_ifunc_impl_list): Likewise.
44801         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44802         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44803         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44804         rawmemrchr for PPC64.
44806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44807         implementation.
44808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44809         (__libc_ifunc_impl_list): Likewise.
44810         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44811         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44812         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44813         memrchr for PPC64.
44815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44816         implementation.
44817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44818         (__libc_ifunc_impl_list): Likewise.
44819         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44820         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44821         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44822         memchr for PPC64.
44824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44825         implementation.
44826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44827         (__libc_ifunc_impl_list): Likewise.
44828         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44829         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44830         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44831         mempcpy for PPC64.
44833         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44834         avoid cretion of __bzero symbol.
44835         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44836         Likewise.
44837         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44838         Likewise.
44839         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44840         Likewise.
44841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44842         multiarch implementations.
44843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44844         (__libc_ifunc_impl_list): Likewise.
44845         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44846         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44847         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44848         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44849         bzero for PPC32.
44850         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44851         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44852         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44853         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44854         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44855         memset for PPC64.
44856         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44858         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44860         implementations.
44861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44862         (__libc_ifunc_impl_list): Likewise.
44863         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44864         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44865         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44866         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44867         memcmp for PPC64.
44869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44870         multiarch for POWER/PPC64.
44871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44872         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44873         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44874         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44875         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44876         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44879         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44880         memcpy for PPC64.
44882         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44883         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44884         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44885         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44886         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44887         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44888         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44889         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44890         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44891         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44892         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44893         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44894         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44895         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44896         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44905 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44907         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44909 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44911         * benchtests/Makefile (bench): Add exp2 and log2.
44912         (LDLIBS-bench-exp2): Add -lm.
44913         (LDLIBS-bench-log2): Likewise.
44914         * benchtests/exp2-inputs: New inputs file.
44915         * benchtests/log2-inputs: New inputs file.
44916         * benchtests/log-inputs: Add new inputs.
44917         * benchtests/tan-inputs: Likewise.
44919 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44921         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44922         definition...
44923         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44924         (csloww2): ... from here.
44926         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44927         instead of structures.
44928         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44929         (POLYNOMIAL): Likewise.
44930         (TAYLOR_SLOW): Likewise.
44931         (__sin): Likewise.
44932         (__cos): Likewise.
44933         (slow1): Likewise.
44934         (slow2): Likewise.
44935         (sloww): Likewise.
44936         (sloww1); Likewise.
44937         (sloww2): Likewise.
44938         (bsloww1): Likewise.
44939         (bsloww2): Likewise.
44940         (cslow2): Likewise.
44941         (csloww): Likewise.
44942         (csloww1): Likewise.
44943         (csloww2): Likewise.
44945 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44947         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44948         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44949         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44950         * malloc/hooks.c (realloc_check): Likewise.
44952         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44953         * malloc/arena.c: Remove PER_THREAD conditional.
44954         [!PER_THREAD]: Remove code.
44955         (ptmalloc_unlock_all2): Likewise.
44956         (ptmalloc_init): Likewise.
44957         (_int_new_arena): Likewise.
44958         (arena_get2): Likewise.
44959         * malloc/hooks.c (__malloc_get_state): Likewise.
44960         (__malloc_set_state): Likewise.
44961         * malloc/malloc.c: Likewise.
44962         (struct malloc_state): Likewise.
44963         (struct malloc_par): Likewise.
44964         (__libc_realloc): Likewise.
44965         (__libc_mallopt): Likewise.
44967 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44969         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44971 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44973         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44974         macro to a function.  Check for zero perturb_byte.
44975         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44977         * malloc/malloc.c: (force_reg): Remove.
44978         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44979         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44980         force_reg by atomic_forced_read.
44981         * malloc/arena.c (ptmalloc_init): Likewise.
44982         * malloc/hooks.c (top_check): Likewise.
44984 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44988 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44992 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44994         * math/auto-libm-test-in: Add tests of lgamma.
44995         * math/auto-libm-test-out: Regenerated.
44996         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44997         (M_LOG_2_SQRT_PIl): Likewise.
44998         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44999         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45000         mpfr_f_f1.
45001         (func_calc_desc): Add mpfr_f_f1 union field.
45002         (ARGS1): New macro.
45003         (ARGS2): Likewise.
45004         (ARGS3): Likewise.
45005         (ARGS4): Likewise.
45006         (RET1): Likewise.
45007         (RET2): Likewise.
45008         (CALC): Likewise.
45009         (FUNC): Likewise.
45010         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45011         (test_functions): Add lgamma.
45012         (calc_generic_results): Handle mpfr_f_f1.
45013         * sysdeps/i386/fpu/libm-test-ulps: Update.
45014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45016 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45018         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45019         __mpn_add_n for PowerPC64/POWER7.
45020         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45021         __mpn_sub_n for PowerPC64/POWER7.
45023         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45024         __mpn_addmul_1 for PowerPC64.
45025         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45026         __mpn_submul_1 for PowerPC64.
45027         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45028         for PowerPC64.
45029         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45030         for PowerPC64.
45032 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45034         [BZ #15089]
45035         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45037 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45039         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45041         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45042         add multiarch folders.
45043         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45044         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45045         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45046         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45047         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45048         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45049         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45050         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45051         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45052         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45053         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45062         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45064         New file.
45065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45066         New file.
45067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45068         multiarch __ieee754_hypot for PowerPC32.
45069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45070         New file.
45071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45072         New file.
45073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45074         multiarch __ieee754_hypotf for PowerPC32.
45076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45077         long_double_symbol only if __logbl is defined.
45078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45079         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45080         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45081         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45083         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45085         path for implementation.
45086         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45087         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45089         logb, and logbl multiarch implementations for PowerPC32.
45090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45091         file.
45092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45093         file.
45094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45095         multiarch logb for PowerPC32.
45096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45097         file.
45098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45099         file.
45100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45101         multiarch logbf for PowerPC32.
45102         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45104         file.
45105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45106         multiarch logbl implementation for PowerPC32.
45108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45109         and modff multiarch implementations.
45110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45111         New file.
45112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45113         New file.
45114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45115         multiarch modf for PowerPC32.
45116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45117         New file.
45118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45119         New file.
45120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45121         multiarch modff for PowerPC32.
45123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45124         and lrintf multiarch implementations.
45125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45126         New file.
45127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45128         New file.
45129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45130         multiarch lrint for PowerPC32.
45131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45132         file: multiarch lrintf for PowerPC32.
45134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45135         and lroundf multiarch implementations.
45136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45137         New file.
45138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45139         New file.
45140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45141         New file.
45142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45143         multiarch lround for PowerPC32.
45144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45145         file: multiarch lroundf for PowerPC32.
45147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45148         copysign and copysignf multiarch implementations.
45149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45150         New file.
45151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45152         New file.
45153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45154         file: multiarch copysign for PowerPC32.
45155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45156         file: multiarch copysignf for PowerPC32.
45158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45159         and truncf multiarch implementations.
45160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45161         New file.
45162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45163         file.
45164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45165         multiarch trunc for PowerPC32.
45166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45167         New file.
45168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45169         New file.
45170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45171         multiarch truncf for PowerPC32.
45173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45174         and roundf multiarch implementations.
45175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45176         New file.
45177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45178         file.
45179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45180         multiarch round for PowerPC32.
45181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45182         New file.
45183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45184         New file.
45185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45186         multiarch roundf for PowerPC32.
45188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45189         and floorf multiarch implementations.
45190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45191         New file.
45192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45193         file.
45194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45195         multiarch floor for PowerPC32.
45196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45197         New file.
45198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45199         New file.
45200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45201         multiarch floorf for PowerPC32.
45203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45204         and ceilf multiarch implementations.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45206         New file.
45207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45208         file.
45209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45210         multiarch ceil for PowerPC32.
45211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45212         New file.
45213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45214         file.
45215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45216         multiarch ceilf for PowerPC32.
45218         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45219         is defined.
45220         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45221         FINITEF is defined.
45222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45223         and finitef multiarch implementations.
45224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45225         New file.
45226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45227         file.
45228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45229         multiarch finite for PowerPC32.
45230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45231         New file.
45232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45233         file: multiarch finitef for PowerPC32.
45235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45236         and isinff multiarch implementations.
45237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45238         file.
45239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45240         file.
45241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45242         multiarch isinf for PowerPC32.
45243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45244         New file.
45245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45246         multiarch isinff for PowerPC32.
45248         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45249         alias when __isnan is defined.
45250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45251         and isnanf multiarch implementations.
45252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45253         file.
45254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45255         file.
45256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45257         file.
45258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45259         file.
45260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45261         multiarch isnan for PowerPC32.
45262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45263         New file.
45264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45265         New file.
45266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45267         multiarch isnanf for PowerPC32.
45269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45270         and sqrtf multiarch implementations.
45271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45272         file.
45273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45274         file.
45275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45276         multiarch sqrt for PowerPC32.
45277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45278         file.
45279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45280         file.
45281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45282         multiarch sqrtf for PowerPC32.
45284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45285         and llroundf multiarch implementations.
45286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45287         New file.
45288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45289         New file.
45290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45291         New file.
45292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45293         file: multiarch llround for PowerPC32.
45294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45295         file: multiarch llroundf for PowerPC32.
45297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45298         multiarch PowerPC32 fpu implementations.
45299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45300         New file.
45301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45302         New file.
45303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45304         multiarch llrint for PowerPC32.
45305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45306         New file.
45307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45308         New file.
45309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45310         file.
45312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45314         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45315         file.
45316         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45317         file.
45318         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45319         file.
45320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45321         multiarch wordcopy for PPC32.
45322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45323         wordcopy objects.
45324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45325         (__libc_ifunc_impl_list): Likewise.
45326         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45327         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45328         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45329         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45330         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45331         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45333         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45335         file.
45336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45337         file.
45338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45339         file.
45340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45341         multiarch wcscpy for PPC32.
45342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45343         multiarch objects.
45344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45345         (__libc_ifunc_impl_list): Likewise.
45346         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45347         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45348         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45349         sysdeps/powerpc/power6/wcscpy.c.
45351         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45353         file.
45354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45355         file.
45356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45357         file.
45358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45359         multiarch wcsrchr for PPC32.
45360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45361         multiarch objects.
45362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45363         (__libc_ifunc_impl_list): Likewise.
45364         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45365         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45366         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45367         sysdeps/powerpc/power6/wcsrchr.c.
45369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45370         file.
45371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45372         file.
45373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45375         multiarch wcschr for PPc32.
45376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45377         multiarch objects.
45378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45379         (__libc_ifunc_impl_list): Likewise.
45380         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45381         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45382         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45383         sysdeps/powerpc/power6/wcschr.c.
45385         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45386         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45387         file.
45388         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45389         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45390         file: multiarch strchr for PPC32.
45391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45392         multiarch objects.
45393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45394         (__libc_ifunc_impl_list): Likewise.
45396         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45397         name.
45398         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45399         file.
45400         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45401         file.
45402         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45403         multiarch strchrnul for PPC32.
45404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45405         multiarch objects.
45406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45407         (__libc_ifunc_impl_list): Likewise.
45409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45410         file.
45411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45412         multiarch strncasecmp for PPC32.
45413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45414         file.
45415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45416         multiarch strncasecmp_l for PPC32.
45417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45418         strncasecmp multiarch objects.
45419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45420         (__libc_ifunc_impl_list): Likewise.
45422         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45423         file.
45424         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45425         multiarch strncasecmp for PPC32.
45426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45427         New file.
45428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45429         multiarch strcasecmp_l for PPC32.
45430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45431         multiarch objects.
45432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45433         (__libc_ifunc_impl_list): Likewise.
45435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45436         file.
45437         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45438         file.
45439         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45440         multiarch strncmp for PPC32.
45441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45442         multiarch objects.
45443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45444         (__libc_ifunc_impl_list): Likewise.
45446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45447         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45448         file.
45449         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45450         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45452         multiarch objects.
45453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45454         (__libc_ifunc_impl_list): Likewise.
45456         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45457         file.
45458         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45459         file.
45460         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45462         multiarch objects.
45463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45464         (__libc_ifunc_impl_list): Likewise.
45466         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45467         file.
45468         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45469         file.
45470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45471         multiarch rawmemchr for PPC32.
45472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45473         multiarch objects.
45474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45475         (__libc_ifunc_impl_list): Likewise.
45477         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45478         file.
45479         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45480         file.
45481         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45482         file: memrchr multiarch for PPC32.
45483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45484         multiarch objects.
45485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45486         (__libc_ifunc_impl_list): Likewise.
45488         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45489         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45490         file.
45491         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45492         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45493         multiarch memchr for PPC32.
45494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45495         multiarch objects.
45496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45497         (__libc_ifunc_impl_list): Likewise.
45499         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45500         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45501         file.
45502         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45503         file.
45504         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45505         file: multiarch mempcpy for PPC32.
45506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45507         multiarch objects.
45508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45509         (__libc_ifunc_impl_list): Likewise.
45511         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45512         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45513         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45514         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45515         multiarch bzero for PPC32.
45516         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45517         file.
45518         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45519         file.
45520         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45521         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45522         file: multiarch memset for PPC32.
45523         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45525         memset multiarch objects.
45526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45527         (__libc_ifunc_impl_list): Likewise.
45529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45530         file.
45531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45533         memcmp for PPC32.
45534         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45536         multiarch objects.
45537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45538         (__libc_ifunc_impl_list): Likewise.
45540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45541         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45542         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45543         file.
45544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45545         file.
45546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45547         file.
45548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45549         multiarch memcpy for PPC32.
45550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45551         multiarch objects.
45552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45553         (__libc_ifunc_impl_list): Likewise.
45555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45556         support multiarch for POWER/PPC32.
45557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45558         Likewise.
45559         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45561         Implies file to make multiarch folder appers before the fpu and
45562         default folder for power4 configuration.
45564 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45566         * scripts/bench.pl: Append volatile keyword to type.
45568 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45570         * sysdeps/sh/sotruss-lib.c: New file.
45571         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45573 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45577 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45579         [BZ #6810]
45580         * math/w_tgamma.c: Include <errno.h>.
45581         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45582         * math/w_tgammaf.c: Include <errno.h>.
45583         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45584         * math/w_tgammal.c: Include <errno.h>.
45585         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45586         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45587         underflow.  Add more tgamma tests.
45588         * math/auto-libm-test-out: Regenerated.
45589         * sysdeps/i386/fpu/libm-test-ulps: Update.
45590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45592         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45593         sin, sinh, tan, tanh, tgamma, y0 and y1.
45594         * math/auto-libm-test-out: Regenerated.
45595         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45596         (TEST_COND_x86): Likewise.
45597         (M_E2l): Remove macro.
45598         (M_E3l): Likewise.
45599         (M_2_SQRT_PIl): Likewise.
45600         (M_SQRT_PIl): Likewise.
45601         (M_1_DIV_El): Likewise.
45602         (log_test_data): Use AUTO_TESTS_f_f.
45603         (log10_test_data): Likewise.
45604         (log1p_test_data): Likewise.
45605         (log2_test_data): Likewise.
45606         (sin_test_data): Likewise.
45607         (sin_tonearest_test_data): Likewise.
45608         (sin_towardzero_test_data): Likewise.
45609         (sin_downward_test_data): Likewise.
45610         (sin_upward_test_data): Likewise.
45611         (sinh_test_data): Likewise.
45612         (sinh_tonearest_test_data): Likewise.
45613         (sinh_towardzero_test_data): Likewise.
45614         (sinh_downward_test_data): Likewise.
45615         (sinh_upward_test_data): Likewise.
45616         (tan_test_data): Likewise.
45617         (tan_tonearest_test_data): Likewise.
45618         (tan_towardzero_test_data): Likewise.
45619         (tan_downward_test_data): Likewise.
45620         (tan_upward_test_data): Likewise.
45621         (tanh_test_data): Likewise.
45622         (tgamma_test_data): Likewise.
45623         (y0_test_data): Likewise.
45624         (y1_test_data): Likewise.
45625         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45626         (special_real_inputs): Add pi/4.
45627         * sysdeps/i386/fpu/libm-test-ulps: Update.
45628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45630 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45632         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45633         "longjmp_target" static probes.
45634         (__longjmp): Rename to __longjmp_symbol.
45635         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45636         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45637         on which longjmp to generate.
45638         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45639         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45640         probe.
45641         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45642         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45644         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45645         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45646         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45648         __longjmp_symbol based on which __longjmp to generate.
45649         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45650         probe.
45651         (setjmp): Rename to setjmp_symbol.
45652         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45653         (_setjmp): Rename to _setjmp_symbol.
45654         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45655         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45656         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45657         which setjmp to generate.
45658         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45659         "longjmp_target" static probes.
45661 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45663         * benchtests/README: Add note about output arguments.
45664         * benchtests/bench-sincos.c: Remove file.
45665         * benchtests/sincos-inputs: New file.
45666         * scripts/bench.pl: Identify output arguments and define
45667         static variables for them.
45669         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45671         [BZ #15941]
45672         * Makefile (INSTALL): Add install-plain.texi as the primary
45673         dependency.
45674         * manual/install-plain.texi: New file.
45675         * manual/install.texi: Include node directive only for
45676         non-plaintext output.
45678 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45680         * stdlib/longlong.h: Update from GCC.
45682         [BZ #6807]
45683         [BZ #15901]
45684         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45685         * math/w_j0f.c (y0f): Likewise.
45686         * math/w_j0l.c (__y0l): Likewise.
45687         * math/w_j1.c (y1): Likewise.
45688         * math/w_j1f.c (y1f): Likewise.
45689         * math/w_j1l.c (__y1l): Likewise.
45690         * math/w_jn.c (yn): Likewise.
45691         * math/w_jnf.c (ynf): Likewise.
45692         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45693         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45694         value for Bessel function domain errors outside _SVID_ mode.
45695         Adjust sign of return value for yn (negative integer, 0).
45696         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45697         by zero in return for negative x and set sign appropriately for
45698         negative n.
45699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45700         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45701         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45702         expectations in error cases.
45703         (y1_test_data): Likewise.
45704         (yn_test_data): Likewise.
45705         * sysdeps/i386/fpu/libm-test-ulps: Update.
45706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45708 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45710         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45711         "64" to "64-v1".  Add "64-v2".
45712         (abi-64-options): Rename to ...
45713         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45714         (abi-64-condition): Rename to ...
45715         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45716         (abi-64-ld-soname): Rename to ...
45717         (abi-64-v1-ld-soname): ... this.
45718         (abi-64-v2-options): Define.
45719         (abi-64-v2-condition): Likewise.
45720         (abi-64-v2-ld-soname): Likewise.
45721         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45722         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45727 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45728             Alan Modra  <amodra@gmail.com>
45730         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45731         New versions for use with the ELFv2 ABI.
45732         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45733         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45734         declaration.
45735         (struct La_ppc64v2_retval): Likewise.
45736         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45737         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45738         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45739         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45740         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45741         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45742         Do not save or restore CR.
45743         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45744         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45745         return values for ELFv2 ABI.  Fix location of FPR return registers.
45746         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45747         updated values for _CALL_ELF == 2.
45748         (La_regs, La_retval, int_retval): Likewise.
45750 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45752         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45753         (FRAME_MIN_SIZE_PARM): Likewise.
45754         (FRAME_BACKCHAIN): Likewise.
45755         (FRAME_CR_SAVE): Likewise.
45756         (FRAME_LR_SAVE): Likewise.
45757         (FRAME_TOC_SAVE): Likewise.
45758         (FRAME_PARM_SAVE): Likewise.
45759         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45760         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45761         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45762         (call_mcount_parm_offset): New macro.
45763         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45764         (PROF): Use symbolic stack frame offsets.
45765         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45766         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45767         Redefine in terms of FRAME_MIN_SIZE.
45768         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45769         (_dl_profile_resolve): Likewise.  Update comment.
45770         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45771         symbols stack frame offsets.
45772         (__sigsetjmp): Likewise.
45773         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45774         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45775         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45776         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45779         (FRAME_BACKCHAIN): Remove.
45780         (FRAME_CR_SAVE): Likewise.
45781         (FRAME_LR_SAVE): Likewise.
45782         (FRAME_COMPILER_DW): Likewise.
45783         (FRAME_LINKER_DW): Likewise.
45784         (FRAME_TOC_SAVE): Likewise.
45785         (FRAME_PARM_SAVE): Likewise.
45786         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45787         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45788         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45790         (CHECK_SP): Use symbolic stack frame offsets.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45792         zone" instead of caller's parameter save area for temp storage.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45794         Likewise.  Also, use symbolic stack frame offsets.
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45796         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45797         our own stack frame instead of the caller's.
45798         (__socket): Use symbolic stack frame offsets.
45800 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45801             Alan Modra  <amodra@gmail.com>
45803         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45804         Define.
45805         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45806         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45807         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45808         New function.
45809         (elf_machine_fixup_plt): Call it.
45810         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45811         reloc arguments.
45812         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45813         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45814         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45815         r2 before calling target.
45817 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45818             Alan Modra  <amodra@gmail.com>
45820         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45821         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45822         versions of macros to support ELFv2 ABI.
45823         (LOCALENTRY): New macro.
45824         (ENTRY, EALIGN): Use it.
45825         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45826         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45827         fall through into ENTRY entry point.
45828         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45829         Only define if _CALL_ELF != 2.
45831         (elf_machine_matches_host): Verify ABI version matches.
45832         (RTLD_START): Use LOCALENTRY.
45833         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45834         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45835         (PLT_ENTRY_WORDS): New macro.
45836         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45837         (elf_machine_runtime_setup): Support ELFv2 ABI.
45838         (elf_machine_fixup_plt): Likewise.
45839         (elf_machine_plt_conflict): Likewise.
45840         (resolve_ifunc): Likewise.
45841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45843         Likewise.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45845         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45847         (makecontext): Support ELFv2 ABI.
45848         * elf/elf.h (EF_PPC64_ABI): Define.
45850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45852         * sysdeps/powerpc/powerpc64/sysdep.h
45853         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45854         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45855         (ENTRY) [ASSEMBLER]: ... but instead here ...
45856         (EALIGN) [ASSEMBLER]: ... and here.
45857         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45858         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45859         (ENTRY_2) [!ASSEMBLER]: Use it.
45860         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45861         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45862         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45863         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45864         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45866         Use PPC64_LOAD_FUNCPTR.
45868         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45870 2013-12-04  Alan Modra  <amodra@gmail.com>
45872         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45873         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45874         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45875         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45877         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45878         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45879         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45880         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45881         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45882         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45884 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45887         (__makecontext): Fix incorrect CFI when backtracing out of
45888         context created via makecontext.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45890         (__setcontext): Fix incorrect CFI during switch to new context.
45891         (__novec_setcontext): Likewise.
45893 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45895         [BZ #4772]
45896         * time/strptime_l.c (__strptime_internal): Allow modifiers
45897         in strptime.
45898         * time/tst-strptime.c (day_tests): Add testcase.
45900 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45902         * scripts/bench.pl: Skip over blank lines.
45904 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45906         [BZ #926]
45907         * manual/time.texi (Calendar Time): Clarify what timezone functions
45908         use.
45910 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45914 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45916         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45917         implementation.
45918         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45919         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45920         * debug/memset_chk.c (__memset_chk): Likewise.
45921         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45922         * debug/strncpy_chk.c: Likewise.
45924 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45926         [BZ #15268]
45927         [BZ #15425]
45928         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45929         (__ieee754_exp): For possibly underflowing results, check size of
45930         result and force underflow exception if required.
45931         * math/auto-libm-test-in: Add more tests of exp.
45932         * math/auto-libm-test-out: Regenerated.
45933         * sysdeps/i386/fpu/libm-test-ulps: Update.
45934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45936         [BZ #16283]
45937         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45938         * math/w_exp2f.c (__exp2f): Likewise.
45939         * math/w_exp2l.c (__exp2l): Likewise.
45940         * math/auto-libm-test-in: Do not allow missing errno on exp2
45941         underflow.
45942         * math/auto-libm-test-out: Regenerated.
45944 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45946         [BZ #16274]
45947         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45948         handle filename validation.
45949         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45950         (do_open): Delete.
45952 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45954         [BZ #6786]
45955         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45956         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45957         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45958         <float.h>.
45959         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45960         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45961         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45963         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45964         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45965         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45966         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45967         Add more erfc tests.
45968         * math/auto-libm-test-out: Regenerated.
45969         * sysdeps/i386/fpu/libm-test-ulps: Update.
45970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45972         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45973         exp2, expm1, j0 and j1.
45974         * math/auto-libm-test-out: Regenerated.
45975         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45976         (erfc_test_data): Likewise.
45977         (exp_test_data): Likewise.
45978         (exp_tonearest_test_data): Likewise.
45979         (exp_towardzero_test_data): Likewise.
45980         (exp_downward_test_data): Likewise.
45981         (exp_upward_test_data): Likewise.
45982         (exp10_test_data): Likewise.
45983         (exp2_test_data): Likewise.
45984         (expm1_test_data): Likewise.
45985         (j0_test_data): Likewise.
45986         (j1_test_data): Likewise.
45987         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45988         (input_flag_type): Add flag_xfail_rounding.
45989         (input_flags): Add xfail-rounding.
45990         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45991         (output_for_one_input_case): Handle flag_xfail_rounding.
45992         * sysdeps/i386/fpu/libm-test-ulps: Update.
45993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45995 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45997         [BZ #16289]
45998         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45999         division by 0.
46001 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46003         [BZ #16195]
46004         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46005         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46006         (STAP_PROBE0): New macro.
46007         (STAP_PROBE1): Likewise.
46008         (STAP_PROBE2): Likewise.
46009         (STAP_PROBE3): Likewise.
46010         (STAP_PROBE4): Likewise.
46012 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46014         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46016 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46018         * benchtests/Makefile (bench): Add sqrt.
46019         (LDLIBS-bench-sqrt): New.
46020         * benchtests/sqrt-input: New.
46022 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46024         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46025         (GAIH_EAI): Likewise.
46026         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46027         (gaih_inet): Likewise.
46028         (getaddrinfo): Don't use GAIH_EAI.
46030         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46031         (struct gaih): Remove definition.
46033 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46035         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46036         Use HERRNOP directly.
46038 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46042 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46044         * math/gen-auto-libm-tests.c (test_functions): Add more
46045         single-argument functions.
46046         (special_fill_pi_2): New function.
46047         (special_fill_minus_pi_2): Likewise.
46048         (special_fill_pi_6): Likewise.
46049         (special_fill_minus_pi_6): Likewise.
46050         (special_fill_pi_3): Likewise.
46051         (special_fill_2pi_3): Likewise.
46052         (special_fill_e): Likewise.
46053         (special_fill_1_e): Likewise.
46054         (special_fill_e_minus_1): Likewise.
46055         (special_real_inputs): Add more special inputs.
46056         (output_for_one_input_case): Do not require ERANGE on underflow to
46057         zero if round-to-nearest result does not underflow to zero, unless
46058         exact results required.
46059         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46060         atan, atanh, cbrt, cos and cosh.
46061         * math/auto-libm-test-out: Regenerated.
46062         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46063         (acos_tonearest_test_data): Likewise.
46064         (acos_towardzero_test_data): Likewise.
46065         (acos_downward_test_data): Likewise.
46066         (acos_upward_test_data): Likewise.
46067         (acosh_test_data): Likewise.
46068         (asin_test_data): Likewise.
46069         (asin_tonearest_test_data): Likewise.
46070         (asin_towardzero_test_data): Likewise.
46071         (asin_upward_test_data): Likewise.
46072         (asinh_test_data): Likewise.
46073         (atan_test_data): Likewise.
46074         (atanh_test_data): Likewise.
46075         (cbrt_test_data): Likewise.
46076         (cos_test_data): Likewise.
46077         (cos_tonearest_test_data): Likewise.
46078         (cos_towardzero_test_data): Likewise.
46079         (cos_downward_test_data): Likewise.
46080         (cos_upward_test_data): Likewise.
46081         (cosh_test_data): Likewise.
46082         (cosh_tonearest_test_data): Likewise.
46083         (cosh_towardzero_test_data): Likewise.
46084         (cosh_downward_test_data): Likewise.
46085         (cosh_upward_test_data): Likewise.
46086         * sysdeps/i386/fpu/libm-test-ulps: Update.
46087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46089 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46091         [BZ #6787]
46092         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46093         * math/w_exp10f.c (__exp10f): Likewise.
46094         * math/w_exp10l.c (__exp10l): Likewise.
46095         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46096         errno settings in existing tests.
46098         [BZ #14032]
46099         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46100         precision control set to double precision.
46101         * sysdeps/i386/fpu/w_sqrt.c: New file.
46102         * math/auto-libm-test-in: Add more tests.
46103         * math/auto-libm-test-out: Update.
46105         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46106         (sqrt_test_tonearest): New function.
46107         (sqrt_towardzero_test_data): New variable.
46108         (sqrt_test_towardzero): New function.
46109         (sqrt_downward_test_data): New variable.
46110         (sqrt_test_downward): New function.
46111         (sqrt_upward_test_data): New variable.
46112         (sqrt_test_upward): New function.
46113         (main): Call the new functions.
46115         * math/gen-auto-libm-tests.c: New file.
46116         * math/auto-libm-test-in: Likewise.
46117         * math/auto-libm-test-out: New generated file.
46118         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46119         variables.
46120         (%beautify): Add generated representations of zero.
46121         (top level): Set $auto_input and call parse_auto_input.
46122         (beautify): Remove trailing "f" from hex float constants.
46123         (parse_args): Handle XFAIL_TEST.
46124         (convert_condition): New function.
46125         (or_value): Likewise.
46126         (or_cond_value): Likewise.
46127         (generate_testfile): Handle AUTO_TESTS_* lines.
46128         (parse_auto_input): New function.
46129         * math/libm-test.inc (XFAIL_TEST): New macro.
46130         (ERRNO_UNCHANGED): Update value.
46131         (ERRNO_EDOM): Likewise.
46132         (ERRNO_ERANGE): Likewise.
46133         (IGNORE_RESULT): Likewise.
46134         (TEST_COND_flt_32): New macro.
46135         (TEST_COND_dbl_64): Likewise.
46136         (TEST_COND_ldbl_96_intel): Likewise.
46137         (TEST_COND_ldbl_96_m68k): Likewise.
46138         (TEST_COND_ldbl_128): Likewise.
46139         (TEST_COND_ldbl_128ibm): Likewise.
46140         (TEST_COND_long32): Likewise.
46141         (TEST_COND_long64): Likewise.
46142         (TEST_COND_before_rounding): Likewise.
46143         (TEST_COND_after_rounding): Likewise.
46144         (enable_test): Handle XFAIL_TEST flag.
46145         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46146         with finite results.
46147         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46148         auto-libm-test-out.
46150 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46151             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46153         [BZ #16214]
46154         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46155         __tls_get_addr_internal instead of __tls_get_offset in order to
46156         avoid GOT pointer dependency.  Make rtld export
46157         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46158         __tls_get_addr since we are a __tls_get_offset platform.
46159         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46160         GOT pointer being set up before.
46161         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46163 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46165         * manual/math.texi (Errors in Math Functions): Document accuracy
46166         goals.
46168         [BZ #15004]
46169         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46170         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46171         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46172         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46173         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46174         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46175         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46176         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46177         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46178         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46179         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46180         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46181         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46182         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46183         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46184         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46186         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46187         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46188         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46189         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46190         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46191         Likewise.
46192         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46193         Likewise.
46194         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46195         Likewise.
46196         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46197         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46198         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46199         atomic-feupdateenv and flt-rounds.
46200         * sysdeps/powerpc/nofpu/Versions (libc): Add
46201         __atomic_feholdexcept, __atomic_feclearexcept,
46202         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46203         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46204         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46205         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46206         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46207         here.
46208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46209         Update.
46211         * manual/arith.texi (FP Exceptions): Document that exceptions may
46212         not be raised when matherr is used.
46213         (Math Error Reporting): Document overflow in directed rounding
46214         modes.  Document that errno may not be set when finite values are
46215         returned on overflow.  Document intent to set errno on underflow
46216         only for underflow to zero.
46218         [BZ #16271]
46219         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46220         round-to-nearest then adjust result for other rounding modes.
46221         * include/fenv.h (fegetround): Use libm_hidden_proto.
46222         * math/fegetround.c (fegetround): Use libm_hidden_def.
46223         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46224         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46225         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46226         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46227         Likewise.
46228         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46230         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46231         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46233 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46235         [BZ #16077]
46236         * nss/Versions (libnss_files): Add
46237         _nss_files_gethostbyname3_r.
46238         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46239         New function.
46240         (HOST_DB_LOOKUP): Remove macro.
46241         (_nss_files_gethostbyname_r): Implement function without the
46242         HOST_DB_LOOKUP macro.
46243         (_nss_files_gethostbyname2_r): Likewise.
46245 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46247         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46249 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46251         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46252         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46253         warning.
46255 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46257         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46258         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46259         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46260         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46261         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46262         __fe_nomask_env_priv and attribute_hidden.
46263         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46264         (libc_feupdateenv_test_ppc): Likewise.
46265         (libc_feresetround_ppc): Likewise.
46266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46267         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46268         compat_symbol macro.
46269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46270         (__fe_nomask_env): Likewise.
46271         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46275         * string/Makefile: Remove ifunc tests.
46276         * string/test-string.h: Define TEST_IFUNC.
46277         * string/test-bcopy-ifunc.c: Remove.
46278         * string/test-bzero-ifunc.c: Likewise.
46279         * string/test-memccpy-ifunc.c: Likewise.
46280         * string/test-memchr-ifunc.c: Likewise.
46281         * string/test-memcmp-ifunc.c: Likewise.
46282         * string/test-memcpy-ifunc.c: Likewise.
46283         * string/test-memmem-ifunc.c: Likewise.
46284         * string/test-memmove-ifunc.c: Likewise.
46285         * string/test-mempcpy-ifunc.c: Likewise.
46286         * string/test-memrchr-ifunc.c: Likewise.
46287         * string/test-memset-ifunc.c: Likewise.
46288         * string/test-rawmemchr-ifunc.c: Likewise.
46289         * string/test-stpcpy-ifunc.c: Likewise.
46290         * string/test-stpncpy-ifunc.c: Likewise.
46291         * string/test-strcasecmp-ifunc.c: Likewise.
46292         * string/test-strcasestr-ifunc.c: Likewise.
46293         * string/test-strcat-ifunc.c: Likewise.
46294         * string/test-strchr-ifunc.c: Likewise.
46295         * string/test-strchrnul-ifunc.c: Likewise.
46296         * string/test-strcmp-ifunc.c: Likewise.
46297         * string/test-strcpy-ifunc.c: Likewise.
46298         * string/test-strcspn-ifunc.c: Likewise.
46299         * string/test-strlen-ifunc.c: Likewise.
46300         * string/test-strncasecmp-ifunc.c: Likewise.
46301         * string/test-strncat-ifunc.c: Likewise.
46302         * string/test-strncmp-ifunc.c: Likewise.
46303         * string/test-strncpy-ifunc.c: Likewise.
46304         * string/test-strnlen-ifunc.c: Likewise.
46305         * string/test-strpbrk-ifunc.c: Likewise.
46306         * string/test-strrchr-ifunc.c: Likewise.
46307         * string/test-strspn-ifunc.c: Likewise.
46308         * string/test-strstr-ifunc.c: Likewise.
46310 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46312         * benchtests/Makefile: Remove ifunc tests.
46313         * benchtests/bench-string.h: Define TEST_IFUNC.
46314         * benchtests/bench-bcopy-ifunc.c: Remove.
46315         * benchtests/bench-bzero-ifunc.c: Likewise.
46316         * benchtests/bench-memccpy-ifunc.c: Likewise.
46317         * benchtests/bench-memchr-ifunc.c: Likewise.
46318         * benchtests/bench-memcmp-ifunc.c: Likewise.
46319         * benchtests/bench-memcpy-ifunc.c: Likewise.
46320         * benchtests/bench-memmem-ifunc.c: Likewise.
46321         * benchtests/bench-memmove-ifunc.c: Likewise.
46322         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46323         * benchtests/bench-memrchr-ifunc.c: Likewise.
46324         * benchtests/bench-memset-ifunc.c: Likewise.
46325         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46326         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46327         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46328         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46329         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46330         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46331         * benchtests/bench-strcat-ifunc.c: Likewise.
46332         * benchtests/bench-strchr-ifunc.c: Likewise.
46333         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46334         * benchtests/bench-strcmp-ifunc.c: Likewise.
46335         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46336         * benchtests/bench-strcpy-ifunc.c: Likewise.
46337         * benchtests/bench-strcspn-ifunc.c: Likewise.
46338         * benchtests/bench-strlen-ifunc.c: Likewise.
46339         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46340         * benchtests/bench-strncat-ifunc.c: Likewise.
46341         * benchtests/bench-strncmp-ifunc.c: Likewise.
46342         * benchtests/bench-strncpy-ifunc.c: Likewise.
46343         * benchtests/bench-strnlen-ifunc.c: Likewise.
46344         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46345         * benchtests/bench-strrchr-ifunc.c: Likewise.
46346         * benchtests/bench-strsep-ifunc.c: Likewise.
46347         * benchtests/bench-strspn-ifunc.c: Likewise.
46348         * benchtests/bench-strstr-ifunc.c: Likewise.
46350 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46352         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46356         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46357         * rt/aio.h: Likewise.
46358         * sysdeps/gnu/bits/utmp.h: Likewise.
46359         * sysdeps/gnu/bits/utmpx.h: Likewise.
46360         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46361         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46362         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46363         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46364         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46365         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46366         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46367         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46368         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46369         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46370         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46371         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46372         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46374         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46375         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46376         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46377         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46378         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46379         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46380         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46381         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46382         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46383         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46384         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46386         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46387         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46388         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46389         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46390         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46391         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46392         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46393         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46394         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46395         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46396         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46397         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46398         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46399         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46400         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46401         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46403 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46405         [BZ #16245]
46406         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46407         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46409 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46411         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46413         Likewise.
46415 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46417         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46418         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46419         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46420         (__fesetround): Remove define.
46421         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46422         rounding and exceptions handling.
46423         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46424         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46425         (__fe_nomask_env): Likewise.
46426         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46427         __fegetround instead of fegetround.
46428         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46429         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46431 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46433         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46434         it's there.
46436         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46438 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46440         [BZ #11157]
46441         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46442         (encrypt_r): Likewise.
46443         * malloc/obstack.h (obstack_free): Likewise.
46444         * posix/unistd.h (encrypt): Likewise.
46446 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46448         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46449         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46450         DL_CALL_DT_FINI() that call the functions directly.
46451         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46452         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46453         * elf/dl-fini.c: Likewise.
46455 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46457         * malloc/hooks.c (memalign_check): Add alignment rounding.
46458         * malloc/malloc.c (_mid_memalign): New function.
46459         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46460         Implement by calling _mid_memalign.
46461         * manual/probes.texi (Memory Allocation Probes): Remove
46462         memory_valloc_retry and memory_pvalloc_retry.
46464 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46466         * locale/programs/locarchive.c (open_archive): Add const
46467         qualifier to ARCHIVEFNAME and copy default fname to
46468         DEFAULT_FNAME.
46470         [BZ #15601]
46471         * libio/tst-widetext.input: Rename Oriya to Odia.
46472         * locale/iso-639.def: Likewise.
46474         * manual/probes.texi (Mathematical Function Probes): Add
46475         documentation for sin, cos, asin and acos probes.
46476         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46477         (__sin32): Add slowasin probe.
46478         (__cos32): Add slowacos probe.
46479         (__mpsin): Add slowsin probe.
46480         (__mpcos): Add slowcos probe.
46482 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46484         [BZ #15483]
46485         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46486         thread-local __sim_exceptions_thread and global
46487         __sim_exceptions_global.
46488         (__sim_disabled_exceptions): Change to thread-local
46489         __sim_disabled_exceptions_thread and global
46490         __sim_disabled_exceptions_global.
46491         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46492         and global __sim_round_mode_global.
46493         (__simulate_exceptions): Use thread-local floating-point state and
46494         set global state from it as needed.
46495         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46496         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46497         __sim_round_mode_thread.
46498         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46499         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46500         and global __sim_exceptions_global.
46501         (__sim_disabled_exceptions): Change to thread-local
46502         __sim_disabled_exceptions_thread and global
46503         __sim_disabled_exceptions_global.
46504         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46505         and global __sim_round_mode_global.
46506         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46507         (SIM_SET_GLOBAL): Likewise.
46508         * sysdeps/powerpc/soft-fp/sfp-machine.h
46509         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46510         __sim_round_mode_thread.
46511         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46512         __sim_disabled_exceptions_thread.
46513         (__sim_exceptions): Change to __sim_exceptions_thread.
46514         (__sim_disabled_exceptions): Change to
46515         __sim_disabled_exceptions_thread.
46516         (__sim_round_mode): Change to __sim_round_mode_thread.
46517         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46518         thread-local floating-point state and set global state from it as
46519         needed.
46520         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46521         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46522         (__sim_disabled_exceptions): Remove extern declaration.
46523         (feenableexcept): Use thread-local floating-point state and set
46524         global state from it as needed.
46525         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46526         extern declaration.
46527         (__sim_disabled_exceptions): Likewise.
46528         (__sim_round_mode): Likewise.
46529         (__fegetenv): Use thread-local floating-point state.
46530         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46531         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46532         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46533         floating-point state and set global state from it as needed.
46534         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46535         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46536         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46537         Likewise.
46538         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46539         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46540         Likewise.
46541         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46542         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46543         Use __sim_round_mode_thread.
46544         * math/test-fenv-tls.c: New file.
46545         * math/Makefile (tests): Add test-fenv-tls.
46546         ($(objpfx)test-fenv-tls): Depend on
46547         $(common-objpfx)nptl/libpthread.so.
46549 2013-11-19  Andreas Schwab  <schwab@suse.de>
46551         * locale/programs/locale.c (show_info): Decode wordarray elements.
46552         * locale/categories.def (LC_MONETARY): Add element for
46553         _NL_MONETARY_CRNCYSTR.
46554         * locale/C-monetary.c (conversion_rate): New variable.
46555         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46556         element.
46558 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46560         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46561         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46563 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46565         * elf/Makefile (tst-auxv): New test.
46566         * elf/tst-auxv.c: New
46567         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46569 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46571         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46572         (hidden_proto): Caller changed.
46573         (hidden_tls_proto): New macro.
46574         (libc_hidden_tls_proto): Likewise.
46575         (rtld_hidden_tls_proto): Likewise.
46576         (libm_hidden_tls_proto): Likewise.
46577         (libresolv_hidden_tls_proto): Likewise.
46578         (librt_hidden_tls_proto): Likewise.
46579         (libdl_hidden_tls_proto): Likewise.
46580         (libnss_files_hidden_tls_proto): Likewise.
46581         (libnsl_hidden_tls_proto): Likewise.
46582         (libnss_nisplus_hidden_tls_proto): Likewise.
46583         (libutil_hidden_tls_proto): Likewise.
46585 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46587         [BZ #10253]
46588         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46589         (decompose_rpath): Defer expansion to fillin_rpath.
46590         (_dl_init_paths): Pass linkmap to fillin_rpath.
46592 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46594         * benchtests/Makefile: Add strsep.
46595         * benchtests/bench-strsep.c: New file: strsep benchtest.
46596         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46598 2013-11-18  Andreas Schwab  <schwab@suse.de>
46600         * locale/programs/locale.c (show_info) [case byte]: Check for
46601         '\377' instead of '\177'.
46602         * locale/C-monetary.c (not_available): Always use "\377".
46603         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46604         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46605         detect unavailable sign_posn locale elements.
46606         * locale/localeconv.c (__localeconv): For grouping and
46607         mon_grouping handle "\177" and "\377" like no grouping.
46608         (INT_ELEM): New macro.  Use it to set all numeric members.
46609         * locale/programs/ld-monetary.c (monetary_read)
46610         <tok_mon_grouping>: Normalize single -1 to the empty string.
46611         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46612         Likewise.
46614 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46616         [BZ #16055]
46617         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46618         when we match (nil).
46619         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46621 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46623         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46624         (NO_TEST_INLINE): Update value.
46625         (ERRNO_UNCHANGED): Likewise.
46626         (ERRNO_EDOM): Likewise.
46627         (ERRNO_ERANGE): Likewise.
46628         (IGNORE_RESULT): Likewise.
46629         (check_float_internal): Check signs of NaN results if
46630         TEST_NAN_SIGN used.
46631         (check_complex): Pass TEST_NAN_SIGN flag through to second
46632         check_float_internal call.
46633         (copysign_test_data): Add tests with quiet NaNs as second
46634         argument.  Use TEST_NAN_SIGN.
46635         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46636         TEST_NAN_SIGN.
46637         (signbit_test_data): Add tests of quiet NaN argument.
46638         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46640         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46641         $ignore_result.
46642         (parse_args): Handle function results specified as IGNORE.
46643         * math/libm-test.inc (IGNORE_RESULT): New macro.
46644         (check_float_internal): Do not check numerical result if flag
46645         IGNORE_RESULT set.
46646         (check_complex): Pass through IGNORE_RESULT to second
46647         check_float_internal call.
46648         (check_int): Do not check numerical result if flag IGNORE_RESULT
46649         set.
46650         (check_long): Likewise.
46651         (check_bool): Likewise.
46652         (check_longlong): Likewise.
46653         (lrint_test_data): Add tests of infinite and NaN arguments.
46654         (lrint_tonearest_test_data): Likewise.
46655         (lrint_towardzero_test_data): Likewise.
46656         (lrint_downward_test_data): Likewise.
46657         (lrint_upward_test_data): Likewise.
46658         (llrint_test_data): Likewise.
46659         (llrint_tonearest_test_data): Likewise.
46660         (llrint_towardzero_test_data): Likewise.
46661         (llrint_downward_test_data): Likewise.
46662         (llrint_upward_test_data): Likewise.
46663         (lround_test_data): Likewise.
46664         (llround_test_data): Likewise.
46666         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46667         (ERRNO_UNCHANGED): Update value.
46668         (ERRNO_EDOM): Likewise.
46669         (ERRNO_ERANGE): Likewise.
46670         (NO_TEST_INLINE_FLOAT): New macro.
46671         (NO_TEST_INLINE_DOUBLE): Likewise.
46672         (enable_test): New function.
46673         (RUN_TEST_f_f): Check enable_test before running test.
46674         (RUN_TEST_2_f): Likewise.
46675         (RUN_TEST_fff_f): Likewise.
46676         (RUN_TEST_c_f): Likewise.
46677         (RUN_TEST_f_f1): Likewise.
46678         (RUN_TEST_fF_f1): Likewise.
46679         (RUN_TEST_fI_f1): Likewise.
46680         (RUN_TEST_ffI_f1): Likewise.
46681         (RUN_TEST_c_c): Likewise.
46682         (RUN_TEST_cc_c): Likewise.
46683         (RUN_TEST_f_i): Likewise.
46684         (RUN_TEST_f_i_tg): Likewise.
46685         (RUN_TEST_ff_i_tg): Likewise.
46686         (RUN_TEST_f_b): Likewise.
46687         (RUN_TEST_f_b_tg): Likewise.
46688         (RUN_TEST_f_l): Likewise.
46689         (RUN_TEST_f_L): Likewise.
46690         (RUN_TEST_fFF_11): Likewise.
46691         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46692         conditionals.
46693         (cosh_test_data): Likewise.
46694         (exp_test_data): Likewise.
46695         (expm1_test_data): Likewise.
46696         (hypot_test_data): Likewise.
46697         (pow_test_data): Likewise.
46698         (sinh_test_data): Likewise.
46699         (tanh_test_data): Likewise.
46700         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46701         flags argument.
46703         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46704         tests with quiet NaN input and output.
46705         (acosh_test_data): Likewise.
46706         (asin_test_data): Likewise.
46707         (asinh_test_data): Likewise.
46708         (atan_test_data): Likewise.
46709         (atanh_test_data): Likewise.
46710         (atan2_test_data): Likewise.
46711         (cbrt_test_data): Likewise.
46712         (cos_test_data): Likewise.
46713         (cosh_test_data): Likewise.
46714         (erf_test_data): Likewise.
46715         (erfc_test_data): Likewise.
46716         (exp_test_data): Likewise.
46717         (exp10_test_data): Likewise.
46718         (exp2_test_data): Likewise.
46719         (expm1_test_data): Likewise.
46720         (hypot_test_data): Likewise.
46721         (j0_test_data): Likewise.
46722         (j1_test_data): Likewise.
46723         (jn_test_data): Likewise.
46724         (lgamma_test_data): Likewise.
46725         (log_test_data): Likewise.
46726         (log10_test_data): Likewise.
46727         (log1p_test_data): Likewise.
46728         (log2_test_data): Likewise.
46729         (pow_test_data): Likewise.
46730         (scalb_test_data): Likewise.
46731         (sin_test_data): Likewise.
46732         (sincos_test_data): Likewise.
46733         (sinh_test_data): Likewise.
46734         (tan_test_data): Likewise.
46735         (tanh_test_data): Likewise.
46736         (tgamma_test_data): Likewise.
46737         (y0_test_data): Likewise.
46738         (y1_test_data): Likewise.
46739         (yn_test_data): Likewise.
46741         [BZ #16167]
46742         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46743         argument being NaN and avoid computations with second argument in
46744         that case.
46745         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46746         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46747         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46749 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46751         * locale/iso-639.def: Add Chitwani Tharu (the).
46753 2013-11-14  Andreas Schwab  <schwab@suse.de>
46755         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46756         word instead of empty string.
46758 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46761         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46763         (__fe_nomask_env): Likewise.
46765 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46767         * benchtests/bench-timing.h: Include time.h.
46769 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46771         [BZ #15997]
46772         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46773         to 3.4.0 for x32.
46774         * sysdeps/unix/sysv/linux/configure: Regenerated.
46776 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46778         [BZ #16151]
46779         * stdlib/strtod_l.c (round_and_return): Do not consider
46780         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46781         exponent one less than half the least subnormal exponent.
46782         * stdlib/test-strtod-round-data: Add more tests.
46783         * stdlib/tst-strtod-round.c (tests): Regenerated.
46785 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46787         [BZ #14143]
46788         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46789         (__fe_mask_env): Likewise.
46790         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46791         libm_hidden_proto and add function prototype.
46792         (__fe_mask_env): Add function prototype.
46793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46794         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46796         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46798         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46800 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46802         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46803         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46805 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46807         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46808         of htab_find_slot().
46810 2013-11-11  David S. Miller  <davem@davemloft.net>
46812         [BZ #16150]
46813         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46814         symbol in the non-vis3 case in static builds.
46815         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46816         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46818         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46820 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46822         [BZ #387]
46823         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46824         it is empty.
46826 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46828         * benchtests/Makefile: Add bench-strtod.
46829         * benchtests/bench-strtod.c: New file: strtod benchtest
46831 2013-11-11  Andreas Schwab  <schwab@suse.de>
46833         [BZ #16153]
46834         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46835         terminating NUL in key length.
46837 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46839         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46840         Add artificial ODP entry for vDSO symbol for PPC64.
46841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46842         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46844 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46846         [BZ #15374]
46847         * nss/getent.c (services_keys): Recognize services starting with digit.
46849 2013-11-06  David S. Miller  <davem@davemloft.net>
46851         [BZ #15985]
46852         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46853         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46855 2013-11-06  Will Newton  <will.newton@linaro.org>
46857         * manual/memory.texi (Malloc Examples): Remove register
46858         keyword from examples.
46860 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46862         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46864 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46866         [BZ #6981]
46867         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46868         depending on [__GCC_IEC_559 > 0].
46869         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46870         depending on [__GCC_IEC_559_COMPLEX > 0].
46872 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46874         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46875         to iso-639.def.
46877 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46879         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46881 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46883         [BZ #16112]
46884         * malloc/malloc (malloc_info): Do not handle first bin as
46885         special case.
46887 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46889         * locale/iso-639.def: Add Central Nahuatl (nhn).
46891 2013-11-01  Bruno Haible  <bruno@clisp.org>
46893         [BZ #7003]
46894         * manual/math.texi (BSD Random): Specify range upper bound as
46895         in POSIX.
46897 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46899         * locale/iso-639.def: Add Meadow Mari (mhr).
46901 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46903         [BZ #14752], [BZ #15763]
46904         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46905         Validate name.
46906         * rt/tst_shm.c: Add test for escaping directory.
46908 2013-10-31  Andreas Schwab  <schwab@suse.de>
46910         [BZ #15917]
46911         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46912         followed by 'x' as part of digit sequence.
46913         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46915 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46917         [BZ #16037]
46918         * configure.ac: allow GNU Make 4.0 and greater.
46919         * configure: Regenerated.
46921 2013-10-30  Will Newton  <will.newton@linaro.org>
46923         [BZ #16038]
46924         * malloc/hooks.c (memalign_check): Limit alignment to the
46925         maximum representable power of two.
46926         * malloc/malloc.c (__libc_memalign): Likewise.
46927         * malloc/tst-memalign.c (do_test): Add test for very
46928         large alignment values.
46929         * malloc/tst-posix_memalign.c (do_test): Likewise.
46931 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46933         [BZ #11087]
46934         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46935         (munmap_chunk): Likewise.
46936         (mremap_chunk): Likewise.
46938 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46940         [BZ #15799]
46941         * stdlib/div.c (div): Remove obsolete code.
46942         * stdlib/ldiv.c (ldiv): Likewise.
46943         * stdlib/lldiv.c (lldiv): Likewise.
46945 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46947         [BZ #16071]
46948         * nss/nss_files/files-XXX.c (get_contents_ret): New
46949         enumerator.
46950         (get_contents): New function.
46951         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46953 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46955         * configure.in: Moved to ...
46956         * configure.ac: ... here. Change reference to configure.in
46957         to configure.ac.
46958         * sysdeps/arm/preconfigure.ac: ... here.
46959         configure.in to configure.ac.
46960         * sysdeps/gnu/configure.in: Moved to ...
46961         * sysdeps/gnu/configure.ac: ... here.
46962         * sysdeps/i386/configure.in: Moved to ...
46963         * sysdeps/i386/configure.ac: ... here.
46964         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46965         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46966         * sysdeps/mach/configure.in: Moved to ...
46967         * sysdeps/mach/configure.ac: ... here.
46968         * sysdeps/mach/hurd/configure.in: Moved to ...
46969         * sysdeps/mach/hurd/configure.ac: ... here.
46970         * sysdeps/powerpc/configure.in: Moved to ...
46971         * sysdeps/powerpc/configure.ac: ... here.
46972         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46973         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46974         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46975         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46976         * sysdeps/s390/s390-32/configure.in: Moved to ...
46977         * sysdeps/s390/s390-32/configure.ac: ... here.
46978         * sysdeps/s390/s390-64/configure.in: Moved to ...
46979         * sysdeps/s390/s390-64/configure.ac: ... here.
46980         * sysdeps/sh/configure.in: Moved to ...
46981         * sysdeps/sh/configure.ac: ... here.
46982         * sysdeps/sparc/configure.in: Moved to ...
46983         * sysdeps/sparc/configure.ac: ... here.
46984         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46985         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46986         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46987         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46988         * sysdeps/x86_64/configure.in: Moved to ...
46989         * sysdeps/x86_64/configure.ac: ... here.
46990         * sysdeps/x86_64/preconfigure.in: Moved to ...
46991         * sysdeps/x86_64/preconfigure.ac: ... here.
46992         * aclocal.m4: Change reference to configure.in to configure.ac.
46993         * config.h.in: Likewise.
46994         * manual/install.texi: Likewise.
46995         * manual/maint.texi: Likewise.
46996         * Makefile: Likewise.
46997         * malloc/Makefile: Likewise.
46998         * nscd/Makefile: Likewise.
46999         * Makeconfig: Change reference to configure.in and
47000         preconfigure.in to configure.ac and preconfigure.ac
47001         respectively.
47002         * INSTALL: Regenerated.
47003         * configure: Likewise.
47004         * sysdeps/gnu/configure: Likewise.
47005         * sysdeps/i386/configure: Likewise.
47006         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47007         * sysdeps/mach/configure: Likewise.
47008         * sysdeps/mach/hurd/configure: Likewise.
47009         * sysdeps/powerpc/configure: Likewise.
47010         * sysdeps/powerpc/powerpc32/configure: Likewise.
47011         * sysdeps/powerpc/powerpc64/configure: Likewise.
47012         * sysdeps/s390/s390-32/configure: Likewise.
47013         * sysdeps/s390/s390-64/configure: Likewise.
47014         * sysdeps/sh/configure: Likewise.
47015         * sysdeps/sparc/configure: Likewise.
47016         * sysdeps/unix/sysv/linux/configure: Likewise.
47017         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47018         * sysdeps/x86_64/configure: Likewise.
47019         * sysdeps/x86_64/preconfigure: Likewise.
47021 2013-10-29  Andreas Schwab  <schwab@suse.de>
47023         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47025 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47027         * benchtests/pow-inputs: Add new inputs.
47029         * benchtests/exp-inputs: Add new inputs.
47031         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47032         conditional check for return value.
47033         (__cos32): Likewise.
47035 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47037         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47038         to provide a boost for large inputs with word alignment.
47039         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47040         implementation based on optimized PPC64 strcpy.
47041         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47042         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47043         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47044         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47046 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47048         [BZ #2801]
47049         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47051 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47053         [BZ #14876]
47054         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47055         * time/tst-strptime.c (day_tests): Add testcase.
47057 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47059         [BZ #14029]
47060         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47062 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47064         [BZ #16074]
47065         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47066         MAP_FAILED on error.
47068 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47070         [BZ #16072]
47071         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47072         heap for large requests.
47074 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47076         [BZ #9954]
47077         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47078         result if the result has no associated interface.
47079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47080         interface for all 127.X.Y.Z addresses.
47082 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47084         * locale/iso-639.def: Add Ligurian (lij)
47086 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47088         [BZ #15825]
47089         * sunrpc/rpc_main.c: Document rpcgen -5.
47091 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47093         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47095 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47097         [BZ #10278]
47098         * posix/glob.c: Match only directories when trailing slash is present.
47099         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47100         (main): Add testcase.
47102 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47104         [BZ #15670]
47105         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47107 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47109         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47110         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47111         AUTH_DES and cindex for FIPS 140-2.
47112         (DES Encryption): Add cindex FIPS 46-3.
47114         * locale/locarchive.h (struct locarhandle): Add fname.
47115         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47116         if an optional argument was specified to --list-archive,
47117         otherwise NULL.
47118         * locale/programs/locarchive.c (show_archive_content): Take new
47119         argument fname and pass it via ah.fname to open_archive.
47120         * locale/programs/localedef.h: Update decl.
47121         (open_archive): If AH->fname is non-null, open that file
47122         rather than the default file name, and don't ignore ENOENT.
47123         (create_archive): Set AH.fname to NULL.
47124         (delete_locales_from_archive): Likewise.
47125         (add_locales_to_archive): Likewise.
47126         * locale/programs/locfile.c (write_all_categories): Likewise.
47128 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47129             Aldy Hernandez  <aldyh@redhat.com>
47131         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47132         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47133         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47134         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47135         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47136         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47137         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47138         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47139         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47140         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47141         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47142         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47144         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47145         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47146         Likewise.
47147         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47148         Likewise.
47149         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47150         Likewise.
47151         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47152         Likewise.
47153         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47154         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47155         Likewise.
47156         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47157         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47158         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47159         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47160         Likewise.
47161         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47162         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47163         * sysdeps/powerpc/preconfigure: Likewise.
47164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47165         Likewise.
47166         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47167         Replace contents of file by #include of <fenv_libc.h>.
47168         * sysdeps/powerpc/soft-fp/sfp-machine.h
47169         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47170         and <sys/prctl.h>.
47171         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47174         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47184         Allow copysignl PLT reference to be missing.
47186 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47187             Joseph Myers  <joseph@codesourcery.com
47189         [BZ #15948]
47190         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47191         single character.
47192         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47194 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47197         * elf/tst-tls1.c: Likewise.
47198         * elf/tst-tls10.h: Likewise.
47199         * elf/tst-tls14.c: Likewise.
47200         * elf/tst-tls2.c: Likewise.
47201         * elf/tst-tls3.c: Likewise.
47202         * elf/tst-tls4.c: Likewise.
47203         * elf/tst-tls5.c: Likewise.
47204         * elf/tst-tls6.c: Likewise.
47205         * elf/tst-tls7.c: Likewise.
47206         * elf/tst-tls8.c: Likewise.
47207         * elf/tst-tls9.c: Likewise.
47208         * elf/tst-tlsmod1.c: Likewise.
47209         * elf/tst-tlsmod13.c: Likewise.
47210         * elf/tst-tlsmod13a.c: Likewise.
47211         * elf/tst-tlsmod14a.c: Likewise.
47212         * elf/tst-tlsmod16a.c: Likewise.
47213         * elf/tst-tlsmod16b.c: Likewise.
47214         * elf/tst-tlsmod2.c: Likewise.
47215         * elf/tst-tlsmod3.c: Likewise.
47216         * elf/tst-tlsmod4.c: Likewise.
47217         * elf/tst-tlsmod5.c: Likewise.
47218         * elf/tst-tlsmod6.c: Likewise.
47220 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47222         [BZ #12486]
47223         * malloc/malloc.c: remove checks for statistics.
47225 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47227         [BZ #15277]
47228         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47229         * inet/tst-network.c: Add testcase.
47231 2013-10-17  Andreas Schwab  <schwab@suse.de>
47233         [BZ #15218]
47234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47235         to determine canonical name.
47237 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47239         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47240         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47241         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47242         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47243         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47244         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47245         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47246         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47247         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47248         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47249         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47250         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47252         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47253         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47254         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47256         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47257         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47258         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47259         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47261         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47262         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47263         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47264         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47265         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47266         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47267         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47268         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47269         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47270         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47271         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47272         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47273         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47274         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47275         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47276         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47277         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47278         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47279         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47280         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47281         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47282         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47283         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47284         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47285         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47286         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47287         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47288         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47289         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47290         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47291         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47292         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47294         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47296         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47298 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47300         [BZ #16041]
47301         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47302         make result into a quiet NaN.
47304 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47306         * soft-fp/adddf3.c: Fix horizontal whitespace.
47307         * soft-fp/addsf3.c: Likewise.
47308         * soft-fp/addtf3.c: Likewise.
47309         * soft-fp/divdf3.c: Likewise.
47310         * soft-fp/divsf3.c: Likewise.
47311         * soft-fp/divtf3.c: Likewise.
47312         * soft-fp/double.h: Likewise.
47313         * soft-fp/eqdf2.c: Likewise.
47314         * soft-fp/eqsf2.c: Likewise.
47315         * soft-fp/eqtf2.c: Likewise.
47316         * soft-fp/extenddftf2.c: Likewise.
47317         * soft-fp/extended.h: Likewise.
47318         * soft-fp/extendsfdf2.c: Likewise.
47319         * soft-fp/extendsftf2.c: Likewise.
47320         * soft-fp/extendxftf2.c: Likewise.
47321         * soft-fp/fixdfdi.c: Likewise.
47322         * soft-fp/fixdfsi.c: Likewise.
47323         * soft-fp/fixdfti.c: Likewise.
47324         * soft-fp/fixsfdi.c: Likewise.
47325         * soft-fp/fixsfsi.c: Likewise.
47326         * soft-fp/fixsfti.c: Likewise.
47327         * soft-fp/fixtfdi.c: Likewise.
47328         * soft-fp/fixtfsi.c: Likewise.
47329         * soft-fp/fixtfti.c: Likewise.
47330         * soft-fp/fixunsdfdi.c: Likewise.
47331         * soft-fp/fixunsdfsi.c: Likewise.
47332         * soft-fp/fixunsdfti.c: Likewise.
47333         * soft-fp/fixunssfdi.c: Likewise.
47334         * soft-fp/fixunssfsi.c: Likewise.
47335         * soft-fp/fixunssfti.c: Likewise.
47336         * soft-fp/fixunstfdi.c: Likewise.
47337         * soft-fp/fixunstfsi.c: Likewise.
47338         * soft-fp/fixunstfti.c: Likewise.
47339         * soft-fp/floatdidf.c: Likewise.
47340         * soft-fp/floatdisf.c: Likewise.
47341         * soft-fp/floatditf.c: Likewise.
47342         * soft-fp/floatsidf.c: Likewise.
47343         * soft-fp/floatsisf.c: Likewise.
47344         * soft-fp/floatsitf.c: Likewise.
47345         * soft-fp/floattidf.c: Likewise.
47346         * soft-fp/floattisf.c: Likewise.
47347         * soft-fp/floattitf.c: Likewise.
47348         * soft-fp/floatundidf.c: Likewise.
47349         * soft-fp/floatundisf.c: Likewise.
47350         * soft-fp/floatunditf.c: Likewise.
47351         * soft-fp/floatunsidf.c: Likewise.
47352         * soft-fp/floatunsisf.c: Likewise.
47353         * soft-fp/floatunsitf.c: Likewise.
47354         * soft-fp/floatuntidf.c: Likewise.
47355         * soft-fp/floatuntisf.c: Likewise.
47356         * soft-fp/floatuntitf.c: Likewise.
47357         * soft-fp/fmadf4.c: Likewise.
47358         * soft-fp/fmasf4.c: Likewise.
47359         * soft-fp/fmatf4.c: Likewise.
47360         * soft-fp/gedf2.c: Likewise.
47361         * soft-fp/gesf2.c: Likewise.
47362         * soft-fp/getf2.c: Likewise.
47363         * soft-fp/ledf2.c: Likewise.
47364         * soft-fp/lesf2.c: Likewise.
47365         * soft-fp/letf2.c: Likewise.
47366         * soft-fp/muldf3.c: Likewise.
47367         * soft-fp/mulsf3.c: Likewise.
47368         * soft-fp/multf3.c: Likewise.
47369         * soft-fp/negdf2.c: Likewise.
47370         * soft-fp/negsf2.c: Likewise.
47371         * soft-fp/negtf2.c: Likewise.
47372         * soft-fp/op-1.h: Likewise.
47373         * soft-fp/op-2.h: Likewise.
47374         * soft-fp/op-4.h: Likewise.
47375         * soft-fp/op-8.h: Likewise.
47376         * soft-fp/op-common.h: Likewise.
47377         * soft-fp/quad.h: Likewise.
47378         * soft-fp/single.h: Likewise.
47379         * soft-fp/soft-fp.h: Likewise.
47380         * soft-fp/sqrtdf2.c: Likewise.
47381         * soft-fp/sqrtsf2.c: Likewise.
47382         * soft-fp/sqrttf2.c: Likewise.
47383         * soft-fp/subdf3.c: Likewise.
47384         * soft-fp/subsf3.c: Likewise.
47385         * soft-fp/subtf3.c: Likewise.
47386         * soft-fp/truncdfsf2.c: Likewise.
47387         * soft-fp/trunctfdf2.c: Likewise.
47388         * soft-fp/trunctfsf2.c: Likewise.
47389         * soft-fp/trunctfxf2.c: Likewise.
47390         * soft-fp/unorddf2.c: Likewise.
47391         * soft-fp/unordsf2.c: Likewise.
47392         * soft-fp/unordtf2.c: Likewise.
47394 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47396         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47397         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47399 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47401         * elf/dl-libc.c: Clear initfini list after freeing.
47403 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47405         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47406         * soft-fp/addsf3.c: Likewise.
47407         * soft-fp/addtf3.c: Likewise.
47408         * soft-fp/divdf3.c: Likewise.
47409         * soft-fp/divsf3.c: Likewise.
47410         * soft-fp/divtf3.c: Likewise.
47411         * soft-fp/double.h: Likewise.
47412         * soft-fp/eqdf2.c: Likewise.
47413         * soft-fp/eqsf2.c: Likewise.
47414         * soft-fp/eqtf2.c: Likewise.
47415         * soft-fp/extenddftf2.c: Likewise.
47416         * soft-fp/extended.h: Likewise.
47417         * soft-fp/extendsfdf2.c: Likewise.
47418         * soft-fp/extendsftf2.c: Likewise.
47419         * soft-fp/extendxftf2.c: Likewise.
47420         * soft-fp/fixdfdi.c: Likewise.
47421         * soft-fp/fixdfsi.c: Likewise.
47422         * soft-fp/fixdfti.c: Likewise.
47423         * soft-fp/fixsfdi.c: Likewise.
47424         * soft-fp/fixsfsi.c: Likewise.
47425         * soft-fp/fixsfti.c: Likewise.
47426         * soft-fp/fixtfdi.c: Likewise.
47427         * soft-fp/fixtfsi.c: Likewise.
47428         * soft-fp/fixtfti.c: Likewise.
47429         * soft-fp/fixunsdfdi.c: Likewise.
47430         * soft-fp/fixunsdfsi.c: Likewise.
47431         * soft-fp/fixunsdfti.c: Likewise.
47432         * soft-fp/fixunssfdi.c: Likewise.
47433         * soft-fp/fixunssfsi.c: Likewise.
47434         * soft-fp/fixunssfti.c: Likewise.
47435         * soft-fp/fixunstfdi.c: Likewise.
47436         * soft-fp/fixunstfsi.c: Likewise.
47437         * soft-fp/fixunstfti.c: Likewise.
47438         * soft-fp/floatdidf.c: Likewise.
47439         * soft-fp/floatdisf.c: Likewise.
47440         * soft-fp/floatditf.c: Likewise.
47441         * soft-fp/floatsidf.c: Likewise.
47442         * soft-fp/floatsisf.c: Likewise.
47443         * soft-fp/floatsitf.c: Likewise.
47444         * soft-fp/floattidf.c: Likewise.
47445         * soft-fp/floattisf.c: Likewise.
47446         * soft-fp/floattitf.c: Likewise.
47447         * soft-fp/floatundidf.c: Likewise.
47448         * soft-fp/floatundisf.c: Likewise.
47449         * soft-fp/floatunsidf.c: Likewise.
47450         * soft-fp/floatunsisf.c: Likewise.
47451         * soft-fp/floatuntidf.c: Likewise.
47452         * soft-fp/floatuntisf.c: Likewise.
47453         * soft-fp/floatuntitf.c: Likewise.
47454         * soft-fp/fmadf4.c: Likewise.
47455         * soft-fp/fmasf4.c: Likewise.
47456         * soft-fp/fmatf4.c: Likewise.
47457         * soft-fp/gedf2.c: Likewise.
47458         * soft-fp/gesf2.c: Likewise.
47459         * soft-fp/getf2.c: Likewise.
47460         * soft-fp/ledf2.c: Likewise.
47461         * soft-fp/lesf2.c: Likewise.
47462         * soft-fp/letf2.c: Likewise.
47463         * soft-fp/muldf3.c: Likewise.
47464         * soft-fp/mulsf3.c: Likewise.
47465         * soft-fp/multf3.c: Likewise.
47466         * soft-fp/negdf2.c: Likewise.
47467         * soft-fp/negsf2.c: Likewise.
47468         * soft-fp/negtf2.c: Likewise.
47469         * soft-fp/op-1.h: Likewise.
47470         * soft-fp/op-2.h: Likewise.
47471         * soft-fp/op-4.h: Likewise.
47472         * soft-fp/op-8.h: Likewise.
47473         * soft-fp/op-common.h: Likewise.
47474         * soft-fp/quad.h: Likewise.
47475         * soft-fp/single.h: Likewise.
47476         * soft-fp/soft-fp.h: Likewise.
47477         * soft-fp/sqrtdf2.c: Likewise.
47478         * soft-fp/sqrtsf2.c: Likewise.
47479         * soft-fp/sqrttf2.c: Likewise.
47480         * soft-fp/subdf3.c: Likewise.
47481         * soft-fp/subsf3.c: Likewise.
47482         * soft-fp/subtf3.c: Likewise.
47483         * soft-fp/truncdfsf2.c: Likewise.
47484         * soft-fp/trunctfdf2.c: Likewise.
47485         * soft-fp/trunctfsf2.c: Likewise.
47486         * soft-fp/trunctfxf2.c: Likewise.
47487         * soft-fp/unorddf2.c: Likewise.
47488         * soft-fp/unordsf2.c: Likewise.
47489         * soft-fp/unordtf2.c: Likewise.
47491 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47493         [BZ #15672]
47494         * misc/error.c (error_tail): Fix possible buffer overflow.
47496 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47498         [BZ #13028]
47499         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47500         address.
47502 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47504         [BZ #832]
47505         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47506         testing pipefail option.
47508 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47510         * soft-fp/double.h: Indent preprocessor directives inside #if.
47511         * soft-fp/extended.h: Likewise.
47512         * soft-fp/op-2.h: Likewise.
47513         * soft-fp/op-4.h: Likewise.
47514         * soft-fp/op-common.h: Likewise.
47515         * soft-fp/quad.h: Likewise.
47516         * soft-fp/single.h: Likewise.
47517         * soft-fp/soft-fp.h: Likewise.
47519 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47521         * iconv/iconv_prog.c: Fix typos.
47522         * stdio-common/psiginfo-data.h: Likewise.
47524 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47526         [BZ #15764]
47527         * locale/setlocale.c: Fix typo.
47529 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47531         [BZ #16036]
47532         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47533         signaling NaN arguments.
47534         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47535         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47537         [BZ #14910]
47538         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47539         unordered operands.
47540         * soft-fp/gesf2.c (__gesf2): Likewise.
47541         * soft-fp/getf2.c (__getf2): Likewise.
47542         * soft-fp/ledf2.c (__ledf2): Likewise.
47543         * soft-fp/lesf2.c (__lesf2): Likewise.
47544         * soft-fp/letf2.c (__letf2): Likewise.
47546         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47547         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47548         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47549         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47550         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47551         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47552         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47553         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47554         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47555         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47556         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47557         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47558         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47559         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47560         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47561         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47562         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47563         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47564         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47565         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47566         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47567         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47568         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47569         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47570         * soft-fp/floattidf.c (__floattidf): Likewise.
47571         * soft-fp/floattisf.c (__floattisf): Likewise.
47572         * soft-fp/floattitf.c (__floattitf): Likewise.
47573         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47574         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47575         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47576         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47577         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47578         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47579         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47580         * soft-fp/gesf2.c (__gesf2): Likewise.
47581         * soft-fp/getf2.c (__getf2): Likewise.
47582         * soft-fp/ledf2.c (__ledf2): Likewise.
47583         * soft-fp/lesf2.c (__lesf2): Likewise.
47584         * soft-fp/letf2.c (__letf2): Likewise.
47586         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47587         Undefine and redefine.
47588         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47589         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47590         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47591         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47592         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47593         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47594         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47595         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47596         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47597         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47598         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47599         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47600         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47601         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47602         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47604         [BZ #16032]
47605         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47606         without decrementing exponent if mantissa >= that for the
47607         denominator, not >.
47608         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47609         denominator, not >.  Decrement exponent in < case instead of
47610         incrementing in >= case.
47611         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47612         without decrementing exponent if mantissa >= that for the
47613         denominator, not >.
47615         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47616         computing saturated result for unsigned overflow.
47618 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47619             Jeff Law  <law@redhat.com>
47621         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47622         (atan2Mp): Add systemtap probe marker.
47623         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47624         (__ieee754_log): Add systemtap probe marker.
47625         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47626         (atanMp): Add systemtap probe marker.
47627         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47628         (tanMp): Add systemtap probe marker.
47629         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47630         (__slowexp): Add systemtap probe marker.
47631         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47632         (__slowpow): Add systemtap probe marker.
47633         * manual/probes.texi: Document probes.
47635 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47637         [BZ #15362]
47638         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47639         written.
47640         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47641         written.
47642         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47643         written to buffer but not flushed.
47644         * libio/iofwrite_u.c:  Likewise.
47645         * libio/iopadn.c:  Return bytes returned even if EOF was
47646         encountered.
47647         * libio/iowpadn.c:  Likewise.
47648         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47649         if _IO_padn does not write the whole buffer.
47650         [!COMPILE_WPRINTF] (PAD): Likewise.
47652 2013-10-10  David S. Miller  <davem@davemloft.net>
47654         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47655         directory block.
47657 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47659         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47660         instead of FSF address.
47661         * soft-fp/fixdfti.c: Likewise.
47662         * soft-fp/fixsfti.c: Likewise.
47663         * soft-fp/fixtfti.c: Likewise.
47664         * soft-fp/fixunsdfti.c: Likewise.
47665         * soft-fp/fixunssfti.c: Likewise.
47666         * soft-fp/fixunstfti.c: Likewise.
47667         * soft-fp/floattidf.c: Likewise.
47668         * soft-fp/floattisf.c: Likewise.
47669         * soft-fp/floattitf.c: Likewise.
47670         * soft-fp/floatuntidf.c: Likewise.
47671         * soft-fp/floatuntisf.c: Likewise.
47672         * soft-fp/floatuntitf.c: Likewise.
47673         * soft-fp/trunctfxf2.c: Likewise.
47675         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47676         * soft-fp/fixdfti.c: Likewise.
47677         * soft-fp/fixsfti.c: Likewise.
47678         * soft-fp/fixtfti.c: Likewise.
47679         * soft-fp/fixunsdfti.c: Likewise.
47680         * soft-fp/fixunssfti.c: Likewise.
47681         * soft-fp/fixunstfti.c: Likewise.
47682         * soft-fp/floattidf.c: Likewise.
47683         * soft-fp/floattisf.c: Likewise.
47684         * soft-fp/floattitf.c: Likewise.
47685         * soft-fp/floatuntidf.c: Likewise.
47686         * soft-fp/floatuntisf.c: Likewise.
47687         * soft-fp/floatuntitf.c: Likewise.
47688         * soft-fp/trunctfxf2.c: Likewise.
47690 2013-10-10  David S. Miller  <davem@davemloft.net>
47692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47694 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47696         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47697         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47698         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47699         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47700         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47701         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47702         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47704         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47705         for NaNs before doing comparisons on argument.
47706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47707         Likewise.
47709 2013-10-10  Will Newton  <will.newton@linaro.org>
47711         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47712         passed to _int_memalign does not overflow.
47714 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47716         * scripts/bench.pl: Add include-sources directive.
47717         * benchtests/README: Update documentation.
47719 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47721         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47722         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47723         instead of FP_INIT_ROUNDMODE.
47724         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47725         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47727         [BZ #16034]
47728         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47729         copy class of input value.
47730         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47731         not handle exceptions.
47732         * soft-fp/negsf2.c (__negsf2): Likewise.
47733         * soft-fp/negtf2.c (__negtf2): Likewise.
47734         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47736 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47738         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47739         semicolon.  From Linux kernel.
47741 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47743         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47745 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47747         [BZ #156]
47748         * manual/socket.texi: Added statement about buffer
47749         for gethostbyname2_r.
47751 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47753         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47754         Use .p2align directive instead, throughout.
47755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47756         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47757         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47760         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47761         * sysdeps/x86_64/strchr.S: Likewise.
47762         * sysdeps/x86_64/strrchr.S: Likewise.
47764 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47766         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47768         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47770         * sysdeps/generic/math_private.h (__mpsin1): Remove
47771         declaration.
47772         (__mpcos1): Likewise.
47773         (__mpsin): New argument __range_reduce.
47774         (__mpcos): Likewise.
47775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47776         (slow): Use __mpsin and __mpcos.
47777         (slow1): Likewise.
47778         (slow2): Likewise.
47779         (sloww): Likewise.
47780         (sloww1): Likewise.
47781         (sloww2): Likewise.
47782         (bsloww): Likewise.
47783         (bsloww1): Likewise.
47784         (bsloww2): Likewise.
47785         (cslow2): Likewise.
47786         (csloww): Likewise.
47787         (csloww1): Likewise.
47788         (csloww2): Likewise.
47789         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47790         range_reduce.  Merge in __mpsin1.
47791         (__mpcos): Likewise.
47792         (__mpsin1): Remove.
47793         (__mpcos1): Likewise.
47795 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47797         * locale/loadlocale.c (_nl_intern_locale_data): Use
47798         LOCFILE_ALIGNED_P.
47799         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47800         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47801         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47802         obstack data is appropriately aligned.
47803         (obstack_int32_grow_fast): Likewise.
47804         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47805         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47806         (add_locale_uint32_array): Likewise.
47808 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47810         * benchtests/Makefile: Remove ARGLIST and RET variables.
47811         ($(objpfx)bench-%.c): Pass only function name to the script.
47812         * benchtests/README: Update documentation.
47813         * benchtests/acos-inputs: Add new directives.
47814         * benchtests/acosh-inputs: Likewise.
47815         * benchtests/asin-inputs: Likewise.
47816         * benchtests/asinh-inputs: Likewise.
47817         * benchtests/atan-inputs: Likewise.
47818         * benchtests/atanh-inputs: Likewise.
47819         * benchtests/cos-inputs: Likewise.
47820         * benchtests/cosh-inputs: Likewise.
47821         * benchtests/exp-inputs: Likewise.
47822         * benchtests/log-inputs: Likewise.
47823         * benchtests/pow-inputs: Likewise.
47824         * benchtests/rint-inputs: Likewise.
47825         * benchtests/sin-inputs: Likewise.
47826         * benchtests/sinh-inputs: Likewise.
47827         * benchtests/tan-inputs: Likewise.
47828         * benchtests/tanh-inputs: Likewise.
47829         * scripts/bench.pl: Add support for new directives.
47831 2013-10-07  Alan Modra  <amodra@gmail.com>
47833         * README: Fix careless merge.
47835 2013-10-05  Alan Modra  <amodra@gmail.com>
47837         * NEWS: Mention powerpc64le support and bugs fixed.
47838         * README: Both big-endian and little-endian powerpc64 supported.
47840 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47842         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47843         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47844         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47845         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47847 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47849         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47850         match prototype.
47852 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47854         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47855         Move -mhard-float appending from
47856         ports/sysdeps/powerpc/powerpc32/Makefile.
47857         [$(with-fp) = yes] (ASFLAGS): Likewise.
47858         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47859         * sysdeps/powerpc/nofpu: Move directory from
47860         ports/sysdeps/powerpc/nofpu.
47861         * sysdeps/powerpc/soft-fp: Move directory from
47862         ports/sysdeps/powerpc/soft-fp.
47863         * sysdeps/powerpc/powerpc32/405: Move directory from
47864         ports/sysdeps/powerpc/powerpc32/405.
47865         * sysdeps/powerpc/powerpc32/440: Move directory from
47866         ports/sysdeps/powerpc/powerpc32/440.
47867         * sysdeps/powerpc/powerpc32/464: Move directory from
47868         ports/sysdeps/powerpc/powerpc32/464.
47869         * sysdeps/powerpc/powerpc32/476: Move directory from
47870         ports/sysdeps/powerpc/powerpc32/476.
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47872         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47874         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47876         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47878         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47880         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47881         * README: Update for powerpc-*-linux-gnu software floating point
47882         support in libc.
47884         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47885         case to powerpc/powerpc32*.
47886         * sysdeps/unix/sysv/linux/configure: Regenerated.
47888         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47889         (_FPU_MASK_OM): Define as 0x04.
47890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47892         0x00c10080.
47893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47894         0x0000003c.
47895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47898         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47899         getcontext_e500.
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47901         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47902         setcontext_e500.
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47904         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47905         and setcontext_e500.
47907 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47909         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47911 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47913         * manual/threads.texi (Default Thread Attributes): Fix typo.
47915 2013-10-04  Will Newton  <will.newton@linaro.org>
47917         * malloc/Makefile: Add tst-memalign.
47918         * malloc/tst-memalign.c: New file.
47920         * malloc/tst-posix_memalign.c: Add comments.
47921         (do_test): Add comments and call free on all potentially
47922         allocated pointers. Add space after cast.
47924         * malloc/tst-pvalloc.c: Add comments.
47925         (do_test): Add comments and call free on all potentially
47926         allocated pointers. Remove duplicate check for NULL pointer.
47927         Add space after cast.
47929         * malloc/tst-valloc.c: Add comments.
47930         (do_test): Add comments and call free on all potentially
47931         allocated pointers. Remove duplicate check for NULL pointer.
47932         Add space after cast.
47934 2013-10-04  Alan Modra  <amodra@gmail.com>
47936         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47937         Use stdint types in rather than __attribute__((mode())).
47938         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47940 2013-10-04  Alan Modra  <amodra@gmail.com>
47942         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47943         Correct handling of unaligned relocs for little-endian.
47944         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47946 2013-10-04  Alan Modra  <amodra@gmail.com>
47948         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47949         * configure: Regenerate.
47950         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47951         * shlib-versions: Likewise.
47953 2013-10-04  Alan Modra  <amodra@gmail.com>
47955         * string/tester.c (test_memrchr): Increment reported test cycle.
47957 2013-10-04  Alan Modra  <amodra@gmail.com>
47959         * string/test-memcpy.c (do_one_test): When reporting errors, print
47960         string address and don't overrun end of string.
47962 2013-10-04  Alan Modra  <amodra@gmail.com>
47964         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47965         insrdi.  Make better use of reg selection to speed exit slightly.
47966         Schedule entry path a little better.  Remove useless "are we done"
47967         checks on entry to main loop.  Handle wrapping around zero address.
47968         Correct main loop count.  Handle single left-over word from main
47969         loop inline rather than by using loop_small.  Remove extra word
47970         case in loop_small caused by wrong loop count.  Add little-endian
47971         support.
47972         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47973         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47974         cache hint.
47975         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47976         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47977         support.  Avoid rlwimi.
47978         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47980 2013-10-04  Alan Modra  <amodra@gmail.com>
47982         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47983         insrdi.  Formatting.
47984         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47985         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47986         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47987         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47988         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47989         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47991 2013-10-04  Alan Modra  <amodra@gmail.com>
47993         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47995         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47996         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47997         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47999         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48000         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48001         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48002         use of regs.  Use power7 mtocrf.  Tidy function tails.
48004 2013-10-04  Alan Modra  <amodra@gmail.com>
48006         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48007         Formatting.  Consistently use rXXX register defines or rN defines.
48008         Use early exit labels that avoid restoring unused non-volatile regs.
48009         Make cr field use more consistent with rWORDn compares.  Rename
48010         regs used as shift registers for unaligned loop, using rN defines
48011         for short lifetime/multiple use regs.
48012         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48013         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48014         addi 1,1,64 to pop stack frame.  Simplify return value code.
48015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48017 2013-10-04  Alan Modra  <amodra@gmail.com>
48019         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48020         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48021         rather than rlwimi.
48022         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48023         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48024         little-endian support.  Correct typos.
48025         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48026         rather than rlwimi.
48027         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48028         in loop and entry code to keep "and." results.
48029         (strchr): Add little-endian support.  Comment.  Move cntlzd
48030         earlier in tail.
48031         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48033 2013-10-04  Alan Modra  <amodra@gmail.com>
48035         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48036         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48037         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48038         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48040 2013-10-04  Alan Modra  <amodra@gmail.com>
48042         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48043         (rTMP): Define as r11.
48044         (strcmp): Add little-endian support.  Optimise tail.
48045         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48046         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48047         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48048         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48049         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48050         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48051         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48053 2013-10-04  Alan Modra  <amodra@gmail.com>
48055         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48056         little-endian support.  Remove unnecessary "are we done" tests.
48057         Handle "s" wrapping around zero and extremely large "size".
48058         Correct main loop count.  Handle single left-over word from main
48059         loop inline rather than by using small_loop.  Correct comments.
48060         Delete "zero" tail, use "end_max" instead.
48061         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48063 2013-10-04  Alan Modra  <amodra@gmail.com>
48065         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48066         support.  Don't branch over align.
48067         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48068         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48069         support.  Rearrange tmp reg use to suit.  Comment.
48070         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48072 2013-10-04  Alan Modra  <amodra@gmail.com>
48074         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48076 2013-10-04  Alan Modra  <amodra@gmail.com>
48078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48079         conditional form of branch and link when obtaining pc.
48080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48082 2013-10-04  Alan Modra  <amodra@gmail.com>
48084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48085         HIWORD/LOWORD.
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48089 2013-10-04  Alan Modra  <amodra@gmail.com>
48091         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48092         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48093         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48094         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48095         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48096         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48097         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48098         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48099         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48100         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48102 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48103             Alistair Popple <alistair@ozlabs.au.ibm.com>
48104             Alan Modra <amodra@gmail.com>
48106         [BZ #15723]
48107         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48108         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48109         _dl_hwcap access for little-endian.
48110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48111         destroy vmx regs when saving unaligned.
48112         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48113         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48114         destroy vmx regs when saving unaligned.
48116 2013-10-04  Alan Modra  <amodra@gmail.com>
48118         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48119         Don't use a union to pack hi/low value.
48121 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48123         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48124         for little-endian.
48125         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48126         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48127         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48128         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48129         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48131 2013-10-04  Alan Modra  <amodra@gmail.com>
48133         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48134         constants to usual value for .cst8 section, and remove redundant
48135         high address load.
48136         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48137         constant for 0x1p52.  Load little-endian words of double from
48138         correct stack offsets.
48140 2013-10-04  Alan Modra  <amodra@gmail.com>
48142         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48143         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48144         words of double from correct stack offsets.
48145         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48146         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48147         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48148         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48150         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48151         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48152         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48153         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48154         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48155         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48156         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48157         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48158         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48159         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48160         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48161         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48163 2013-10-04  Alan Modra  <amodra@gmail.com>
48165         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48166         64-bit int/double union.
48167         (_FPU_SETCW): Likewise.
48168         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48169         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48171 2013-10-04  Alan Modra  <amodra@gmail.com>
48173         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48174         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48176 2013-10-04  Alan Modra  <amodra@gmail.com>
48178         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48179         use vector int constants.
48180         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48182 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48184         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48185         array with long long.
48186         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48187         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48188         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48189         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48190         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48191         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48192         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48193         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48194         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48195         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48196         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48197         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48198         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48200 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48202         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48203         (__signbit): Likewise.  Correct for little-endian.
48204         (__signbitl): Call __signbit.
48205         (lrint): Correct for little-endian.
48206         (lrintf): Call lrint.
48208 2013-10-04  Alan Modra  <amodra@gmail.com>
48210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48211         union 32-bit int array member with 64-bit int array.
48212         (t515, tm256): Double rather than long double.
48213         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48215 2013-10-04  Alan Modra  <amodra@gmail.com>
48217         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48218         Delete.
48219         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48220         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48221         version of math_ldbl.h.
48223 2013-10-04  Alan Modra  <amodra@gmail.com>
48225         [BZ #15734], [BZ #15735]
48226         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48227         all uses of ieee875 long double macros and unions.  Simplify test
48228         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48229         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48230         normalize after ldbl_extract_mantissa, and don't add hidden bit
48231         already handled.  Don't treat low word of ieee854 mantissa like
48232         low word of IBM long double and mask off bit when testing for
48233         zero.
48234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48235         all uses of ieee875 long double macros and unions.  Simplify tests
48236         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48237         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48238         two1022, instead use their values.  Recognise that tests for large
48239         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48240         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48241         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48242         test for 0.0L and nan.  Correct negation.
48243         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48244         ieee875 long double macros and unions.  Correct output for large
48245         magnitude x.  Correct absolute value calculation.
48246         (__erfcl): Likewise.
48247         * math/libm-test.inc: Add tests for errors discovered in IBM long
48248         double versions of fmodl, remainderl, erfl and erfcl.
48250 2013-10-04  Alan Modra  <amodra@gmail.com>
48252         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48253         all uses of ieee854 long double macros and unions.  Simplify tests
48254         for long doubles that are fully specified by the high double.
48255         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48256         Likewise.
48257         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48258         Remove dead code too.
48259         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48260         (__ieee754_ynl): Likewise.
48261         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48262         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48264         Remove dead code too.
48265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48266         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48267         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48268         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48269         Simplify.
48270         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48271         Simplify.
48272         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48273         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48274         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48275         Comment on variable precision.
48276         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48277         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48278         Likewise.
48279         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48282         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48283         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48285 2013-10-04  Alan Modra  <amodra@gmail.com>
48287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48288         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48289         all uses of ieee854 long double macros and unions.
48290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48291         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48292         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48293         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48294         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48296         Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48302         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48303         Simplify sign and nan test too.
48304         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48305         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48306         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48307         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48308         Likewise.
48309         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48310         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48311         Likewise.
48312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48313         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48314         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48315         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48316         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48319 2013-10-04  Alan Modra  <amodra@gmail.com>
48321         * stdio-common/printf_size.c (__printf_size): Don't use
48322         union ieee854_long_double in fpnum union.
48323         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48324         signbit macro to retrieve sign from long double.
48325         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48326         retrieve sign from long double.
48327         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48328         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48329         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48330         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48331         * math/test-misc.c (main): Don't use union ieee854_long_double.
48333 2013-10-04  Alan Modra  <amodra@gmail.com>
48335         [BZ #15680]
48336         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48337         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48338         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48339         calculation.  Remove unnecessary test for denormal exponent.
48340         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48341         Correct handling of denormals.  Avoid undefined shift behaviour.
48342         Correct normalisation of low mantissa when low double is denormal.
48343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48344         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48345         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48346         Correct normalisation of low mantissa.  Test for overflow of high
48347         mantissa and normalise.
48348         (ldbl_nearbyint): Use more readable constant for two52.
48349         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48350         (__mpn_construct_long_double): Fix test for overflow of high
48351         mantissa and correct normalisation.  Avoid undefined shift.
48353 2013-10-04  Alan Modra  <amodra@gmail.com>
48355         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48356         (union ibm_extended_long_double): Define as an array of ieee754_double.
48357         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48358         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48359         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48360         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48362         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48364         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48366         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48367         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48369 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48371         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48372         page size instead of calling getpagesize.
48374         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48375         (LOCFILE_ALIGN_MASK): Likewise.
48376         (LOCFILE_ALIGN_UP): Likewise.
48377         (LOCFILE_ALIGNED_P): Likewise.
48378         * locale/programs/ld-collate.c (collate_output): Use the new
48379         macros instead of __alignof__ (int32_t).
48380         * locale/weight.h (findidx): Likewise.
48382 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48384         [BZ #431]
48385         * manual/string.texi: Fix strncat and wcsncat.
48387 2013-10-03  Brooks Moses  <bmoses@google.com>
48389         [BZ #15915]
48390         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48391         * Makerules: ...here, and adjust associated comments.
48393 2013-10-02  Will Newton  <will.newton@linaro.org>
48395         * malloc/Makefile: Add tst-pvalloc.
48396         * malloc/tst-pvalloc.c: New file.
48398 2013-10-02  Will Newton  <will.newton@linaro.org>
48400         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48401         improve test coverage.
48403 2013-10-02  Will Newton  <will.newton@linaro.org>
48405         * malloc/Makefile: Add tst-posix_memalign.
48406         * malloc/tst-posix_memalign.c: New file.
48408 2013-10-01  Eric Blake  <eblake@redhat.com>
48410         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48411         Use __THROWNL rather than __THROW on static functions.
48413 2013-09-30  Petr Machata  <pmachata@redhat.com>
48415         * elf/elf.h (R_AARCH64_ABS16): New macro.
48416         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48417         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48418         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48419         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48420         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48421         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48422         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48423         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48424         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48425         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48426         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48427         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48428         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48429         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48430         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48431         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48432         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48433         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48434         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48435         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48436         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48437         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48438         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48439         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48440         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48441         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48442         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48443         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48444         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48445         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48446         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48447         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48448         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48449         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48450         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48451         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48452         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48453         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48454         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48455         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48456         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48457         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48458         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48459         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48460         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48461         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48462         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48463         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48464         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48465         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48466         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48467         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48468         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48469         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48470         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48471         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48472         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48473         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48474         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48475         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48476         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48477         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48478         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48479         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48480         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48481         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48482         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48483         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48484         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48485         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48486         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48487         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48488         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48489         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48490         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48491         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48492         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48493         (R_AARCH64_TLSDESC_LDR): Likewise.
48494         (R_AARCH64_TLSDESC_ADD): Likewise.
48495         (R_AARCH64_TLSDESC_CALL): Likewise.
48497 2013-09-30  Andreas Schwab  <schwab@suse.de>
48499         [BZ #15048]
48500         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48501         the nss database lookup.
48502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48505 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48507         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48509 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48512         ${Bash-specific parameter/pattern/string} parameter expansion.
48513         * sysdeps/unix/make-syscalls.sh: Likewise.
48515 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48517         * sysdeps/sh/stackguard-macros.h: New file.
48519 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48523         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48524         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48525         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48526         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48528 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48530         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48531         Fix thread ID register.
48533 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48535         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48536         [POSIX || UNIX98]: Require rather than permitting all symbols from
48537         <time.h>.
48538         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48539         element of struct sched_param.
48540         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48541         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48542         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48543         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48544         constant.
48546 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48548         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48549         argument calculation.
48551 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48553         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48554         Expect macro.
48555         [POSIX] (pthread_attr_t): Do not require type.
48556         [POSIX] (pthread_cond_t): Likewise.
48557         [POSIX] (pthread_condattr_t): Likewise.
48558         [POSIX] (pthread_key_t): Likewise.
48559         [POSIX] (pthread_mutex_t): Likewise.
48560         [POSIX] (pthread_mutexattr_t): Likewise.
48561         [POSIX] (pthread_once_t): Likewise.
48562         [POSIX] (pthread_t): Likewise.
48563         [POSIX-based standards] (pthread_atfork): Expect function.
48565 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48566             Richard Sandiford  <richard@codesourcery.com>
48568         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48569         (swap_endianness_p): New extern variable.
48570         (set_big_endian): New inline function.
48571         (maybe_swap_uint32): Likewise.
48572         (maybe_swap_uint32_array): Likewise.
48573         (maybe_swap_uint32_obstack): Likewise.
48574         * locale/programs/locfile.c: Include <stdbool.h>.
48575         (swap_endianness_p): New variable.
48576         (add_locale_uint32): Call maybe_swap_uint32.
48577         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48578         (write_locale_data): Call maybe_swap_uint32_array.
48579         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48580         maybe_swap_uint32.
48581         (obstack_int32_grow_fast): Likewise.
48582         (output_weightwc): Call maybe_swap_uint32_obstack.
48583         (collate_output): Likewise.
48584         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48585         (OPT_LITTLE_ENDIAN): Likewise.
48586         (options): Add --little-endian and --big-endian options.
48587         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48588         * locale/programs/locarchive.c: Include "locfile.h".
48589         (GET): New macro.
48590         (SET): Likewise.
48591         (INC): Likewise.
48592         (create_archive): Use the new macros to access fields of
48593         structures directly mapped from or written to locale archives.
48594         (oldlocrecentcmp): Likewise.
48595         (enlarge_archive): Likewise.
48596         (insert_name): Likewise.
48597         (add_alias): Likewise.
48598         (add_locale): Likewise.
48599         (delete_locales_from_archive): Likewise.
48600         (show_archive_content): Likewise.
48601         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48602         locale data.
48604 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48606         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48607         http://www.gnu.org/doc/freemanuals.texi.
48608         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48610 2013-09-24  Will Newton  <will.newton@linaro.org>
48612         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48613         macro.
48615 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48617         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48618         unsigned char.
48620 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48622         * manual/threads.texi (POSIX Threads): Fix a typo.
48624 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48626         [BZ #14547]
48627         * string/tst-strcoll-overflow.c: New test case.
48628         * string/Makefile (xtests): Add tst-strcoll-overflow.
48629         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48630         cache if string sizes may cause integer overflow.
48632         [BZ #14547]
48633         * string/strcoll_l.c (coll_seq): New members rule, idx,
48634         save_idx and back_us.
48635         (get_next_seq_nocache): New function.
48636         (do_compare_nocache): New function.
48637         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48638         when malloc fails.
48640 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48642         [BZ #15754]
48643         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48644         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48645         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48647         [BZ #15754]
48648         * elf/Makefile (tests): Add tst-ptrguard1.
48649         (tests-static): Add tst-ptrguard1-static.
48650         (tst-ptrguard1-ARGS): Define.
48651         (tst-ptrguard1-static-ARGS): Define.
48652         * elf/tst-ptrguard1.c: New file.
48653         * elf/tst-ptrguard1-static.c: New file.
48654         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48655         * sysdeps/i386/stackguard-macros.h: Likewise.
48656         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48657         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48658         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48659         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48660         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48661         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48663 2013-09-23  Hector Marco  <hecmargi@upv.es>
48664             Ismael Ripoll  <iripoll@disca.upv.es>
48665             Carlos O'Donell  <carlos@redhat.com>
48667         [BZ #15754]
48668         * sysdeps/generic/stackguard-macros.h: Define
48669         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48670         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48671         Define __pointer_chk_guard_local.
48672         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48673         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48675 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48677         [BZ #15859]
48678         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48680 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48682         * include/string.h (__ffs): Declare as hidden.
48683         * string/ffs.c (__ffs): Define as hidden.
48684         * sysdeps/i386/ffs.c (__ffs): Likewise.
48685         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48686         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48687         * sysdeps/s390/ffs.c (__ffs): Likewise.
48688         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48690 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48692         * NEWS: Mention malloc probes.
48694         * malloc/arena.c (new_heap): New memory_heap_new probe.
48695         (grow_heap): New memory_heap_more probe.
48696         (shrink_heap): New memory_heap_less probe.
48697         (heap_trim): New memory_heap_free probe.
48698         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48699         (systrim): New memory_sbrk_less probe.
48700         * manual/probes.texi: Document them.
48702         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48703         * manual/probes.texi: Document it.
48705         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48706         (__libc_realloc): Add memory_realloc_retry probe.
48707         (__libc_memalign): Add memory_memalign_retry probe.
48708         (__libc_valloc): Add memory_valloc_retry probe.
48709         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48710         (__libc_calloc): Add memory_calloc_retry probe.
48711         * manual/probes.texi: Document them.
48713         * malloc/arena.c (get_free_list): Add probe
48714         memory_arena_reuse_free_list.
48715         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48716         and memory_arena_reuse.
48717         (arena_get2) [!PER_THREAD]: Likewise.
48718         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48719         memory_arena_reuse_realloc.
48720         * manual/probes.texi: Document them.
48722         * malloc/malloc.c (__libc_free): Add
48723         memory_mallopt_free_dyn_thresholds probe.
48724         (__libc_mallopt): Add multiple memory_mallopt probes.
48725         * manual/probes.texi: Document them.
48727         * malloc/malloc.c: Include stap-probe.h.
48728         (__libc_mallopt): Add memory_mallopt probe.
48729         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48730         * manual/probes.texi: New.
48731         * manual/Makefile (chapters): Add probes.
48732         * manual/threads.texi: Set next node.
48734 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48736         [BZ #15963, #13985]
48737         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48738         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48739         Add `Chinese' to `nan' entry name.
48741 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48743         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48744         (POLYNOMIAL): Likewise.
48745         (TAYLOR_SINCOS): Likewise.
48746         (TAYLOR_SLOW): Likewise.
48747         (__sin): Use TAYLOR_SINCOS.
48748         (__cos): Likewise.
48749         (slow): Use TAYLOR_SLOW.
48750         (sloww): Likewise.
48751         (bsloww): Likewise.
48752         (csloww): Likewise.
48754 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48756         * stdlib/strtod_l.c: Fix buffer overrun.
48758 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48760         * benchtests/Makefile (bench): Add sincos.
48761         * benchtests/bench-sincos.c: New file.
48763         * math/libm-test.inc (cos_test_data): New test inputs.
48764         (sin_test_data): Likewise.
48766         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48767         macro.
48768         (__sin): Use it.
48769         (__cos): Likewise.
48770         (slow1): Likewise.
48771         (slow2): Likewise.
48772         (sloww1): Likewise.
48773         (sloww2): Likewise.
48774         (bsloww1): Likewise.
48775         (bsloww2): Likewise.
48776         (cslow2): Likewise.
48777         (csloww1): Likewise.
48778         (csloww2): Likewise.
48780         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48781         function.
48782         (__sin): Use it.
48783         (__cos): Likewise.
48785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48786         gotos.
48787         (__cos): Likewise.
48789 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48791         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48792         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48793         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48794         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48795         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48796         * elf/cache.c (print_entry): Handle the new cache flags.
48798 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48799             Aldy Hernandez  <aldyh@redhat.com>
48801         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48802         Change condition to [_SOFT_FLOAT].
48803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48815         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48818         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48819         declaration.
48821 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48823         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48824         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48825         (__longjmp): Use LOAD_GP to load saved GPRs.
48826         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48827         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48828         (__sigsetjmp): Use SAVE_GP to save GPRs.
48830         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48831         Do not append -msoft-float.
48832         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48834 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48836         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48838 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48840         [BZ #15966]
48841         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48842         (_FPU_GETCW): Use initial "__" on variable and field names but not
48843         on macro parameter name.
48844         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48845         parentheses around reference to macro parameter.
48847 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48849         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48850         prototype.
48851         (ctype_startup): Use uint32_t in cast and sizeof for
48852         ctype->charnames.
48854 2013-09-11  Jia Liu  <proljc@gmail.com>
48856         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48857         __daddr_t_defined.
48858         [__FreeBSD__]: Likewise.
48860 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48863         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48864         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48865         (strchr): Remove __strchr_sse42 ifunc selection.
48866         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48867         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48869 2013-09-11  Will Newton  <will.newton@linaro.org>
48871         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48872         parameter to RES. Remove hardcoded 1000 value.
48873         * benchtests/bench-skeleton.c (main): Pass RES parameter
48874         to TIMING_INIT and multiply result by 1000.
48876 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48880 2013-09-11  Andreas Schwab  <schwab@suse.de>
48882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48883         if not defined.
48884         (O_TMPFILE) [__USE_GNU]: Define.
48885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48886         Define.
48888 2013-09-11  Will Newton  <will.newton@linaro.org>
48890         [BZ #15857]
48891         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48892         does not overflow.
48894 2013-09-11  Will Newton  <will.newton@linaro.org>
48896         [BZ #15856]
48897         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48898         does not overflow.
48900 2013-09-11  Will Newton  <will.newton@linaro.org>
48902         [BZ #15855]
48903         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48904         does not overflow.
48906 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48908         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48909         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48914 2013-09-10  Allan McRae  <allan@archlinux.org>
48916         [BZ #15748]
48917         * manual/arith.texi (Parsing of Floats): Clarify
48918         cross-reference.
48920         [BZ #15849]
48921         * manual/install.texi (Running make install): Mention
48922         --enable-pt-chown.
48923         * INSTALL: Regenerated.
48925 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48927         * csu/init-first.c (_init): Remove the !SHARED condition around
48928         FPU control word initialization.
48929         * elf/dl-support.c (_dl_fpu_control): New variable.
48930         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48931         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48932         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48933         * math/test-fpucw-static.c: New file.
48934         * math/test-fpucw-ieee.c: New file.
48935         * math/test-fpucw-ieee-static.c: New file.
48936         * math/Makefile (tests): Add `test-fpucw-ieee' and
48937         `$(tests-static)'.
48938         (tests-static): New variable.
48939         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48940         dependency to...
48941         [($(build-shared),yes)]
48942         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48943         ... this.
48944         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48945         New dependency.
48947 2013-09-09  Allan McRae  <allan@archlinux.org>
48949         [BZ #15939]
48950         * manual/string.texi (Collation Functions): Fix typo in
48951         strcoll example.
48952         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48954         [BZ #15893]
48955         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48957         [BZ #15892]
48958         * libio/memstream.c (open_memstream): Fix memory leak.
48959         * libio/wmemstream.c (open_wmemstream): Likewise.
48961         [BZ #15895]
48962         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48964 2013-09-09  Will Newton  <will.newton@linaro.org>
48966         * malloc/Makefile: Add tst-realloc to tests.
48967         * malloc/tst-realloc.c: New file.
48969 2013-09-09  Allan McRae  <allan@archlinux.org>
48971         [BZ #15844]
48972         * COPYING: Update from GNU website to fix FSF address.
48973         * COPYING.LIB: Likewise.
48975 2013-09-06  David S. Miller  <davem@davemloft.net>
48977         * po/zh_TW.po: Update Chinese (traditional) translation from
48978         translation project.
48980 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48981             Joseph Myers  <joseph@codesourcery.com>
48983         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48984         "localeinfo.h".
48985         (obstack_chunk_alloc): New macro.
48986         (obstack_chunk_free): Likewise.
48987         (record_offset): New function.
48988         (init_locale_data): Likewise.
48989         (align_locale_data): Likewise.
48990         (add_locale_empty): Likewise.
48991         (add_locale_raw_data): Likewise.
48992         (add_locale_raw_obstack): Likewise.
48993         (add_locale_string): Likewise.
48994         (add_locale_wstring): Likewise.
48995         (add_locale_uint32): Likewise.
48996         (add_locale_uint32_array): Likewise.
48997         (add_locale_char): Likewise.
48998         (start_locale_structure): Likewise.
48999         (end_locale_structure): Likewise.
49000         (start_locale_prelude): Likewise.
49001         (end_locale_prelude): Likewise.
49002         (write_locale_data): Take locale_file structure rather than an
49003         iovec.
49004         * locale/programs/locfile.h: Include "obstack.h".
49005         (struct locale_file): Change to store locale file contents instead
49006         of header.
49007         (init_locale_data): New prototype.
49008         (align_locale_data): Likewise.
49009         (add_locale_empty): Likewise.
49010         (add_locale_raw_data): Likewise.
49011         (add_locale_raw_obstack): Likewise.
49012         (add_locale_string): Likewise.
49013         (add_locale_wstring): Likewise.
49014         (add_locale_uint32): Likewise.
49015         (add_locale_uint32_array): Likewise.
49016         (add_locale_char): Likewise.
49017         (start_locale_structure): Likewise.
49018         (end_locale_structure): Likewise.
49019         (start_locale_prelude): Likewise.
49020         (end_locale_prelude): Likewise.
49021         (write_locale_data): Update prototype.
49022         * locale/programs/3level.h (struct TABLE): Remove result field.
49023         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49024         Use new locale_file interface.
49025         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49026         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49027         * locale/programs/ld-address.c (address_output): Use new
49028         locale_file interface.
49029         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49030         NO_ADD_LOCALE.
49031         (collate_finish): Don't call collseq_table_finalize.
49032         (collate_output): Use new locale_file interface.
49033         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49034         in file.
49035         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49036         (TABLE): Move defines earlier in file.
49037         (ELEMENT): Likewise.
49038         (DEFAULT): Likewise.
49039         (wctrans_table_add): Move macro and inline function earlier in
49040         file.
49041         (struct wctype_table): Move type earlier in file.
49042         (add_locale_wctype_table): New static prototype.
49043         (struct locale_ctype_t): Use logical types instead of struct iovec
49044         pointers for members.
49045         (ctype_output): Use new locale_file interface.
49046         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49047         new locale_file interface.
49048         (allocate_arrays): Update for use of new locale_file interface.
49049         * locale/programs/ld-identification.c (identification_output): Use
49050         new locale_file interface.
49051         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49052         * locale/programs/ld-messages.c (messages_output): Likewise.
49053         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49054         * locale/programs/ld-name.c (name_output): Likewise.
49055         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49056         * locale/programs/ld-paper.c (paper_output): Likewise.
49057         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49058         * locale/programs/ld-time.c (time_output): Likewise.
49060 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49062         * benchtests/Makefile: Add memrchr benchmark.
49063         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49064         benchmark as memrchr.
49065         * benchtests/bench-memrchr-ifunc.c: New file.
49066         * benchtests/bench-memrchr.c: New file.
49068 2013-09-06   Will Newton  <will.newton@linaro.org>
49070         * benchtests/Makefile (string-bench): Add memcpy.
49072 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49073             Cong Wang  <amwang@redhat.com>
49075         [BZ #15850]
49076         * sysdeps/unix/sysv/linux/bits/in.h
49077         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49078         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49079         before __USE_KERNEL_IPV6_DEFS uses.
49080         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49081         IPPROTO_BEETPH.
49082         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49083         sockaddr_in6, or ipv6_mreq.
49085 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49087         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49088         memory access for final bytes in some large inputs.
49089         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49091 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49093         * string/test-memrchr.c: New file.
49094         * string/test-memrchr-ifunc.c: New file.
49095         * string/Makefile: Add new memrchr testcase.
49097 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49099         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49100         fanotify_init returns EPERM.
49102 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49104         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49105         errors.
49106         (top level): Treat second token from macro or constant entries for
49107         allowed headers as allowed.
49108         * include/complex.h: Condition internal declarations on
49109         [!_ISOMAC].
49110         * include/fenv.h: Condition include of <stdbool.h> and internal
49111         declarations on [!_ISOMAC].
49113 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49115         [BZ #15923]
49116         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49118 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49120         * configure.in (--enable-versioning): Remove configure option.
49121         (libc_cv_asm_symver_directive): Remove configure test.
49122         (libc_cv_ld_version_script_option): Likewise.
49123         (VERSIONING): Remove variable and AC_SUBST.
49124         (DO_VERSIONING): Remove AC_DEFINE.
49125         * configure: Regenerated.
49126         * config.h.in (DO_VERSIONING): Remove macro.
49127         * Makerules [$(versioning) = yes]: Change conditionals to
49128         [$(build-shared) = yes].
49129         * config.make.in (versioning): Remove variable.
49130         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49131         [$(build-shared) = yes].
49132         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49133         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49134         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49135         [$(build-shared) = yes].
49136         * extra-lib.mk [$(versioning) = yes]: Likewise.
49137         * hurd/Makefile [$(versioning) = yes]: Likewise.
49138         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49139         [SHARED].
49140         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49141         [SHARED].
49142         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49143         [SHARED && !NO_HIDDEN].
49144         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49145         [SHARED].
49146         [SHARED && DO_VERSIONING]: Likewise..
49147         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49148         [$(build-shared) = yes].
49149         * manual/install.texi (--disable-versioning): Remove
49150         documentation.
49151         * INSTALL: Regenerated.
49152         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49153         to [SHARED].
49154         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49155         [$(build-shared) = yes].
49156         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49157         * sysdeps/i386/i686/multiarch/strstr-c.c
49158         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49159         [SHARED && !NO_HIDDEN].
49160         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49161         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49162         * sysdeps/powerpc/powerpc32/dl-machine.c
49163         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49164         * sysdeps/powerpc/powerpc32/sysdep.h
49165         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49166         to [SHARED && PIC && !NO_HIDDEN].
49167         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49168         conditional to [SHARED].
49170 2013-09-04   Will Newton  <will.newton@linaro.org>
49172         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49173         * benchtests/bench-string.h: Include bench-timing.h instead
49174         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49175         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49176         call to HP_TIMING_DIFF_INIT.
49177         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49178         instead of hp-timing.h macros.
49179         * benchtests/bench-memchr.c: Likewise.
49180         * benchtests/bench-memcmp.c: Likewise.
49181         * benchtests/bench-memcpy.c: Likewise.
49182         * benchtests/bench-memmem.c: Likewise.
49183         * benchtests/bench-memmove.c: Likewise.
49184         * benchtests/bench-memset.c: Likewise.
49185         * benchtests/bench-rawmemchr.c: Likewise.
49186         * benchtests/bench-strcasecmp.c: Likewise.
49187         * benchtests/bench-strcasestr.c: Likewise.
49188         * benchtests/bench-strcat.c: Likewise.
49189         * benchtests/bench-strchr.c: Likewise.
49190         * benchtests/bench-strcmp.c: Likewise.
49191         * benchtests/bench-strcpy.c: Likewise.
49192         * benchtests/bench-strcpy_chk.c: Likewise.
49193         * benchtests/bench-strlen.c: Likewise.
49194         * benchtests/bench-strncasecmp.c: Likewise.
49195         * benchtests/bench-strncat.c: Likewise.
49196         * benchtests/bench-strncmp.c: Likewise.
49197         * benchtests/bench-strncpy.c: Likewise.
49198         * benchtests/bench-strnlen.c: Likewise.
49199         * benchtests/bench-strpbrk.c: Likewise.
49200         * benchtests/bench-strrchr.c: Likewise.
49201         * benchtests/bench-strspn.c: Likewise.
49202         * benchtests/bench-strstr.c: Likewise.
49204 2013-09-04  Will Newton  <will.newton@linaro.org>
49206         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49208 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49210         [BZ #15427]
49211         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49212         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49213         * math/libm-test.inc (lgamma_test_data): Add more tests.
49214         * sysdeps/i386/fpu/libm-test-ulps: Update.
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49219         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49221         Add ifunc.
49222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49223         Add strcmp-sse2-unaligned
49224         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49226 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49228         * Versions.def (libc): Add GLIBC_2.19.
49230 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49232         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49233         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49235 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49237         [BZ #14155]
49238         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49239         intermediate calculations in recurrence.
49240         (__ieee754_ynf): Likewise.
49241         * math/libm-test.inc (jn_test_data): Do not allow spurious
49242         underflow exception.  Add more tests.
49243         (yn_test_data): Add more tests.
49244         * sysdeps/i386/fpu/libm-test-ulps: Update.
49245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49247 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49251 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49253         * csu/init-first.c: Fix then/than typos.
49254         * locale/programs/ld-collate.c: Likewise.
49255         * locale/programs/linereader.h: Likewise.
49256         * manual/charset.texi: Likewise.
49257         * manual/filesys.texi: Likewise.
49258         * manual/stdio.texi: Likewise.
49259         * manual/string.texi: Likewise.
49260         * stdlib/fmtmsg.c: Likewise.
49261         * sysdeps/i386/stpncpy.S: Likewise.
49262         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49263         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49264         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49265         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49267 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49269         * elf/dl-open.c: Fix typos.
49270         * iconvdata/gbbig5.c: Likewise.
49271         * iconvdata/iso-2022-jp.c: Likewise.
49272         * iconv/gconv_int.h: Likewise.
49273         * iconv/loop.c: Likewise.
49274         * nis/rpcsvc/nis.h: Likewise.
49275         * resolv/ns_name.c: Likewise.
49276         * stdio-common/vfscanf.c: Likewise.
49277         * streams/stropts.h: Likewise.
49278         * sunrpc/rpc_thread.c: Likewise.
49279         * sysdeps/i386/strpbrk.S: Likewise.
49280         * sysdeps/ieee754/k_standard.c: Likewise.
49281         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49283         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49284         * sysdeps/mach/hurd/profil.c: Likewise.
49285         * sysdeps/s390/dl-procinfo.h: Likewise.
49286         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49287         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49288         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49289         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49290         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49292 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49294         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49297 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49299         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49300         aix specific files.
49301         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49302         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49303         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49304         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49305         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49306         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49307         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49308         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49310 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49311             Roland McGrath  <roland@hack.frob.com>
49313         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49314         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49316 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49318         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49319         __executable_start symbol instead of _start.
49321 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49323         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49324         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49325         Move macros to...
49326         * sysdeps/gnu/ldsodefs.h: ... this new file.
49328         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49329         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49330         instead of ELFOSABI_LINUX.
49332         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49333         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49334         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49335         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49336         Likewise.
49337         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49338         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49339         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49340         Likewise.
49341         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49342         (ibm_extended_long_double): Add ieee_nan member.
49343         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49344         (do_test): New function.
49346         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49347         TEST_TRUNC.
49348         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49349         functions, renamed from truncdfsf_test, trunctfsf_test,
49350         trunctfdf_test.
49351         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49352         functions.
49353         (do_test): Run all these.
49355 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49357         * argp/argp-help.c: Fix typos.
49358         * argp/argp-parse.c: Likewise.
49359         * debug/backtracesyms.c: Likewise.
49360         * elf/elf.h: Likewise.
49361         * malloc/malloc.c: Likewise.
49362         * nis/nis_print.c: Likewise.
49363         * resolv/res_comp.c: Likewise.
49364         * stdlib/stdlib.h: Likewise.
49365         * sunrpc/clnt_tcp.c: Likewise.
49366         * sunrpc/clnt_udp.c: Likewise.
49367         * sunrpc/clnt_unix.c: Likewise.
49368         * sysdeps/unix/bsd/ptsname.c: Likewise.
49369         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49370         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49372         Likewise.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49374         Likewise.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49376         Likewise.
49377         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49379 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49381         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49384 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49386         [BZ #15897]
49387         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49388         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49389         ($(objpfx)bug-dl-leaf): New rule.
49390         ($(objpfx)bug-dl-leaf.so): Likewise.
49391         ($(objpfx)bug-dl-leaf.out): Likewise.
49392         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49393         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49394         * dlfcn/bug-dl-leaf.c: New test.
49395         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49396         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49397         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49398         (dlclose): Likewise.
49399         (dlmopen): Likewise.
49401 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49403         * include/netdb.h [!_ISOMAC]:
49404         Don't include <tls.h>.
49405         (h_errno, __libc_h_errno): Move declaration and macros out of
49406         [_LIBC_REENTRANT].
49408         * include/resolv.h [_RESOLV_H_]:
49409         Don't include <tls.h>.
49410         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49411         * resolv/res_libc.c: Don't include <tls.h>.
49412         (_res): Use __attribute__ ((nocommon)) in place of
49413         __attribute__ ((section (".bss"))).
49415         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49416         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49418         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49420         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49421         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49423         * resolv/res_mkquery.c: Include <sys/time.h>.
49425         * inet/ifreq.c: Moved to ...
49426         * sysdeps/unix/ifreq.c: ... here.
49427         * inet/ifreq.c: New file, true stub version.
49429         * socket/sa_len.c: New file.
49430         * socket/Makefile (aux): Add it.
49431         * sysdeps/unix/sysv/linux/Makefile
49432         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49433         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49434         and #include <socket/sa_len.c>.
49435         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49436         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49438         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49439         * bits/socket.h: ... here.
49441         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49442         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49443         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49445 2013-08-27  Andreas Schwab  <schwab@suse.de>
49447         [BZ #15736]
49448         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49449         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49450         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49451         * string/test-strcasecmp.c (test_main): Run tests in several
49452         locales.
49453         * string/test-strncasecmp.c (test_main): Likewise.
49455         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49456         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49457         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49458         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49459         (__strncasecmp_ssse3) [PIC]: Likewise.
49461 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49463         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49465         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49466         instead of explicitly declaring xdecrypt.
49467         * nis/nss_nis/nis-publickey.c: Likewise.
49469 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49471         [BZ #15890]
49472         * nscd/aicache.c: Include res_hconf.h.
49473         (addhstaiX): Initialize res_hconf.
49475 2013-08-26  Andreas Schwab  <schwab@suse.de>
49477         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49478         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49480 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49482         * nscd/aicache.c (addhstaiX): Fix indentation.
49484 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49486         * configure.ac: Quote $build_pt_chown test.
49487         * configure: Regenerated.
49489 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49491         [BZ #15532]
49492         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49493         * math/s_cexpf.c (__cexpf): Likewise.
49494         * math/s_cexpl.c (__cexpl): Likewise.
49495         * math/libm-test.inc (cexp_test_data): Correct expected return
49496         value for NaN + i0.  Add another test.
49498 2013-08-22  David S. Miller  <davem@davemloft.net>
49500         * po/ca.po: Update Catalan translation from translation project.
49501         * po/uk.po: Add Ukrainian translations from translation project.
49503 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49505         [BZ #15797]
49506         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49507         is infinite, not alongside NaN test.
49508         * math/s_fdimf.c (__fdimf): Likewise.
49509         * math/s_fdiml.c (__fdiml): Likewise.
49510         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49511         errno is unchanged.
49513 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49515         * argp/argp-help.c: Fix typos.
49516         * crypt/speeds.c: Likewise.
49517         * csu/check_fds.c: Likewise.
49518         * elf/dl-load.c: Likewise.
49519         * elf/dl-open.c: Likewise.
49520         * elf/reldep3.c: Likewise.
49521         * elf/reldep.c: Likewise.
49522         * elf/sprof.c: Likewise.
49523         * iconv/iconv_charmap.c: Likewise.
49524         * iconv/skeleton.c: Likewise.
49525         * iconv/strtab.c: Likewise.
49526         * io/lockf64.c: Likewise.
49527         * libio/libioP.h: Likewise.
49528         * resolv/gai_notify.c: Likewise.
49529         * resolv/ns_name.c: Likewise.
49530         * resolv/ns_samedomain.c: Likewise.
49531         * resolv/res_send.c: Likewise.
49532         * stdlib/random.c: Likewise.
49533         * sunrpc/rpc/xdr.h: Likewise.
49534         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49535         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49536         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49537         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49538         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49539         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49540         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49541         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49542         * sysdeps/mach/hurd/check_fds.c: Likewise.
49543         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49544         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49545         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49546         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49547         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49548         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49549         * sysdeps/pthread/aio_notify.c: Likewise.
49550         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49551         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49552         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49553         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49554         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49556 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49558         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49559         version if bit_Slow_SSE4_2 is set.
49560         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49561         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49563 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49565         [BZ #15867]
49566         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49567         trampoline stack frame information.
49568         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49569         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49570         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49571         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49572         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49573         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49574         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49575         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49576         sa_flags value.
49577         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49578         interrupting a syscall and set with option SA_SIGINFO.
49580 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49582         [BZ #15531]
49583         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49584         argument is infinite.
49585         * math/s_cprojf.c (__cprojf): Likewise.
49586         * math/s_cprojl.c (__cprojl): Likewise.
49587         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49588         * math/libm-test.inc (cproj_test_data): Add more tests.
49590         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49592         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49593         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49594         size.  Use __ffs to determine corresponding shift.
49596 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49597             Roland McGrath  <roland@hack.frob.com>
49599         * Makefile (INSTALL): Remove trailing blank lines from output of
49600         makeinfo.
49602 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49604         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49605         Align 32 bit compat elf_greg to 8 bytes.
49607 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49609         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49611 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49613         * string/strcoll_l.c (coll_seq): New structure.
49614         (get_next_seq_cached): New function.
49615         (get_next_seq): New function.
49616         (do_compare): New function.
49617         (STRCOLL): Use GNU style definition.  Simplify implementation
49618         by using get_next_seq, get_next_seq_cached and do_compare.
49620 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49622         [BZ #14699]
49623         CVE-2013-4237
49624         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49625         member.
49626         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49627         member.
49628         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49629         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49630         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49631         conditional.
49632         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49633         GETDENTS_64BIT_ALIGNED.
49634         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49635         * manual/filesys.texi (Reading/Closing Directory): Document
49636         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49637         strongly.
49638         * manual/conf.texi (Limits for Files): Add portability note to
49639         NAME_MAX, PATH_MAX.
49640         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49642 2013-08-13  Andreas Schwab  <schwab@suse.de>
49644         [BZ #15749]
49645         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49646         of fabs.
49647         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49648         LDBL_MAX_EXP >= 16384]: Add tests for it.
49650 2013-08-12  David S. Miller  <davem@davemloft.net>
49652         * version.h (RELEASE): Set to "development".
49653         (VERSION): Set to "2.18.90".
49654         * NEWS: Add 2.19 section.
49656 2013-08-03  David S. Miller  <davem@davemloft.net>
49658         * po/ko.po: Update Korean translation from translation project.
49660 2013-08-01  David S. Miller  <davem@davemloft.net>
49662         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49663         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49664         Bilka.
49666 2013-07-30  David S. Miller  <davem@davemloft.net>
49668         * po/fr.po: Update French translation from translation project.
49670 2013-07-28  David S. Miller  <davem@davemloft.net>
49672         * po/cs.po: Update Czech translation from translation project.
49674         * po/sv.po: Update Swedish translation from translation project.
49676 2013-07-27  David S. Miller  <davem@davemloft.net>
49678         * po/eo.po: Update Esperanto translation from translation project.
49680         * po/vi.po: Update Vietnamese translation from translation project.
49682         * po/de.po: Update German translation from translation project.
49684 2013-07-26  David S. Miller  <davem@davemloft.net>
49686         * po/bg.po: Update Bulgarian translation from translation project.
49688         * po/nl.po: Update Dutch translation from translation project.
49689         * po/pl.po: Update Polish translation from translation project.
49690         * po/ru.po: Update Russian translation from translation project.
49692 2013-07-24  David S. Miller  <davem@davemloft.net>
49694         * po/libc.pot: Update.
49696 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49698         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49699         variable page size.
49700         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49701         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49702         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49704 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49706         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49708 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49709             Andreas Schwab  <schwab@suse.de>
49710             Roland McGrath  <roland@hack.frob.com>
49711             Joseph Myers  <joseph@codesourcery.com>
49712             Carlos O'Donell  <carlos@redhat.com>
49714         [BZ #15755]
49715         * config.h.in: Define HAVE_PT_CHOWN.
49716         * config.make.in (build-pt-chown): New variable.
49717         * configure.in (--enable-pt_chown): New configure option.
49718         * configure: Regenerate.
49719         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49720         build-pt-chown is enabled.
49721         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49722         pt_chown to fix pty ownership.
49723         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49724         CLOSE_ALL_FDS.
49725         * manual/install.texi (Configuring and compiling): Mention
49726         --enable-pt_chown. Add @findex for grantpt.
49727         * INSTALL: Regenerate.
49729 2013-07-20  David S. Miller  <davem@davemloft.net>
49731         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49732         difference between 32-bit and 64-bit.
49734 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49736         [BZ #15711]
49737         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49738         Avoid system header dependency with -ffreestanding.
49739         ($(objpfx)bits/syscall%d): Likewise.
49741 2013-07-13  David S. Miller  <davem@davemloft.net>
49743         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49744         underflows from atanl/atan2l due to bug 15319.
49745         (casinh_test_data): Likewise.
49747 2013-07-07  David S. Miller  <davem@davemloft.net>
49749         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49751 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49753         * sysdeps/i386/fpu/libm-test-ulps: Update.
49754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49756 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49758         * configure.in (--enable-lock-elision): Fix message text.
49759         * INSTALL: Regenerate.
49760         * configure: Regenerate.
49762 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49766 2013-07-03  Andreas Jaeger  <aj@suse.de>
49768         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49769         define.
49770         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49771         (ptrace_peeksiginfo_args): Add.
49772         (__ptrace_peeksiginfo_flags): Add.
49773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49775         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49777 2013-07-03  Allan McRae  <allan@archlinux.org>
49779         * sysdeps/i386/fpu/libm-test-ulps: Update.
49781 2013-07-02  David S. Miller  <davem@davemloft.net>
49783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49785 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49789 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49791         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49794 2013-07-02  Andi Kleen <ak@linux.intel.com>
49796         * config.h.in (ENABLE_LOCK_ELISION): Add.
49797         * configure.in (--enable-lock-elision): Add option.
49798         * manual/install.texi: Document --enable lock elision.
49799         * configure: Regenerate
49800         * INSTALL: Regenerate.
49802 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49804         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49805         SSE4.2 strcasecmp for libc.a.
49806         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49808 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49810         [BZ #13304]
49811         * soft-fp/op-common.h (_FP_FMA): New macro.
49812         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49813         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49814         (_FP_MUL_MEAT_1_imm): ... here.
49815         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49816         (_FP_MUL_MEAT_1_wide): ... here.
49817         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49818         (_FP_MUL_MEAT_1_hard): ... here.
49819         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49820         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49821         (_FP_MUL_MEAT_2_wide): ... here.
49822         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49823         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49824         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49825         (_FP_MUL_MEAT_2_gmp): ... here.
49826         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49827         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49828         (_FP_MUL_MEAT_4_wide): ... here.
49829         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49830         (_FP_MUL_MEAT_4_gmp): ... here.
49831         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49832         (_FP_WFRACBITS_DW_S): Likewise.
49833         (_FP_WFRACXBITS_DW_S): Likewise.
49834         (_FP_HIGHBIT_DW_S): Likewise.
49835         (FP_FMA_S): Likewise.
49836         (_FP_FRAC_HIGH_DW_S): Likewise.
49837         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49838         (_FP_WFRACBITS_DW_D): Likewise.
49839         (_FP_WFRACXBITS_DW_D): Likewise.
49840         (_FP_HIGHBIT_DW_D): Likewise.
49841         (FP_FMA_D): Likewise.
49842         (_FP_FRAC_HIGH_DW_D): Likewise.
49843         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49844         (_FP_WFRACBITS_DW_E): Likewise.
49845         (_FP_WFRACXBITS_DW_E): Likewise.
49846         (_FP_HIGHBIT_DW_E): Likewise.
49847         (FP_FMA_E): Likewise.
49848         (_FP_FRAC_HIGH_DW_E): Likewise.
49849         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49850         (_FP_WFRACBITS_DW_Q): Likewise.
49851         (_FP_WFRACXBITS_DW_Q): Likewise.
49852         (_FP_HIGHBIT_DW_Q): Likewise.
49853         (FP_FMA_Q): Likewise.
49854         (_FP_FRAC_HIGH_DW_Q): Likewise.
49855         * soft-fp/fmasf4.c: New file.
49856         * soft-fp/fmadf4.c: Likewise.
49857         * soft-fp/fmatf4.c: Likewise.
49859 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49862         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49863         Silvermont.
49864         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49865         macro.
49866         (index_Slow_SSE4_2): Likewise.
49867         (index_Prefer_PMINUB_for_stringop): Likewise.
49868         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49869         bit_Slow_SSE4_2 is set.
49870         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49871         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49873 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49875         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49876         rtld_global._dl_hwcap2.
49877         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49878         POWER8.
49879         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49880         POWER8 feature descriptions defined in _dl_hwcap2.
49881         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49882         string handling for POWER8 feature bits.
49883         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49884         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49885         _dl_powerpc_cap_flags.
49886         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49887         * sysdeps/powerpc/rtld-global-offsets.sym
49888         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49889         _dl_hwcap2 in the rtld_global_ro structure.
49891 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49893         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49894         hardware capabilities in support of AT_HWCAP2.
49895         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49896         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49897         GLRO(dl_hwcap2).
49898         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49899         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49900         explicitly the unknown a_type display mechanism is used.
49901         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49902         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49903         struct member.
49904         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49905         to macro prototype for AT_HWCAP2 support.
49906         * sysdeps/i386/dl-procinfo.h: Likewise.
49907         * sysdeps/s390/dl-procinfo.h: Likewise.
49908         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49909         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49910         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49911         return -1 for unknown a_type display fallback.
49912         * sysdeps/sparc/dl-procinfo.h: Likewise.
49913         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49914         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49916 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49918         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49919         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49921 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49923         [BZ #12492]
49924         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49925         mprotect making __stack_prot writable.
49927 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49928             Joseph Myers  <joseph@codesourcery.com>
49930         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49931         as being properly aligned.
49933 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49935         * dlfcn/modstatic5.c: New file.
49936         * dlfcn/tststatic5.c: New file.
49937         * dlfcn/Makefile (tests): Add tststatic5.
49938         (tests-static): Likewise.
49939         (modules-names): Add modstatic5.
49940         (tststatic5-ENV): New variable.
49941         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49943         [BZ #15022]
49944         * elf/dl-support.c (_dl_main_map): New variable.
49945         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49946         (_dl_nns, _dl_load_adds): Set to 1.
49947         (_dl_initial_searchlist): Refer to _dl_main_map.
49948         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49949         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49950         call to _dl_get_origin.
49951         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49952         around call_map.
49953         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49954         * dlfcn/modstatic3.c: New file.
49955         * dlfcn/tststatic3.c: New file.
49956         * dlfcn/tststatic4.c: New file.
49957         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49958         (tests-static): Likewise.
49959         (modules-names): Add modstatic3.
49960         (tststatic3-ENV, tststatic4-ENV): New variables.
49961         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49962         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49964 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49966         * configure.in (CC): Require GCC version 4.4 or later.
49967         * configure: Regenerated.
49968         * manual/install.texi (Tools for Compilation): Update GCC version
49969         requirement.
49970         * INSTALL: Regenerated.
49972 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49974         [BZ #15674]
49975         * string/test-memcmp.c (check2): New.
49976         (main): Call check2.
49978         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49980 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49982         [BZ #15022]
49983         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49984         over to...
49985         (dl_open_worker) [!SHARED]: ... here.
49987 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49989         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49991 2013-06-25  Richard Henderson  <rth@redhat.com>
49993         * locale/programs/locarchive.c: Include <libc-internal.h>
49995 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49997         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49998         trailing whitespace removed.
50000 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50002         [BZ #10283]
50003         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50004         * locale/programs/locarchive.c: Include libc-mmap.h.
50005         (prepare_address_space): Take two new outputs (the mmap base and len).
50006         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50007         values.
50008         (create_archive): Declare new mmap base and len values for
50009         prepare_address_space, and store the result in ah.
50010         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50011         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50012         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50013         Declare new mmap base and len values for
50014         prepare_address_space, and store the result in new_ah.
50015         (open_archive): Declare new mmap base and len values for
50016         prepare_address_space, and store the result in ah.
50017         (close_archive): If ah->mmap_base is not NULL, use that and
50018         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50019         * sysdeps/generic/libc-mmap.h: New file.
50021 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50023         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50024         (ALIGN_UP): Likewise.
50025         (PTR_ALIGN_DOWN): Likewise.
50026         (PTR_ALIGN_UP): Likewise.
50028 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50030         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50031         entry mapped to PPC_PLATFORM_POWER8.
50032         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50033         POWER8.
50034         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50035         (_dl_string_platform): Add case for exporting platform position for
50036         POWER8.
50037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50038         search path to sysdeps/powerpc/powerpc32/power8 directory.
50039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50040         search path to sysdeps/powerpc/powerpc64/power8 directory.
50041         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50042         power7 directories.
50043         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50044         power7 directories.
50046 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50048         * INSTALL: Regenerate.
50050         * nscd/connections.c (nscd_init): Fix comment.
50052 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50054         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50056         [BZ #15667]
50057         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50058         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50060 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50062         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50063         DL_DST_REQ_STATIC.
50064         (DL_DST_REQ_STATIC): Remove macro.
50066 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50068         [BZ #7006]
50069         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50070         with a shift of 0 bits.
50072 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50074         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50075         $(tststatic-ENV).
50077 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50079         [BZ #15655]
50080         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50082 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50084         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50085         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50086         accepts -fno-tree-loop-distribute-patterns.
50087         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50088         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50089         recursive call.
50090         * string/memset.c (memset): Likewise.
50091         * string/test-memmove.c (simple_memmove): Disable loop transformation
50092         to library calls.
50093         * string/test-memset.c (simple_memset): Likewise.
50094         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50095         * benchtests/bench-memset.c (simple_memset): Likewise.
50096         * configure: Regenerated.
50098 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50100         * math/test-misc.c (main): Ignore fesetround failure when failures
50101         of subsequent rounding tests would be ignored.
50103         [BZ #15654]
50104         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50105         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50106         * math/fegetenv.c (__fegetenv): Return 0.
50107         * math/fegetexcept.c (fegetexcept): Return 0.
50108         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50109         FE_TONEAREST.
50110         * math/feholdexcpt.c (feholdexcept): Return 0.
50111         * math/fesetenv.c (__fesetenv): Return 0.
50112         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50113         argument FE_TONEAREST.
50114         * math/feupdateenv.c (__feupdateenv): Return 0.
50115         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50117 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50119         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50120         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50121         ($(objpfx)rtld-%.os rules): Use them.
50123 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50125         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50126         fields.
50128 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50130         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50131         length of target pattern, then descending length of dependency pattern.
50132         * configure.in (AWK): Require gawk 3.1.2 or newer.
50133         * manual/install.texi (Tools for Compilation): Say that we do.
50134         * configure: Regenerated.
50136         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50137         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50138         * scripts/sysd-rules.awk: ... this new script.
50139         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50140         than a glob-style pattern.
50142 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50144         * math/test-misc.c (main): Do not treat incorrectly rounded
50145         conversions as failure unless ROUNDING_TESTS passes.
50147 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50149         [BZ #15631]
50150         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50151         restore exception state around main square root computation, then
50152         check for inexactness explicitly.
50154         * math/libm-test.inc (fma_test_data): Add another test.
50156 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50158         * manual/threads.texi (Non-POSIX Extensions): New document
50159         node.  Document pthread_getattr_default_np and
50160         pthread_setattr_default_np.
50162         * Versions.def (libpthread): Add GLIBC_2.18.
50163         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50165         Likewise.
50166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50167         Likewise.
50168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50169         Likewise.
50170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50171         Likewise.
50172         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50173         Likewise.
50174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50175         Likewise.
50176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50177         Likewise.
50178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50179         Likewise.
50180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50181         Likewise.
50183 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50186         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50188 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50189             H.J. Lu  <hjl.tools@gmail.com>
50191         [BZ #15627]
50192         * sysdeps/x86_64/rtld-memset.c: Remove file.
50193         * sysdeps/x86_64/rtld-memset.S: New file.
50195 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50197         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50198         (test_in_one_mode): Take arguments for whether the rounding mode
50199         is supported for each floating-point type.
50200         (do_test): Pass new arguments to test_in_one_mode using
50201         ROUNDING_TESTS.
50203 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50205         * posix/tst-waitid.c (do_test): Distinguish different instances of
50206         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50207         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50208         before entering the kernel for waitpid.
50210 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50212         * NEWS: Fix note on clock function precision.  Text by Roland
50213         McGrath.
50215 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50217         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50218         it into place only when and if the sanity check passes.
50220 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50222         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50223         output for whether conversion result is exact.  Take argument
50224         indicating whether type is IBM long double.
50225         (round_for_all): Change need_exact field to ibm_ld.
50226         * stdlib/tst-strtod-round.c (struct exactness): New type.
50227         (struct test): Change bool ld_ok field to struct exactness exact.
50228         (TEST): Update all definitions for change to field.
50229         (tests): Regenerate array contents.
50230         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50231         field value.  Check for IBM long double here.
50232         (do_test): Update calls to test_in_one_mode.
50234 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50236         [BZ #12515]
50237         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50238         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50240 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50242         [BZ #15605]
50243         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50244         generated by the compiler on loop optimizations.
50245         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50246         general definitions.
50248 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50250         * math/bug-nextafter.c: Include <math-tests.h>.
50251         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50252         the relevant type.
50253         * math/bug-nexttoward.c: Include <math-tests.h>.
50254         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50255         the relevant type.
50256         * math/test-misc.c: Include <math-tests.h>.
50257         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50258         the relevant type.
50260 2013-06-12  Andreas Jaeger  <aj@suse.de>
50262         * po/ia.po: Update Interlingua translation from translation
50263         project.
50265 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50267         * include/fenv.h: Include stdbool.h.
50268         (struct rm_ctx): New structure.
50269         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50270         Define macro.
50271         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50272         (SET_RESTORE_ROUNDF): Likewise.
50273         (SET_RESTORE_ROUNDL): Likewise.
50274         (SET_RESTORE_ROUND_NOEX): Likewise.
50275         (SET_RESTORE_ROUND_NOEXF): Likewise.
50276         (SET_RESTORE_ROUND_NOEXL): Likewise.
50277         (SET_RESTORE_ROUND_53BIT): Likewise.
50278         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50279         (libc_feresetround_noexf_ctx): Likewise.
50280         (libc_feresetround_noexl_ctx): Likewise.
50281         (libc_feholdsetround_53bit_ctx): Likewise.
50282         (libc_feresetround_53bit_ctx): Likewise.
50283         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50284         (libc_feholdexcept_setround_sse_ctx): New function.
50285         (libc_fesetenv_sse_ctx): Likewise.
50286         (libc_feupdateenv_sse_ctx): Likewise.
50287         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50288         (libc_feholdexcept_setround_387_ctx): Likewise.
50289         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50290         (libc_feholdsetround_387_prec_ctx): Likewise.
50291         (libc_feholdsetround_387_ctx): Likewise.
50292         (libc_feholdsetround_387_53bit_ctx): Likewise.
50293         (libc_feholdsetround_sse_ctx): Likewise.
50294         (libc_feresetround_sse_ctx): Likewise.
50295         (libc_feresetround_387_ctx): Likewise.
50296         (libc_feupdateenv_387_ctx): Likewise.
50297         (libc_feholdexcept_setroundf_ctx): Define macro.
50298         (libc_fesetenvf_ctx): Likewise.
50299         (libc_feupdateenvf_ctx): Likewise.
50300         (libc_feholdsetroundf_ctx): Likewise.
50301         (libc_feresetroundf_ctx): Likewise.
50302         (libc_feholdexcept_setround_ctx): Likewise.
50303         (libc_fesetenv_ctx): Likewise.
50304         (libc_feupdateenv_ctx): Likewise.
50305         (libc_feholdsetround_ctx): Likewise.
50306         (libc_feresetround_ctx): Likewise.
50307         (libc_feholdexcept_setroundl_ctx): Likewise.
50308         (libc_feupdateenvl_ctx): Likewise.
50309         (libc_feholdsetroundl_ctx): Likewise.
50310         (libc_feresetroundl_ctx): Likewise.
50311         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50312         (libc_feresetround_53bit_ctx): Likewise.
50314 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50316         * locale/iso-639.def: Convert to UTF-8.
50318 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50320         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50321         (EXCEPTION_TESTS_double): Likewise.
50322         (EXCEPTION_TESTS_long_double): Likewise.
50323         (EXCEPTION_TESTS): Likewise.
50324         * math/libm-test.inc (test_exceptions): Only test exceptions if
50325         EXCEPTION_TESTS (FLOAT).
50327 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50329         * benchtests/Makefile (string-bench): Add strcpy_chk and
50330         stpcpy_chk.
50331         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50332         * benchtests/bench-stpcpy_chk.c: New file.
50333         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50334         * benchtests/bench-strcpy_chk.c: New file.
50335         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50336         code.
50337         (do_test): Likewise.
50339 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50341         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50342         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50343         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50344         with tabs where appropriate.
50345         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50346         dl-procinfo.h.
50347         [PPC_PLATFORM_PPC440]: Likewise.
50348         [PPC_PLATFORM_PPC464]: Likewise.
50349         [PPC_PLATFORM_PPC476]: Likewise.
50350         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50351         ppc464, and ppc476 platform strings merging from ports/
50352         dl-procinfo.h.
50354 2013-06-11  Andreas Schwab  <schwab@suse.de>
50356         [BZ #14991]
50357         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50358         (from_ucs4_idx): Regenerate.
50359         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50360         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50361         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50362         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50363         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50364         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50365         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50366         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50367         from FROM_LOOP and TO_LOOP specific macros.
50368         (BODY): Handle combining characters.
50369         * iconvdata/BIG5HKSCS.irreversible: Update.
50370         * iconvdata/BIG5HKSCS.precomposed: New file.
50371         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50372         characters.
50373         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50375 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50377         * include/sys/time.h: Fix indentation and add copyright header.
50379         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50380         (do_test): Likewise.
50381         * string/test-memchr.c (do_one_test): Likewise.
50382         (do_test): Likewise.
50383         * string/test-memcmp.c (do_one_test): Likewise.
50384         (do_test): Likewise.
50385         * string/test-memcpy.c (do_one_test): Likewise.
50386         (do_test): Likewise.
50387         * string/test-memmem.c (do_one_test): Likewise.
50388         (do_test): Likewise.
50389         (do_random_tests): Likewise.
50390         * string/test-memmove.c (do_one_test): Likewise.
50391         (do_test): Likewise.
50392         * string/test-memset.c (do_one_test): Likewise.
50393         (do_test): Likewise.
50394         * string/test-rawmemchr.c (do_one_test): Likewise.
50395         (do_test): Likewise.
50396         * string/test-strcasecmp.c (do_one_test): Likewise.
50397         (do_test): Likewise.
50398         * string/test-strcasestr.c (do_one_test): Likewise.
50399         (do_test): Likewise.
50400         * string/test-strcat.c (do_one_test): Likewise.
50401         (do_test): Likewise.
50402         * string/test-strchr.c (do_one_test): Likewise.
50403         (do_test): Likewise.
50404         * string/test-strcmp.c (do_one_test): Likewise.
50405         (do_test): Likewise.
50406         * string/test-strcpy.c (do_one_test): Likewise.
50407         (do_test): Likewise.
50408         * string/test-string.h: Likewise.
50409         (test_init): Likewise.
50410         * string/test-strlen.c (do_one_test): Likewise.
50411         (do_test): Likewise.
50412         * string/test-strncasecmp.c (do_one_test): Likewise.
50413         (do_test): Likewise.
50414         * string/test-strncat.c (do_one_test): Likewise.
50415         (do_test): Likewise.
50416         * string/test-strncmp.c (do_one_test): Likewise.
50417         (do_test_limit): Likewise.
50418         (do_test): Likewise.
50419         * string/test-strncpy.c (do_one_test): Likewise.
50420         (do_test): Likewise.
50421         * string/test-strnlen.c (do_one_test): Likewise.
50422         (do_test): Likewise.
50423         * string/test-strpbrk.c (do_one_test): Likewise.
50424         (do_test): Likewise.
50425         * string/test-strrchr.c (do_one_test): Likewise.
50426         (do_test): Likewise.
50427         * string/test-strspn.c (do_one_test): Likewise.
50428         (do_test): Likewise.
50429         * string/test-strstr.c (do_one_test): Likewise.
50430         (do_test): Likewise.
50432         * benchtests/Makefile (string-bench): Add string benchmarks.
50433         * benchtests/bench-bcopy-ifunc.c: New file.
50434         * benchtests/bench-bcopy.c: New file.
50435         * benchtests/bench-bzero-ifunc.c: New file.
50436         * benchtests/bench-bzero.c: New file.
50437         * benchtests/bench-memccpy-ifunc.c: New file.
50438         * benchtests/bench-memccpy.c: New file.
50439         * benchtests/bench-memchr-ifunc.c: New file.
50440         * benchtests/bench-memchr.c: New file.
50441         * benchtests/bench-memcmp-ifunc.c: New file.
50442         * benchtests/bench-memcmp.c: New file.
50443         * benchtests/bench-memmem-ifunc.c: New file.
50444         * benchtests/bench-memmem.c: New file.
50445         * benchtests/bench-memmove-ifunc.c: New file.
50446         * benchtests/bench-memmove.c: New file.
50447         * benchtests/bench-mempcpy-ifunc.c: New file.
50448         * benchtests/bench-mempcpy.c: New file.
50449         * benchtests/bench-memset-ifunc.c: New file.
50450         * benchtests/bench-memset.c: New file.
50451         * benchtests/bench-rawmemchr-ifunc.c: New file.
50452         * benchtests/bench-rawmemchr.c: New file.
50453         * benchtests/bench-stpcpy-ifunc.c: New file.
50454         * benchtests/bench-stpcpy.c: New file.
50455         * benchtests/bench-stpncpy-ifunc.c: New file.
50456         * benchtests/bench-stpncpy.c: New file.
50457         * benchtests/bench-strcasecmp-ifunc.c: New file.
50458         * benchtests/bench-strcasecmp.c: New file.
50459         * benchtests/bench-strcasestr-ifunc.c: New file.
50460         * benchtests/bench-strcasestr.c: New file.
50461         * benchtests/bench-strcat-ifunc.c: New file.
50462         * benchtests/bench-strcat.c: New file.
50463         * benchtests/bench-strchr-ifunc.c: New file.
50464         * benchtests/bench-strchr.c: New file.
50465         * benchtests/bench-strchrnul-ifunc.c: New file.
50466         * benchtests/bench-strchrnul.c: New file.
50467         * benchtests/bench-strcmp-ifunc.c: New file.
50468         * benchtests/bench-strcmp.c: New file.
50469         * benchtests/bench-strcpy-ifunc.c: New file.
50470         * benchtests/bench-strcpy.c: New file.
50471         * benchtests/bench-strcspn-ifunc.c: New file.
50472         * benchtests/bench-strcspn.c: New file.
50473         * benchtests/bench-strlen-ifunc.c: New file.
50474         * benchtests/bench-strlen.c: New file.
50475         * benchtests/bench-strncasecmp-ifunc.c: New file.
50476         * benchtests/bench-strncasecmp.c: New file.
50477         * benchtests/bench-strncat-ifunc.c: New file.
50478         * benchtests/bench-strncat.c: New file.
50479         * benchtests/bench-strncmp-ifunc.c: New file.
50480         * benchtests/bench-strncmp.c: New file.
50481         * benchtests/bench-strncpy-ifunc.c: New file.
50482         * benchtests/bench-strncpy.c: New file.
50483         * benchtests/bench-strnlen-ifunc.c: New file.
50484         * benchtests/bench-strnlen.c: New file.
50485         * benchtests/bench-strpbrk-ifunc.c: New file.
50486         * benchtests/bench-strpbrk.c: New file.
50487         * benchtests/bench-strrchr-ifunc.c: New file.
50488         * benchtests/bench-strrchr.c: New file.
50489         * benchtests/bench-strspn-ifunc.c: New file.
50490         * benchtests/bench-strspn.c: New file.
50491         * benchtests/bench-strstr-ifunc.c: New file.
50492         * benchtests/bench-strstr.c: New file.
50494         * benchtests/Makefile: Disable parallel execution of targets.
50495         (string-bench): Add memcpy.
50496         (benchset): New variable to store a list of benchmark sets.
50497         (bench-func): Renamed from bench.
50498         (bench-set): New target.
50499         (bench): Depend on bench-func and bench-set.
50500         * benchtests/README: Add section on benchmark sets.
50501         * benchtests/bench-memcpy-ifunc.c: New file.
50502         * benchtests/bench-memcpy.c: New file.
50503         * benchtests/bench-string.h: New file.
50505 2013-06-11  Andreas Schwab  <schwab@suse.de>
50507         [BZ #15577]
50508         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50509         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50510         values in the triple.
50511         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50512         terminator in the group key.
50514 2013-06-11  Andreas Jaeger  <aj@suse.de>
50516         * po/zh_TW.po: Update Chinese (traditional) translation from
50517         translation project.
50519 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50521         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50522         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50523         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50524         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50525         (clock_getcpuclockid): Likewise.
50526         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50527         Add weak_alias and libc_hidden_def.
50528         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50529         * rt/clock_gettime.c (clock_gettime): Rename to
50530         __clock_gettime.  Add weak_alias and libc_hidden_def.
50531         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50532         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50533         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50534         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50535         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50536         Likewise.
50537         * rt/clock_settime.c (clock_settime): Rename to
50538         __clock_settime.  Add weak_alias and libc_hidden_def.
50539         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50541 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50543         * mach/err_boot.sub: Remove trailing whitespace.
50544         * mach/err_ipc.sub: Likewise.
50545         * mach/err_mach.sub: Likewise.
50547         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50548         (ROUNDING_TESTS_double): Likewise.
50549         (ROUNDING_TESTS_long_double): Likewise.
50550         (ROUNDING_TESTS): Likewise.
50551         * math/libm-test.inc: Include <math-tests.h>.
50552         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50553         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50554         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50555         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50557 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50559         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50560         of assigning.
50562 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50564         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50565         otherwise empty TRANS lines.
50566         * sysdeps/gnu/errlist.c: Regenerated.
50568         * catgets/gencat.c (error_print): Use (void) in function
50569         definition.
50570         * crypt/crypt_util.c (__init_des): Likewise.
50571         * crypt/speeds.c (Stop): Likewise.
50572         (main): Likewise.
50573         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50574         * inet/ruserpass.c (token): Likewise.
50575         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50576         * intl/localealias.c (extend_alias_table): Likewise.
50577         * intl/plural-exp.c (init_germanic_plural): Likewise.
50578         * libio/fcloseall.c (__fcloseall): Likewise.
50579         * libio/genops.c (_IO_flush_all): Likewise.
50580         (_IO_flush_all_linebuffered): Likewise.
50581         (_IO_cleanup): Likewise.
50582         (_IO_iter_begin): Likewise.
50583         (_IO_iter_end): Likewise.
50584         (_IO_list_lock): Likewise.
50585         (_IO_list_unlock): Likewise.
50586         (_IO_list_resetlock): Likewise.
50587         * libio/getchar.c (getchar): Likewise.
50588         * libio/getchar_u.c (getchar_unlocked): Likewise.
50589         * libio/getwchar.c (getwchar): Likewise.
50590         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50591         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50592         * login/getpt.c (__getpt): Likewise.
50593         * login/tst-utmp.c (main): Likewise.
50594         * malloc/hooks.c (__malloc_check_init): Likewise.
50595         * malloc/malloc.c (__malloc_stats): Likewise.
50596         * malloc/mtrace.c (tr_break): Likewise.
50597         (mtrace): Likewise.
50598         (muntrace): Likewise.
50599         * misc/fstab.c (endfsent): Likewise.
50600         * misc/getclktck.c (__getclktck): Likewise.
50601         * misc/getdtsz.c (__getdtablesize): Likewise.
50602         * misc/gethostid.c (gethostid): Likewise.
50603         * misc/getpagesize.c (__getpagesize): Likewise.
50604         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50605         (__get_nprocs): Likewise.
50606         (__get_phys_pages): Likewise.
50607         (__get_avphys_pages): Likewise.
50608         * misc/getttyent.c (getttyent): Likewise.
50609         (setttyent): Likewise.
50610         (endttyent): Likewise.
50611         * misc/getusershell.c (getusershell): Likewise.
50612         (endusershell): Likewise.
50613         (setusershell): Likewise.
50614         (initshells): Likewise.
50615         * misc/hsearch.c (__hdestroy): Likewise.
50616         * misc/sync.c (sync): Likewise.
50617         * misc/syslog.c (closelog_internal): Likewise.
50618         (closelog): Likewise.
50619         * misc/ttyslot.c (ttyslot): Likewise.
50620         * misc/vhangup.c (vhangup): Likewise.
50621         * posix/fork.c (__fork): Likewise.
50622         * posix/getegid.c (__getegid): Likewise.
50623         * posix/geteuid.c (__geteuid): Likewise.
50624         * posix/getgid.c (__getgid): Likewise.
50625         * posix/getpid.c (__getpid): Likewise.
50626         * posix/getppid.c (__getppid): Likewise.
50627         * posix/getuid.c (__getuid): Likewise.
50628         * posix/pause.c (pause): Likewise.
50629         * posix/setpgrp.c (setpgrp): Likewise.
50630         * posix/setsid.c (__setsid): Likewise.
50631         * posix/test-vfork.c (noop): Likewise.
50632         * resolv/gethnamaddr.c (_endhtent): Likewise.
50633         (_gethtent): Likewise.
50634         (ht_endhostent): Likewise.
50635         (gethostent): Likewise.
50636         (dns_service): Likewise.
50637         * stdlib/drand48.c (drand48): Likewise.
50638         * stdlib/lrand48.c (lrand48): Likewise.
50639         * stdlib/mrand48.c (mrand48): Likewise.
50640         * stdlib/rand.c (rand): Likewise.
50641         * stdlib/random.c (__random): Likewise.
50642         * stdlib/setenv.c (clearenv): Likewise.
50643         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50644         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50645         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50646         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50647         (__get_nprocs): Likewise.
50648         (__get_phys_pages): Likewise.
50649         (__get_avphys_pages): Likewise.
50650         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50651         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50652         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50653         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50654         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50655         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50656         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50657         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50658         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50659         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50660         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50661         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50662         * sysdeps/posix/clock.c (clock): Likewise.
50663         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50664         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50665         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50666         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50667         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50668         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50669         (__get_nprocs_conf): Likewise.
50670         (__get_phys_pages): Likewise.
50671         (__get_avphys_pages): Likewise.
50672         * time/clock.c (clock): Likewise.
50673         * time/tzset.c (__tzname_max): Likewise.
50675 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50677         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50678         (__bswap_32): Do not use "register".
50679         * crypt/crypt.c (_ufc_doit_r): Likewise.
50680         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50681         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50682         * gmon/gmon.c (__monstartup): Likewise.
50683         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50684         * hurd/hurdmalloc.c (more_memory): Likewise.
50685         (malloc): Likewise.
50686         (free): Likewise.
50687         (realloc): Likewise.
50688         (malloc_fork_prepare): Likewise.
50689         (malloc_fork_parent): Likewise.
50690         (malloc_fork_child): Likewise.
50691         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50692         (_svcauth_des): Likewise.
50693         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50694         * inet/inet_net.c (inet_network): Likewise.
50695         * inet/inet_netof.c (inet_netof): Likewise.
50696         * inet/rcmd.c (__validuser2_sa): Likewise.
50697         * io/fts.c (fts_open): Likewise.
50698         (fts_load): Likewise.
50699         (fts_close): Likewise.
50700         (fts_read): Likewise.
50701         (fts_children): Likewise.
50702         (fts_build): Likewise.
50703         (fts_stat): Likewise.
50704         (fts_sort): Likewise.
50705         (fts_alloc): Likewise.
50706         (fts_lfree): Likewise.
50707         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50708         (_IO_file_xsgetn): Likewise.
50709         (_IO_file_xsgetn_mmap): Likewise.
50710         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50711         (_IO_cookie_write): Likewise.
50712         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50713         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50714         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50715         * malloc/obstack.c (_obstack_begin): Likewise.
50716         (_obstack_begin_1): Likewise.
50717         (_obstack_newchunk): Likewise.
50718         (_obstack_allocated_p): Likewise.
50719         (obstack_free): Likewise.
50720         (_obstack_memory_used): Likewise.
50721         * misc/getttyent.c (getttynam): Likewise.
50722         (getttyent): Likewise.
50723         (skip): Likewise.
50724         (value): Likewise.
50725         * misc/getusershell.c (initshells): Likewise.
50726         * misc/syslog.c (__vsyslog_chk): Likewise.
50727         * misc/ttyslot.c (ttyslot): Likewise.
50728         * nis/nis_hash.c (__nis_hash): Likewise.
50729         * posix/fnmatch_loop.c (FCT): Likewise.
50730         * posix/getconf.c (print_all): Likewise.
50731         (main): Likewise.
50732         * posix/getopt.c (exchange): Likewise.
50733         * posix/glob.c (globfree): Likewise.
50734         (prefix_array): Likewise.
50735         (__glob_pattern_type): Likewise.
50736         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50737         (NS_GET32): Likewise.
50738         (NS_PUT16): Likewise.
50739         (NS_PUT32): Likewise.
50740         * resolv/gethnamaddr.c (getanswer): Likewise.
50741         (gethostbyname2): Likewise.
50742         (gethostbyaddr): Likewise.
50743         (_gethtent): Likewise.
50744         (_gethtbyname2): Likewise.
50745         (_gethtbyaddr): Likewise.
50746         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50747         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50748         * resolv/res_init.c (__res_vinit): Likewise.
50749         (net_mask): Likewise.
50750         * resolv/res_mkquery.c (outchar): Likewise.
50751         (PRINT): Likewise.
50752         * stdio-common/printf_fp.c (outchar): Likewise.
50753         (PRINT): Likewise.
50754         * stdio-common/printf_fphex.c (outchar): Likewise.
50755         (PRINT): Likewise.
50756         * stdio-common/printf_size.c (outchar): Likewise.
50757         (PRINT): Likewise.
50758         * stdio-common/test_rdwr.c (main): Likewise.
50759         * stdio-common/tfformat.c (matches): Likewise.
50760         * stdio-common/vfprintf.c (outchar): Likewise.
50761         (printf_unknown): Likewise.
50762         (buffered_vfprintf): Likewise.
50763         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50764         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50765         (ReadFile): Likewise.
50766         * stdlib/qsort.c (SWAP): Likewise.
50767         (_quicksort): Likewise.
50768         * stdlib/setenv.c (__add_to_environ): Likewise.
50769         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50770         * stdlib/strtol_l.c (__strtol_l): Likewise.
50771         * stdlib/tst-strtod.c (main): Likewise.
50772         * stdlib/tst-strtol.c (main): Likewise.
50773         * stdlib/tst-strtoll.c (main): Likewise.
50774         * string/bits/string2.h (__strcmp_cc): Likewise.
50775         (__strcmp_cg): Likewise.
50776         (__strcspn_c1): Likewise.
50777         (__strcspn_c2): Likewise.
50778         (__strcspn_c3): Likewise.
50779         (__strspn_c1): Likewise.
50780         (__strspn_c2): Likewise.
50781         (__strspn_c3): Likewise.
50782         (__strsep_1c): Likewise.
50783         (__strsep_2c): Likewise.
50784         (__strsep_3c): Likewise.
50785         * string/memccpy.c (__memccpy): Likewise.
50786         * string/stpcpy.c (__stpcpy): Likewise.
50787         * string/strcmp.c (strcmp): Likewise.
50788         * string/strrchr.c (strrchr): Likewise.
50789         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50790         Likewise.
50791         * sysdeps/mach/hurd/getcwd.c
50792         (_hurd_canonicalize_directory_name_internal): Likewise.
50793         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50794         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50795         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50796         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50797         Likewise, in both definitions.
50798         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50799         definitions.
50800         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50801         64] (__bswap_64): Likewise.
50802         * time/test_time.c (main): Likewise.
50803         * time/tzfile.c (__tzfile_read): Likewise.
50804         (__tzfile_compute): Likewise.
50805         * time/tzset.c (__tzset_parse_tz): Likewise.
50806         (tzset_internal): Likewise.
50807         (compute_change): Likewise.
50808         * wcsmbs/wcscat.c (__wcscat): Likewise.
50809         * wcsmbs/wcschr.c (wcschr): Likewise.
50810         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50811         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50812         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50813         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50814         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50815         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50816         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50817         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50818         * wcsmbs/wmemset.c (wmemset): Likewise.
50820 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50822         * scripts/config.guess: Update to version 2013-05-16.
50823         * scripts/config.sub: Update to version 2013-04-24.
50824         * scripts/install-sh: Update to version 2011-11-20.07.
50825         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50826         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50828 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50830         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50831         * elf/sln.c: Likewise.
50832         * hurd/hurd/ioctl.h: Likewise.
50833         * hurd/hurdmalloc.c: Likewise.
50834         * hurd/xattr.c: Likewise.
50835         * include/shlib-compat.h: Likewise.
50836         * inet/ruserpass.c: Likewise.
50837         * libio/iofgets_u.c: Likewise.
50838         * libio/iofgetws_u.c: Likewise.
50839         * locale/programs/ld-identification.c: Likewise.
50840         * locale/programs/ld-time.c: Likewise.
50841         * mach/msg-destroy.c: Likewise.
50842         * nss/nss_files/files-netgrp.c: Likewise.
50843         * resolv/res_data.c: Likewise.
50844         * soft-fp/op-1.h: Likewise.
50845         * soft-fp/op-2.h: Likewise.
50846         * soft-fp/op-4.h: Likewise.
50847         * soft-fp/op-common.h: Likewise.
50848         * stdio-common/printf_fphex.c: Likewise.
50849         * stdlib/strtod_l.c: Likewise.
50850         * sunrpc/rpc/clnt.h: Likewise.
50851         * sysdeps/generic/framestate.c: Likewise.
50852         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50853         * sysdeps/i386/bsd-setjmp.S: Likewise.
50854         * sysdeps/i386/__longjmp.S: Likewise.
50855         * sysdeps/i386/setjmp.S: Likewise.
50856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50857         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50859         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50860         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50861         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50862         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50863         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50864         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50865         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50866         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50867         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50868         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50869         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50870         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50871         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50872         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50873         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50874         * sysdeps/ieee754/support.c: Likewise.
50875         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50876         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50877         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50878         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50879         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50880         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50881         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50882         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50883         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50884         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50885         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50886         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50887         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50888         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50889         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50890         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50891         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50894 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50896         * posix/transbug.c: Remove executable mode.
50898 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50900         * crypt/speeds.c: Remove trailing whitespace.
50901         * dlfcn/default.c: Likewise.
50902         * elf/ifuncdep2.c: Likewise.
50903         * elf/ifuncmain1.c: Likewise.
50904         * elf/ifuncmain1vis.c: Likewise.
50905         * elf/testobj.h: Likewise.
50906         * elf/tst-stackguard1.c: Likewise.
50907         * gmon/sys/gmon.h: Likewise.
50908         * hurd/hurdmsg.c: Likewise.
50909         * hurd/new-fd.c: Likewise.
50910         * hurd/ports-get.c: Likewise.
50911         * iconvdata/ibm1008_420.c: Likewise.
50912         * inet/tst-getni1.c: Likewise.
50913         * inet/tst-getni2.c: Likewise.
50914         * libio/ioungetc.c: Likewise.
50915         * libio/wfiledoalloc.c: Likewise.
50916         * manual/libm-err-tab.pl: Likewise.
50917         * math/w_dremf.c: Likewise.
50918         * misc/ftruncate.c: Likewise.
50919         * posix/bug-glob2.c: Likewise.
50920         * posix/tst-pcre.c: Likewise.
50921         * posix/wait4.c: Likewise.
50922         * resolv/README: Likewise.
50923         * resolv/res_debug.h: Likewise.
50924         * resolv/tst-inet_ntop.c: Likewise.
50925         * setjmp/bug269-setjmp.c: Likewise.
50926         * soft-fp/extended.h: Likewise.
50927         * soft-fp/op-1.h: Likewise.
50928         * soft-fp/op-2.h: Likewise.
50929         * soft-fp/op-4.h: Likewise.
50930         * soft-fp/op-8.h: Likewise.
50931         * soft-fp/testit.c: Likewise.
50932         * stdio-common/bug16.c: Likewise.
50933         * stdlib/random.c: Likewise.
50934         * sunrpc/rpcsvc/rquota.x: Likewise.
50935         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50936         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50937         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50938         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50939         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50940         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50941         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50942         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50943         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50944         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50945         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50946         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50947         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50948         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50950         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50951         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50953         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50954         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50955         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50963         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50964         * sysdeps/ieee754/s_lib_version.c: Likewise.
50965         * sysdeps/mach/hurd/check_fds.c: Likewise.
50966         * sysdeps/mach/hurd/getsockname.c: Likewise.
50967         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50968         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50969         * sysdeps/powerpc/bits/link.h: Likewise.
50970         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50971         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50972         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50973         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50974         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50975         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50976         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50977         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50978         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50979         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50980         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50981         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50982         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50983         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50984         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50985         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50986         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50987         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50988         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50989         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50990         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50991         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50993         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50994         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50995         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50996         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50998         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50999         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51000         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51001         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51002         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51003         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51004         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51005         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51006         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51007         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51008         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51009         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51010         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51011         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51012         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51013         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51014         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51015         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51016         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51017         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51018         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51019         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51022         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51023         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51024         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51025         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51026         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51027         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51028         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51029         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51030         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51031         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51032         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51033         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51034         * sysdeps/powerpc/sysdep.h: Likewise.
51035         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51036         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51037         * sysdeps/sh/dl-trampoline.S: Likewise.
51038         * sysdeps/sh/memset.S: Likewise.
51039         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51040         * sysdeps/sh/strlen.S: Likewise.
51041         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51042         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51043         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51044         * sysdeps/sparc/sparc32/rem.S: Likewise.
51045         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51046         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51047         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51048         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51049         * sysdeps/sparc/sparc32/urem.S: Likewise.
51050         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51051         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51052         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51053         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51055         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51056         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51057         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51058         * sysdeps/unix/bsd/times.c: Likewise.
51059         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51060         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51064         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51065         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51066         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51067         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51068         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51069         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51070         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51071         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51072         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51073         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51074         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51075         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51076         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51077         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51078         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51079         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51080         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51081         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51082         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51083         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51084         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51085         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51086         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51087         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51088         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51089         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51090         * sysdeps/x86_64/strcspn.S: Likewise.
51092 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51094         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51095         generated file.  Regenerate properly from gen-translit.pl.
51096         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51097         locale/C-translit.h.
51099 2013-06-05  Andreas Schwab  <schwab@suse.de>
51101         [BZ #15100]
51102         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51103         week as 6 instead of -1.
51104         * time/tst-strptime.c (day_tests): Add test case.
51106 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51108         * sysdeps/generic/math_private.h
51109         (libc_feholdexcept_setround_53bit): Replace with
51110         libc_feholdsetround_53bit.
51111         (libc_feupdateenv_53bit): Replace with
51112         libc_feresetround_53bit.
51113         (SET_RESTORE_ROUND_53BIT): Adjust.
51115 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51117         * string/test-strchrnul.c: Add copyright header.
51119         * posix/tst-getaddrinfo4.c: Increase test timeout.
51121 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51123         [BZ #15536]
51124         * math/libm-test.inc (MAX_EXP): Remove
51125         (MIN_EXP): Define.
51126         (ulp): Use MIN_EXP - MANT_DIG.
51127         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51129 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51131         * po/be.po: Revert last change.
51132         * po/zh_CN.po: Likewise.
51133         * po/header.pot: Likewise.
51135 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51137         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51138         link-libc-deps to empty as target-specific variable.
51139         * Makerules (link-libc-args): New variable.
51140         (libc-for-link): Likewise.
51141         (link-libc-deps): Likewise.
51142         (lib%.so): Depend on $(link-libc-deps).  Link with
51143         $(link-libc-args).
51144         (build-module): Link with $(link-libc-args).
51145         (build-module-asneeded): Likewise.
51146         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51147         list of objects.
51148         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51149         target-specific variable.
51150         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51151         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51152         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51153         libc.
51154         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51155         libc and ld.so.
51156         ($(objpfx)libpcprofile.so): Likewise.
51157         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51158         libc_nonshared.a.
51159         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51160         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51161         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51162         $(link-libc-deps).
51163         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51164         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51165         * login/Makefile ($(objpfx)libutil.so): Likewise.
51166         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51167         * math/Makefile ($(objpfx)libm.so): Likewise.
51168         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51169         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51170         variable instead of depending directly on libc.
51171         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51172         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51173         $(link-libc-deps).
51174         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51175         libc.
51176         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51177         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51178         ($(objpfx)libanl.so): Likewise.
51179         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51180         ld.so.
51181         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51182         $(link-libc-deps).
51183         * sysdeps/i386/fpu/Makefile: Remove file.
51184         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51185         ($(objpfx)libm.so): Remove dependency on ld.so.
51187 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51189         [BZ # 15553]
51190         * nis/yp_xdr.c (XDRMAXNAME): Define.
51191         (XDRMAXRECORD): Define.
51192         (xdr_domainname): Use XDRMAXNAME.
51193         (xdr_mapname): Likewise.
51194         (xdr_peername): Likewise.
51195         (xdr_keydat): Use XDRMAXRECORD.
51196         (xdr_valdat): Likewise.
51198 2013-05-30  Jeff Law  <law@redhat.com>
51200         [BZ #14256]
51201         * manual/errno.texi (ESTALE): Update to account for more than
51202         just NFS file systems.
51203         * sysdeps/gnu/errlist.c: Regenerated.
51205 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51207         [BZ #15465]
51208         * elf/Makefile (tests): Add tst-null-argv.
51209         (modules-names):  Add tst-null-argv-lib.
51210         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51211         (tst-null-argv-ENV): Set environment for tst-null-argv.
51212         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51213         (RTLD_PROGNAME): New macro.
51214         * elf/tst-null-argv.c: New test case.
51215         * elf/tst-null-argv-lib.c: Library for test case.
51216         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51217         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51218         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51219         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51220         * elf/dl-init.c (call_init): Likewise.
51221         (_dl_init): Likewise.
51222         * elf/dl-load.c (print_search_path): Likewise.
51223         (_dl_map_object): Likewise.
51224         * elf/dl-lookup.c (do_lookup_x): Likewise.
51225         (add_dependency): Likewise.
51226         (_dl_lookup_symbol_x): Likewise.
51227         (_dl_debug_bindings): Likewise.
51228         * elf/dl-open.c (_dl_show_scope): Likewise.
51229         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51230         * elf/dl-version.c (match_symbol): Likewise.
51231         (_dl_check_map_versions): Likewise.
51232         * elf/rtld.c (dl_main): Likewise.
51233         (print_unresolved): Use RTLD_PROGNAME.
51234         (print_missing_version): Likewise.
51235         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51236         (elf_machine_rela): Likewise.
51237         * sysdeps/powerpc/powerpc32/dl-machine.c
51238         (__process_machine_rela): Likewise.
51239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51240         Likewise.
51241         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51242         Likewise.
51243         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51244         Likewise.
51245         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51246         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51247         Likewise.
51248         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51249         Likewise.
51250         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51252 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51254         * po/be.po: Add descriptive title.
51255         * po/zh_CN.po: Likewise.
51256         * po/header.pot: Likewise.
51258 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51260         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51261         error message.
51262         (enlarge_archive): Likewise.
51264 2013-05-28  Ben North  <ben@redfrontdoor.org>
51266         * manual/arith.texi (frexp): It is the magnitude of the return
51267         value which lies in [0.5, 1), not the return value itself.
51269 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51273 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51275         * stdio-common/bug26.c (main): Correct fscanf template.
51277         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51278         declare _dl_skip_args.
51280         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51281         Don't declare.
51283         * manual/platform.texi: Add missing @end deftypefun.
51285 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51287         [BZ #15529]
51288         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51289         bit of mantissa of 2^16382.
51290         * math/libm-test.inc (hypot_test_data): Add more tests.
51292         * math/libm-test.inc: Add drem and pow10 to list of tested
51293         functions.
51294         (pow10_test): New function.
51295         (drem_test): Likewise.
51296         (drem_test_tonearest): Likewise.
51297         (drem_test_towardzero): Likewise.
51298         (drem_test_downward): Likewise.
51299         (drem_test_upward): Likewise.
51300         (main): Call the new functions.
51302         * math/libm-test.inc (finite_test_data): Remove.
51303         (finite_test): Run tests from isfinite_test_data.
51304         (gamma_test_data): Remove.
51305         (gamma_test): Run tests from lgamma_test_data.
51306         * sysdeps/i386/fpu/libm-test-ulps: Update.
51307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51309 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51311         * manual/platform.texi: Add PowerPC PPR function set documentation.
51312         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51313         implementation.
51315 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51317         * math/libm-test.inc (MAX_EXP): Define.
51318         (ULPDIFF): Define.
51319         (ulp): New function.
51320         (check_float_internal): Use ULPDIFF.
51321         (cpow_test): Disable failing test.
51322         (check_ulp): Test ulp() implemetnation.
51323         (main): Call check_ulp before starting tests.
51325 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51327         * math/gen-libm-test.pl (generate_testfile): Do not handle
51328         START_DATA and END_DATA.
51329         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51330         END_DATA.
51331         (acos_tonearest_test_data): Likewise.
51332         (acos_towardzero_test_data): Likewise.
51333         (acos_downward_test_data): Likewise.
51334         (acos_upward_test_data): Likewise.
51335         (acosh_test_data): Likewise.
51336         (asin_test_data): Likewise.
51337         (asin_tonearest_test_data): Likewise.
51338         (asin_towardzero_test_data): Likewise.
51339         (asin_downward_test_data): Likewise.
51340         (asin_upward_test_data): Likewise.
51341         (asinh_test_data): Likewise.
51342         (atan_test_data): Likewise.
51343         (atanh_test_data): Likewise.
51344         (atan2_test_data): Likewise.
51345         (cabs_test_data): Likewise.
51346         (cacos_test_data): Likewise.
51347         (cacosh_test_data): Likewise.
51348         (carg_test_data): Likewise.
51349         (casin_test_data): Likewise.
51350         (casinh_test_data): Likewise.
51351         (catan_test_data): Likewise.
51352         (catanh_test_data): Likewise.
51353         (cbrt_test_data): Likewise.
51354         (ccos_test_data): Likewise.
51355         (ccosh_test_data): Likewise.
51356         (ceil_test_data): Likewise.
51357         (cexp_test_data): Likewise.
51358         (cimag_test_data): Likewise.
51359         (clog_test_data): Likewise.
51360         (clog10_test_data): Likewise.
51361         (conj_test_data): Likewise.
51362         (copysign_test_data): Likewise.
51363         (cos_test_data): Likewise.
51364         (cos_tonearest_test_data): Likewise.
51365         (cos_towardzero_test_data): Likewise.
51366         (cos_downward_test_data): Likewise.
51367         (cos_upward_test_data): Likewise.
51368         (cosh_test_data): Likewise.
51369         (cosh_tonearest_test_data): Likewise.
51370         (cosh_towardzero_test_data): Likewise.
51371         (cosh_downward_test_data): Likewise.
51372         (cosh_upward_test_data): Likewise.
51373         (cpow_test_data): Likewise.
51374         (cproj_test_data): Likewise.
51375         (creal_test_data): Likewise.
51376         (csin_test_data): Likewise.
51377         (csinh_test_data): Likewise.
51378         (csqrt_test_data): Likewise.
51379         (ctan_test_data): Likewise.
51380         (ctan_tonearest_test_data): Likewise.
51381         (ctan_towardzero_test_data): Likewise.
51382         (ctan_downward_test_data): Likewise.
51383         (ctan_upward_test_data): Likewise.
51384         (ctanh_test_data): Likewise.
51385         (ctanh_tonearest_test_data): Likewise.
51386         (ctanh_towardzero_test_data): Likewise.
51387         (ctanh_downward_test_data): Likewise.
51388         (ctanh_upward_test_data): Likewise.
51389         (erf_test_data): Likewise.
51390         (erfc_test_data): Likewise.
51391         (exp_test_data): Likewise.
51392         (exp_tonearest_test_data): Likewise.
51393         (exp_towardzero_test_data): Likewise.
51394         (exp_downward_test_data): Likewise.
51395         (exp_upward_test_data): Likewise.
51396         (exp10_test_data): Likewise.
51397         (exp2_test_data): Likewise.
51398         (expm1_test_data): Likewise.
51399         (fabs_test_data): Likewise.
51400         (fdim_test_data): Likewise.
51401         (finite_test_data): Likewise.
51402         (floor_test_data): Likewise.
51403         (fma_test_data): Likewise.
51404         (fma_towardzero_test_data): Likewise.
51405         (fma_downward_test_data): Likewise.
51406         (fma_upward_test_data): Likewise.
51407         (fmax_test_data): Likewise.
51408         (fmin_test_data): Likewise.
51409         (fmod_test_data): Likewise.
51410         (fpclassify_test_data): Likewise.
51411         (frexp_test_data): Likewise.
51412         (gamma_test_data): Likewise.
51413         (hypot_test_data): Likewise.
51414         (ilogb_test_data): Likewise.
51415         (isfinite_test_data): Likewise.
51416         (isgreater_test_data): Likewise.
51417         (isgreaterequal_test_data): Likewise.
51418         (isinf_test_data): Likewise.
51419         (isless_test_data): Likewise.
51420         (islessequal_test_data): Likewise.
51421         (islessgreater_test_data): Likewise.
51422         (isnan_test_data): Likewise.
51423         (isnormal_test_data): Likewise.
51424         (issignaling_test_data): Likewise.
51425         (isunordered_test_data): Likewise.
51426         (j0_test_data): Likewise.
51427         (j1_test_data): Likewise.
51428         (jn_test_data): Likewise.
51429         (ldexp_test_data): Likewise.
51430         (lgamma_test_data): Likewise.
51431         (lrint_test_data): Likewise.
51432         (lrint_tonearest_test_data): Likewise.
51433         (lrint_towardzero_test_data): Likewise.
51434         (lrint_downward_test_data): Likewise.
51435         (lrint_upward_test_data): Likewise.
51436         (llrint_test_data): Likewise.
51437         (llrint_tonearest_test_data): Likewise.
51438         (llrint_towardzero_test_data): Likewise.
51439         (llrint_downward_test_data): Likewise.
51440         (llrint_upward_test_data): Likewise.
51441         (log_test_data): Likewise.
51442         (log10_test_data): Likewise.
51443         (log1p_test_data): Likewise.
51444         (log2_test_data): Likewise.
51445         (logb_test_data): Likewise.
51446         (logb_downward_test_data): Likewise.
51447         (lround_test_data): Likewise.
51448         (llround_test_data): Likewise.
51449         (modf_test_data): Likewise.
51450         (nearbyint_test_data): Likewise.
51451         (nextafter_test_data): Likewise.
51452         (nexttoward_test_data): Likewise.
51453         (pow_test_data): Likewise.
51454         (pow_tonearest_test_data): Likewise.
51455         (pow_towardzero_test_data): Likewise.
51456         (pow_downward_test_data): Likewise.
51457         (pow_upward_test_data): Likewise.
51458         (remainder_test_data): Likewise.
51459         (remainder_tonearest_test_data): Likewise.
51460         (remainder_towardzero_test_data): Likewise.
51461         (remainder_downward_test_data): Likewise.
51462         (remainder_upward_test_data): Likewise.
51463         (remquo_test_data): Likewise.
51464         (rint_test_data): Likewise.
51465         (rint_tonearest_test_data): Likewise.
51466         (rint_towardzero_test_data): Likewise.
51467         (rint_downward_test_data): Likewise.
51468         (rint_upward_test_data): Likewise.
51469         (round_test_data): Likewise.
51470         (scalb_test_data): Likewise.
51471         (scalbn_test_data): Likewise.
51472         (scalbln_test_data): Likewise.
51473         (signbit_test_data): Likewise.
51474         (sin_test_data): Likewise.
51475         (sin_tonearest_test_data): Likewise.
51476         (sin_towardzero_test_data): Likewise.
51477         (sin_downward_test_data): Likewise.
51478         (sin_upward_test_data): Likewise.
51479         (sincos_test_data): Likewise.
51480         (sinh_test_data): Likewise.
51481         (sinh_tonearest_test_data): Likewise.
51482         (sinh_towardzero_test_data): Likewise.
51483         (sinh_downward_test_data): Likewise.
51484         (sinh_upward_test_data): Likewise.
51485         (sqrt_test_data): Likewise.
51486         (tan_test_data): Likewise.
51487         (tan_tonearest_test_data): Likewise.
51488         (tan_towardzero_test_data): Likewise.
51489         (tan_downward_test_data): Likewise.
51490         (tan_upward_test_data): Likewise.
51491         (tanh_test_data): Likewise.
51492         (tgamma_test_data): Likewise.
51493         (trunc_test_data): Likewise.
51494         (y0_test_data): Likewise.
51495         (y1_test_data): Likewise.
51496         (yn_test_data): Likewise.
51497         (significand_test_data): Likewise.
51499         * math/gen-libm-test.pl (@functions): Remove variable.
51500         (generate_testfile): Don't handle START and END lines.
51501         * math/libm-test.inc (START): New macro.
51502         (END): Likewise.
51503         (END_COMPLEX): Likewise.
51504         (acos_test): Use END macro without arguments.
51505         (acos_test_tonearest): Likewise.
51506         (acos_test_towardzero): Likewise.
51507         (acos_test_downward): Likewise.
51508         (acos_test_upward): Likewise.
51509         (acosh_test): Likewise.
51510         (asin_test): Likewise.
51511         (asin_test_tonearest): Likewise.
51512         (asin_test_towardzero): Likewise.
51513         (asin_test_downward): Likewise.
51514         (asin_test_upward): Likewise.
51515         (asinh_test): Likewise.
51516         (atan_test): Likewise.
51517         (atanh_test): Likewise.
51518         (atan2_test): Likewise.
51519         (cabs_test): Likewise.
51520         (cacos_test): Use END_COMPLEX macro without arguments.
51521         (cacosh_test): Likewise.
51522         (carg_test): Use END macro without arguments.
51523         (casin_test): Use END_COMPLEX macro without arguments.
51524         (casinh_test): Likewise.
51525         (catan_test): Likewise.
51526         (catanh_test): Likewise.
51527         (cbrt_test): Use END macro without arguments.
51528         (ccos_test): Use END_COMPLEX macro without arguments.
51529         (ccosh_test): Likewise.
51530         (ceil_test): Use END macro without arguments.
51531         (cexp_test): Use END_COMPLEX macro without arguments.
51532         (cimag_test): Use END macro without arguments.
51533         (clog_test): Use END_COMPLEX macro without arguments.
51534         (clog10_test): Likewise.
51535         (conj_test): Likewise.
51536         (copysign_test): Use END macro without arguments.
51537         (cos_test): Likewise.
51538         (cos_test_tonearest): Likewise.
51539         (cos_test_towardzero): Likewise.
51540         (cos_test_downward): Likewise.
51541         (cos_test_upward): Likewise.
51542         (cosh_test): Likewise.
51543         (cosh_test_tonearest): Likewise.
51544         (cosh_test_towardzero): Likewise.
51545         (cosh_test_downward): Likewise.
51546         (cosh_test_upward): Likewise.
51547         (cpow_test): Use END_COMPLEX macro without arguments.
51548         (cproj_test): Likewise.
51549         (creal_test): Use END macro without arguments.
51550         (csin_test): Use END_COMPLEX macro without arguments.
51551         (csinh_test): Likewise.
51552         (csqrt_test): Likewise.
51553         (ctan_test): Likewise.
51554         (ctan_test_tonearest): Likewise.
51555         (ctan_test_towardzero): Likewise.
51556         (ctan_test_downward): Likewise.
51557         (ctan_test_upward): Likewise.
51558         (ctanh_test): Likewise.
51559         (ctanh_test_tonearest): Likewise.
51560         (ctanh_test_towardzero): Likewise.
51561         (ctanh_test_downward): Likewise.
51562         (ctanh_test_upward): Likewise.
51563         (erf_test): Use END macro without arguments.
51564         (erfc_test): Likewise.
51565         (exp_test): Likewise.
51566         (exp_test_tonearest): Likewise.
51567         (exp_test_towardzero): Likewise.
51568         (exp_test_downward): Likewise.
51569         (exp_test_upward): Likewise.
51570         (exp10_test): Likewise.
51571         (exp2_test): Likewise.
51572         (expm1_test): Likewise.
51573         (fabs_test): Likewise.
51574         (fdim_test): Likewise.
51575         (finite_test): Likewise.
51576         (floor_test): Likewise.
51577         (fma_test): Likewise.
51578         (fma_test_towardzero): Likewise.
51579         (fma_test_downward): Likewise.
51580         (fma_test_upward): Likewise.
51581         (fmax_test): Likewise.
51582         (fmin_test): Likewise.
51583         (fmod_test): Likewise.
51584         (fpclassify_test): Likewise.
51585         (frexp_test): Likewise.
51586         (gamma_test): Likewise.
51587         (hypot_test): Likewise.
51588         (ilogb_test): Likewise.
51589         (isfinite_test): Likewise.
51590         (isgreater_test): Likewise.
51591         (isgreaterequal_test): Likewise.
51592         (isinf_test): Likewise.
51593         (isless_test): Likewise.
51594         (islessequal_test): Likewise.
51595         (islessgreater_test): Likewise.
51596         (isnan_test): Likewise.
51597         (isnormal_test): Likewise.
51598         (issignaling_test): Likewise.
51599         (isunordered_test): Likewise.
51600         (j0_test): Likewise.
51601         (j1_test): Likewise.
51602         (jn_test): Likewise.
51603         (ldexp_test): Likewise.
51604         (lgamma_test): Likewise.
51605         (lrint_test): Likewise.
51606         (lrint_test_tonearest): Likewise.
51607         (lrint_test_towardzero): Likewise.
51608         (lrint_test_downward): Likewise.
51609         (lrint_test_upward): Likewise.
51610         (llrint_test): Likewise.
51611         (llrint_test_tonearest): Likewise.
51612         (llrint_test_towardzero): Likewise.
51613         (llrint_test_downward): Likewise.
51614         (llrint_test_upward): Likewise.
51615         (log_test): Likewise.
51616         (log10_test): Likewise.
51617         (log1p_test): Likewise.
51618         (log2_test): Likewise.
51619         (logb_test): Likewise.
51620         (logb_test_downward): Likewise.
51621         (lround_test): Likewise.
51622         (llround_test): Likewise.
51623         (modf_test): Likewise.
51624         (nearbyint_test): Likewise.
51625         (nextafter_test): Likewise.
51626         (nexttoward_test): Likewise.
51627         (pow_test): Likewise.
51628         (pow_test_tonearest): Likewise.
51629         (pow_test_towardzero): Likewise.
51630         (pow_test_downward): Likewise.
51631         (pow_test_upward): Likewise.
51632         (remainder_test): Likewise.
51633         (remainder_test_tonearest): Likewise.
51634         (remainder_test_towardzero): Likewise.
51635         (remainder_test_downward): Likewise.
51636         (remainder_test_upward): Likewise.
51637         (remquo_test): Likewise.
51638         (rint_test): Likewise.
51639         (rint_test_tonearest): Likewise.
51640         (rint_test_towardzero): Likewise.
51641         (rint_test_downward): Likewise.
51642         (rint_test_upward): Likewise.
51643         (round_test): Likewise.
51644         (scalb_test): Likewise.
51645         (scalbn_test): Likewise.
51646         (scalbln_test): Likewise.
51647         (signbit_test): Likewise.
51648         (sin_test): Likewise.
51649         (sin_test_tonearest): Likewise.
51650         (sin_test_towardzero): Likewise.
51651         (sin_test_downward): Likewise.
51652         (sin_test_upward): Likewise.
51653         (sincos_test): Likewise.
51654         (sinh_test): Likewise.
51655         (sinh_test_tonearest): Likewise.
51656         (sinh_test_towardzero): Likewise.
51657         (sinh_test_downward): Likewise.
51658         (sinh_test_upward): Likewise.
51659         (sqrt_test): Likewise.
51660         (tan_test): Likewise.
51661         (tan_test_tonearest): Likewise.
51662         (tan_test_towardzero): Likewise.
51663         (tan_test_downward): Likewise.
51664         (tan_test_upward): Likewise.
51665         (tanh_test): Likewise.
51666         (tgamma_test): Likewise.
51667         (trunc_test): Likewise.
51668         (y0_test): Likewise.
51669         (y1_test): Likewise.
51670         (yn_test): Likewise.
51671         (significand_test): Likewise.
51673 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51675         [BZ #15381]
51676         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51678 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51680         [BZ #14894]
51681         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51682         __ppc_mdoio and __ppc_mdoom.
51683         * manual/platform.texi: Document new functions __ppc_yield,
51684         __ppc_mdoio and __ppc_mdoom.
51686 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51688         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51689         (main): Mention "tls" pseudo-hwcap is legacy.
51690         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51692 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51694         * math/gen-libm-test.pl (parse_args): Output only string of
51695         arguments as text for test name, not full call or descriptions of
51696         tests for extra outputs.
51697         (generate_testfile): Do not pass function name to parse_args.
51698         Generate this_func variable from START.
51699         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51700         field to arg_str.
51701         (struct test_ff_f_data): Likewise.
51702         (test_ff_f_data_nexttoward): Likewise.
51703         (struct test_fi_f_data): Likewise.
51704         (struct test_fl_f_data): Likewise.
51705         (struct test_if_f_data): Likewise.
51706         (struct test_fff_f_data): Likewise.
51707         (struct test_c_f_data): Likewise.
51708         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51709         (struct test_fF_f1_data): Likewise.
51710         (struct test_ffI_f1_data): Likewise.
51711         (struct test_c_c_data): Rename test_name field to arg_str.
51712         (struct test_cc_c_data): Likewise.
51713         (struct test_f_i_data): Likewise.
51714         (struct test_ff_i_data): Likewise.
51715         (struct test_f_l_data): Likewise.
51716         (struct test_f_L_data): Likewise.
51717         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51718         and extra2_name.
51719         (COMMON_TEST_SETUP): New macro.
51720         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51721         (COMMON_TEST_CLEANUP): Likewise.
51722         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51723         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51724         macros.
51725         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51726         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51727         macros.
51728         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51729         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51730         cleanup macros.
51731         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51732         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51733         macros.
51734         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51735         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51736         macros.
51737         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51738         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51739         cleanup macros.
51740         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51741         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51742         cleanup macros.
51743         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51744         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51745         cleanup macros.
51746         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51747         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51748         macros.
51749         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51750         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51751         macros.
51752         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51753         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51754         macros.
51755         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51756         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51757         cleanup macros.
51758         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51759         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51760         cleanup macros.
51761         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51762         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51763         macros.
51764         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51765         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51766         cleanup macros.
51767         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51768         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51769         macros.
51770         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51771         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51772         macros.
51773         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51774         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51775         cleanup macros.
51776         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51778 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51780         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51781         to _sifields.sigfault.
51782         (si_addr_lsb): Define new macro.
51783         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51785         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51787 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51789         [BZ #15441]
51790         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51791         returns -1.
51792         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51793         null return -1.
51794         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51795         loading the domain.
51797 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51799         * math/gen-libm-test.pl (parse_args): Do not include expected
51800         result in test name.
51801         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51802         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51803         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51804         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51805         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51808 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51810         * benchtests/Makefile: Sort function entries.
51812         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51813         tanh, asinh, acosh, atanh.
51814         * benchtests/acos-inputs: New file.
51815         * benchtests/acosh-inputs: New file.
51816         * benchtests/asin-inputs: New file.
51817         * benchtests/asinh-inputs: New file.
51818         * benchtests/atanh-inputs: New file.
51819         * benchtests/cosh-inputs: New file.
51820         * benchtests/log-inputs: New file.
51821         * benchtests/sinh-inputs: New file.
51822         * benchtests/tanh-inputs: New file.
51824 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51826         [BZ #15339]
51827         * posix/tst-getaddrinfo4.c: New test.
51828         * posix/Makefile (tests): Add it.
51830 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51832         [BZ #15339]
51833         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51834         when no services were used.
51835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51836         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51838 2013-05-21  Andreas Schwab  <schwab@suse.de>
51840         [BZ #15014]
51841         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51842         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51843         successful.
51844         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51845         redundant variable declarations and reallocation of buffer when
51846         parsing as IPv6 address.  Always set NSS status when called from
51847         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51848         buffer too small.  Correct computation of needed size.
51849         * nss/Makefile (tests): Add test-digits-dots.
51850         * nss/test-digits-dots.c: New test.
51852 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51854         * benchtests/Makefile: Remove instructions for adding
51855         benchmark tests.
51856         * benchtests/README: New file to explain how to execute and
51857         enhance the benchmark tests.
51859 2013-05-21  Andreas Schwab  <schwab@suse.de>
51861         [BZ #15493]
51862         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51863         * setjmp/tst-sigsetjmp.c: New test.
51865 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51867         * sysdeps/x86_64/memset.S (memset): New implementation.
51868         (__bzero): Likewise.
51869         (__memset_tail): New function.
51871 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51873         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51874         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51875         __memcpy_sse2_unaligned ifunc selection.
51876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51877         Add memcpy-sse2-unaligned.S.
51878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51879         Add: __memcpy_sse2_unaligned.
51881 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51883         [BZ #15490]
51884         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51885         math_force_eval before restoring floating-point envrionment.
51886         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51887         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51888         Likewise.
51889         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51890         <math_private.h>.
51891         (__nearbyintl): Use math_force_eval before restoring
51892         floating-point environment.
51893         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51895         * math/gen-libm-test.pl (special_functions): Remove.
51896         (parse_args): Don't handle TEST_extra.  Handle functions with no
51897         return value.
51898         * math/libm-test.inc (struct test_sincos_data): Replace with
51899         struct test_fFF_11_data.
51900         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51901         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51902         (sincos_test_data): Change element type to struct
51903         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51904         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51905         RUN_TEST_LOOP_sincos.
51906         * math/README.libm-test: Don't mention special handling of
51907         individual functions.
51908         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51909         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51910         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51911         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51912         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51915         * math/gen-libm-test.pl (get_variable): Remove function.
51916         (parse_args): Don't show pointer parameters to call in test
51917         names.  Use "extra output N" in test names for extra outputs
51918         rather than naming variables.
51920 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51922         [BZ #15488]
51923         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51924         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51925         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51926         double tests.
51927         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51928         disable.
51929         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51930         check_long_double.
51932         * math/gen-libm-test.pl (@tests): Remove variable.
51933         ($count): Likewise.
51934         (new_test): Remove function.
51935         (show_exceptions): New function.
51936         (special_functions): Use show_exceptions instead of new_test.
51937         (parse_args): Likewise.
51938         (generate_testfile): Pass only function name in generated call to
51939         print_max_error or print_complex_max_error.
51940         (get_ulps): Do not handle complex tests specially.
51941         (output_test): Rename to ...
51942         (get_all_ulps_for_test): ... this.  Return a string rather than
51943         printing to a file.  Require ulps to be present.
51944         (output_ulps): Generate arrays rather than #defines.
51945         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51946         (struct ulp_data): New type.
51947         (BUILD_COMPLEX_ULP): Remove macro.
51948         (compare_ulp_data): New function.
51949         (find_ulps): Likewise.
51950         (find_test_ulps): Likewise.
51951         (find_function_ulps): Likewise.
51952         (find_complex_function_ulps): Likewise.
51953         (print_max_error): Determine allowed ulps using
51954         find_function_ulps.
51955         (print_complex_max_error): Determine allowed ulps using
51956         find_complex_function_ulps.
51957         (check_float_internal): Determine max ulps using find_test_ulps.
51958         (check_float): Do not take max_ulp parameter.  Update call to
51959         check_float_internal.
51960         (check_complex): Likewise.
51961         (check_int): Do not take max_ulp parameter.
51962         (check_long): Likewise.
51963         (check_bool): Likewise.
51964         (check_longlong): Likewise.
51965         (struct test_f_f_data): Remove max_ulp field.
51966         (struct test_ff_f_data): Likewise.
51967         (struct test_ff_f_data_nexttoward): Likewise.
51968         (struct test_fi_f_data): Likewise.
51969         (struct test_fl_f_data): Likewise.
51970         (struct test_if_f_data): Likewise.
51971         (struct test_fff_f_data): Likewise.
51972         (struct test_c_f_data): Likewise.
51973         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51974         (struct test_fF_f1_data): Likewise.
51975         (struct test_ffI_f1_data): Likewise.
51976         (struct test_c_c_data): Remove max_ulp field.
51977         (struct test_cc_c_data): Likewise.
51978         (struct test_f_i_data): Likewise.
51979         (struct test_ff_i_data): Likewise.
51980         (struct test_f_l_data): Likewise.
51981         (struct test_f_L_data): Likewise.
51982         (struct test_sincos_data): Likewise.
51983         (RUN_TEST_f_f): Do not handle ulps.
51984         (RUN_TEST_LOOP_f_f): Likewise.
51985         (RUN_TEST_2_f): Likewise.
51986         (RUN_TEST_LOOP_2_f): Likewise.
51987         (RUN_TEST_fff_f): Likewise.
51988         (RUN_TEST_LOOP_fff_f): Likewise.
51989         (RUN_TEST_c_f): Likewise.
51990         (RUN_TEST_LOOP_c_f): Likewise.
51991         (RUN_TEST_f_f1): Likewise.
51992         (RUN_TEST_LOOP_f_f1): Likewise.
51993         (RUN_TEST_fF_f1): Likewise.
51994         (RUN_TEST_LOOP_fF_f1): Likewise.
51995         (RUN_TEST_fI_f1): Likewise.
51996         (RUN_TEST_LOOP_fI_f1): Likewise.
51997         (RUN_TEST_ffI_f1): Likewise.
51998         (RUN_TEST_LOOP_ffI_f1): Likewise.
51999         (RUN_TEST_c_c): Likewise.
52000         (RUN_TEST_LOOP_c_c): Likewise.
52001         (RUN_TEST_cc_c): Likewise.
52002         (RUN_TEST_LOOP_cc_c): Likewise.
52003         (RUN_TEST_f_i): Likewise.
52004         (RUN_TEST_LOOP_f_i): Likewise.
52005         (RUN_TEST_f_i_tg): Likewise.
52006         (RUN_TEST_LOOP_f_i_tg): Likewise.
52007         (RUN_TEST_ff_i_tg): Likewise.
52008         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52009         (RUN_TEST_f_b): Likewise.
52010         (RUN_TEST_LOOP_f_b): Likewise.
52011         (RUN_TEST_f_b_tg): Likewise.
52012         (RUN_TEST_LOOP_f_b_tg): Likewise.
52013         (RUN_TEST_f_l): Likewise.
52014         (RUN_TEST_LOOP_f_l): Likewise.
52015         (RUN_TEST_f_L): Likewise.
52016         (RUN_TEST_LOOP_f_L): Likewise.
52017         (RUN_TEST_sincos): Likewise.
52018         (RUN_TEST_LOOP_sincos): Likewise.
52020 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52022         [BZ #15480]
52023         [BZ #15485]
52024         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52025         main case of finite arguments, set rounding mode to FE_TONEAREST
52026         and discard exceptions.
52027         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52028         exceptions.
52029         (remainder_tonearest_test_data): New variable.
52030         (remainder_test_tonearest): New function.
52031         (remainder_towardzero_test_data): New variable.
52032         (remainder_test_towardzero): New function.
52033         (remainder_downward_test_data): New variable.
52034         (remainder_test_downward): New function.
52035         (remainder_upward_test_data): New variable.
52036         (remainder_test_upward): New function.
52037         (main): Call the new test functions.
52039         * math/libm-test.inc (struct test_f_f1_data): Remove field
52040         extra_init.
52041         (struct test_fF_f1_data): Likewise.
52042         (struct test_ffI_f1_data): Likewise.
52043         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52044         based on value of EXTRA_EXPECTED.
52045         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52046         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52047         EXTRA_VAR based on value of EXTRA_EXPECTED.
52048         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52049         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52050         EXTRA_VAR based on value of EXTRA_EXPECTED.
52051         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52052         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52053         EXTRA_VAR based on value of EXTRA_EXPECTED.
52054         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52055         * math/gen-libm-test.pl (parse_args): Don't output initializers
52056         for extra output values.
52058         * math/libm-test.inc (check_int): Expect result to be exactly
52059         equal to expected value and do not handle ulps.
52060         (check_long): Likewise.
52061         (check_longlong): Likewise.
52063         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52064         exceptions.
52065         (cimag_test_data): Likewise.
52066         (conj_test_data): Likewise.
52067         (copysign_test_data): Likewise.
52068         (cproj_test_data): Likewise.
52069         (creal_test_data): Likewise.
52070         (fabs_test_data): Likewise.
52071         (fdim_test_data): Likewise.
52072         (finite_test_data): Likewise.
52073         (floor_test_data): Likewise.
52074         (fmax_test_data): Likewise.
52075         (fmin_test_data): Likewise.
52076         (fmod_test_data): Likewise.
52077         (fpclassify_test_data): Likewise.
52078         (frexp_test_data): Likewise.
52079         (ilogb_test_data): Likewise.
52080         (isfinite_test_data): Likewise.
52081         (isgreater_test_data): Likewise.
52082         (isgreaterequal_test_data): Likewise.
52083         (isinf_test_data): Likewise.
52084         (isless_test_data): Likewise.
52085         (islessequal_test_data): Likewise.
52086         (islessgreater_test_data): Likewise.
52087         (isnan_test_data): Likewise.
52088         (isnormal_test_data): Likewise.
52089         (issignaling_test_data): Likewise.
52090         (isunordered_test_data): Likewise.
52091         (ldexp_test_data): Likewise.
52092         (lrint_test_data): Likewise.
52093         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52094         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52095         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52096         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52097         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52098         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52099         test input.
52100         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52101         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52102         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52103         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52104         that test input.
52105         (lrint_downward_test_data): Test for "inexact" exceptions.
52106         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52107         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52108         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52109         test input.
52110         (lrint_upward_test_data): Test for "inexact" exceptions.
52111         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52112         test input.
52113         (llrint_test_data): Test for "inexact" exceptions.
52114         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52115         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52116         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52117         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52118         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52119         (llrint_downward_test_data): Test for "inexact" exceptions.
52120         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52121         (llrint_upward_test_data): Test for "inexact" exceptions.
52122         (logb_test_data): Likewise.
52123         (logb_downward_test_data): Likewise.
52124         (nextafter_test_data): Likewise.
52125         (nexttoward_test_data): Likewise.
52126         (remainder_test_data): Likewise.
52127         (remquo_test_data): Likewise.
52128         (scalbn_test_data): Likewise.
52129         (scalbln_test_data): Likewise.
52130         (signbit_test_data): Likewise.
52131         (sqrt_test_data): Likewise.
52132         (significand_test_data): Likewise.
52134 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52136         [BZ #15424]
52137         * benchtests/bench-modf.c (struct args): Mark arg0 as
52138         volatile.
52139         * scripts/bench.pl: Mark members of struct args as volatile.
52141 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52143         [BZ # 15497]
52144         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52145         negative infinity on POWER6 or lower.
52146         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52148 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52150         [BZ #15442]
52151         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52152         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52153         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52154         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52155         (_FP_SETQNAN): New macro.
52156         (_FP_SETQNAN_SEMIRAW): Likewise.
52157         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52158         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52159         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52160         (FP_EXTEND): Use _FP_FRAC_SNANP.
52161         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52162         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52163         into account.
52164         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52165         New macro.
52166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52167         Likewise.
52169 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52171         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52172         with DIVIDE_BY_ZERO_EXCEPTION.
52173         (gamma_test_data): Likewise.
52174         (lgamma_test_data): Likewise.
52175         (log_test_data): Likewise.
52176         (log10_test_data): Likewise.
52177         (log2_test_data): Likewise.
52178         (tgamma_test_data): Likewise.
52180         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52181         (acos_test_tonearest): Likewise.
52182         (acos_test_towardzero): Likewise.
52183         (acos_test_downward): Likewise.
52184         (acos_test_upward): Likewise.
52185         (acosh_test): Likewise.
52186         (asin_test): Likewise.
52187         (asin_test_tonearest): Likewise.
52188         (asin_test_towardzero): Likewise.
52189         (asin_test_downward): Likewise.
52190         (asin_test_upward): Likewise.
52191         (asinh_test): Likewise.
52192         (atan_test): Likewise.
52193         (atanh_test): Likewise.
52194         (atan2_test): Likewise.
52195         (cabs_test): Likewise.
52196         (cacos_test): Likewise.
52197         (cacosh_test): Likewise.
52198         (casin_test): Likewise.
52199         (casinh_test): Likewise.
52200         (catan_test): Likewise.
52201         (catanh_test): Likewise.
52202         (cbrt_test): Likewise.
52203         (ccos_test): Likewise.
52204         (ccosh_test): Likewise.
52205         (cexp_test): Likewise.
52206         (clog_test): Likewise.
52207         (clog10_test): Likewise.
52208         (cos_test): Likewise.
52209         (cos_test_tonearest): Likewise.
52210         (cos_test_towardzero): Likewise.
52211         (cos_test_downward): Likewise.
52212         (cos_test_upward): Likewise.
52213         (cosh_test): Likewise.
52214         (cosh_test_tonearest): Likewise.
52215         (cosh_test_towardzero): Likewise.
52216         (cosh_test_downward): Likewise.
52217         (cosh_test_upward): Likewise.
52218         (cpow_test): Likewise.
52219         (csin_test): Likewise.
52220         (csinh_test): Likewise.
52221         (csqrt_test): Likewise.
52222         (ctan_test): Likewise.
52223         (ctan_test_tonearest): Likewise.
52224         (ctan_test_towardzero): Likewise.
52225         (ctan_test_downward): Likewise.
52226         (ctan_test_upward): Likewise.
52227         (ctanh_test): Likewise.
52228         (ctanh_test_tonearest): Likewise.
52229         (ctanh_test_towardzero): Likewise.
52230         (ctanh_test_downward): Likewise.
52231         (ctanh_test_upward): Likewise.
52232         (erf_test): Likewise.
52233         (erfc_test): Likewise.
52234         (exp_test): Likewise.
52235         (exp_test_tonearest): Likewise.
52236         (exp_test_towardzero): Likewise.
52237         (exp_test_downward): Likewise.
52238         (exp_test_upward): Likewise.
52239         (exp10_test): Likewise.
52240         (exp2_test): Likewise.
52241         (expm1_test): Likewise.
52242         (fmod_test): Likewise.
52243         (gamma_test): Likewise.
52244         (hypot_test): Likewise.
52245         (j0_test): Likewise.
52246         (j1_test): Likewise.
52247         (jn_test): Likewise.
52248         (lgamma_test): Likewise.
52249         (log_test): Likewise.
52250         (log10_test): Likewise.
52251         (log1p_test): Likewise.
52252         (log2_test): Likewise.
52253         (logb_test_downward): Likewise.
52254         (pow_test): Likewise.
52255         (pow_test_tonearest): Likewise.
52256         (pow_test_towardzero): Likewise.
52257         (pow_test_downward): Likewise.
52258         (pow_test_upward): Likewise.
52259         (remainder_test): Likewise.
52260         (remquo_test): Likewise.
52261         (sin_test): Likewise.
52262         (sin_test_tonearest): Likewise.
52263         (sin_test_towardzero): Likewise.
52264         (sin_test_downward): Likewise.
52265         (sin_test_upward): Likewise.
52266         (sincos_test): Likewise.
52267         (sinh_test): Likewise.
52268         (sinh_test_tonearest): Likewise.
52269         (sinh_test_towardzero): Likewise.
52270         (sinh_test_downward): Likewise.
52271         (sinh_test_upward): Likewise.
52272         (sqrt_test): Likewise.
52273         (tan_test): Likewise.
52274         (tan_test_tonearest): Likewise.
52275         (tan_test_towardzero): Likewise.
52276         (tan_test_downward): Likewise.
52277         (tan_test_upward): Likewise.
52278         (tanh_test): Likewise.
52279         (tgamma_test): Likewise.
52280         (y0_test): Likewise.
52281         (y1_test): Likewise.
52282         (yn_test): Likewise.
52284         * math/gen-libm-test.pl (adjust_arg): Remove function.
52285         (special_function): Remove argument $in_func.  Only handle
52286         generating output for tables of tests, not inside functions.
52287         (parse_args): Likewise.
52288         (generate_testfile): Remove variable $in_func.  Update call to
52289         parse_args.
52290         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52291         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52292         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52293         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52294         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52295         (MAX_VALUE_INIT): Rename macro to max_value.
52296         (MIN_VALUE_INIT): Rename macro to min_value.
52297         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52298         (plus_zero): Remove variable.
52299         (minus_zero): Likewise.
52300         (plus_infty): Likewise.
52301         (minus_infty): Likewise.
52302         (qnan_value): Likewise.
52303         (max_value): Likewise.
52304         (min_value): Likewise.
52305         (min_subnorm_value): Likewise.
52307 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52309         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52310         uint64_t or uint32_t usage.
52311         * crypt/sha256-block.c: Likewise.
52312         * crypt/sha256-crypt.c: Likewise.
52313         * crypt/sha256.c: Likewise.
52314         * crypt/sha512-block.c: Likewise.
52315         * crypt/sha512-crypt.c: Likewise.
52316         * crypt/sha512.c: Likewise.
52317         * debug/backtrace-tst.c: Likewise.
52318         * debug/pcprofiledump.c: Likewise.
52319         * elf/cache.c: Likewise.
52320         * elf/dl-cache.c: Likewise.
52321         * elf/dl-misc.c: Likewise.
52322         * elf/dl-profile.c: Likewise.
52323         * elf/dl-support.c: Likewise.
52324         * elf/ldconfig.c: Likewise.
52325         * elf/sprof.c: Likewise.
52326         * iconv/dummy-repertoire.c: Likewise.
52327         * iconv/iconv_charmap.c: Likewise.
52328         * iconv/skeleton.c: Likewise.
52329         * iconvdata/8bit-generic.c: Likewise.
52330         * iconvdata/cp737.h: Likewise.
52331         * iconvdata/cp775.h: Likewise.
52332         * iconvdata/ibm1008.h: Likewise.
52333         * iconvdata/ibm1025.h: Likewise.
52334         * iconvdata/ibm1046.h: Likewise.
52335         * iconvdata/ibm1097.h: Likewise.
52336         * iconvdata/ibm1112.h: Likewise.
52337         * iconvdata/ibm1122.h: Likewise.
52338         * iconvdata/ibm1123.h: Likewise.
52339         * iconvdata/ibm1124.h: Likewise.
52340         * iconvdata/ibm1129.h: Likewise.
52341         * iconvdata/ibm1130.h: Likewise.
52342         * iconvdata/ibm1132.h: Likewise.
52343         * iconvdata/ibm1133.h: Likewise.
52344         * iconvdata/ibm1137.h: Likewise.
52345         * iconvdata/ibm1140.h: Likewise.
52346         * iconvdata/ibm1141.h: Likewise.
52347         * iconvdata/ibm1142.h: Likewise.
52348         * iconvdata/ibm1143.h: Likewise.
52349         * iconvdata/ibm1144.h: Likewise.
52350         * iconvdata/ibm1145.h: Likewise.
52351         * iconvdata/ibm1146.h: Likewise.
52352         * iconvdata/ibm1147.h: Likewise.
52353         * iconvdata/ibm1148.h: Likewise.
52354         * iconvdata/ibm1149.h: Likewise.
52355         * iconvdata/ibm1153.h: Likewise.
52356         * iconvdata/ibm1154.h: Likewise.
52357         * iconvdata/ibm1155.h: Likewise.
52358         * iconvdata/ibm1156.h: Likewise.
52359         * iconvdata/ibm1157.h: Likewise.
52360         * iconvdata/ibm1158.h: Likewise.
52361         * iconvdata/ibm1160.h: Likewise.
52362         * iconvdata/ibm1161.h: Likewise.
52363         * iconvdata/ibm1162.h: Likewise.
52364         * iconvdata/ibm1163.h: Likewise.
52365         * iconvdata/ibm1164.h: Likewise.
52366         * iconvdata/ibm1166.h: Likewise.
52367         * iconvdata/ibm1167.h: Likewise.
52368         * iconvdata/ibm12712.h: Likewise.
52369         * iconvdata/ibm1390.h: Likewise.
52370         * iconvdata/ibm1399.h: Likewise.
52371         * iconvdata/ibm16804.h: Likewise.
52372         * iconvdata/ibm4517.h: Likewise.
52373         * iconvdata/ibm4899.h: Likewise.
52374         * iconvdata/ibm4909.h: Likewise.
52375         * iconvdata/ibm4971.h: Likewise.
52376         * iconvdata/ibm5347.h: Likewise.
52377         * iconvdata/ibm803.h: Likewise.
52378         * iconvdata/ibm856.h: Likewise.
52379         * iconvdata/ibm901.h: Likewise.
52380         * iconvdata/ibm902.h: Likewise.
52381         * iconvdata/ibm9030.h: Likewise.
52382         * iconvdata/ibm9066.h: Likewise.
52383         * iconvdata/ibm921.h: Likewise.
52384         * iconvdata/ibm922.h: Likewise.
52385         * iconvdata/ibm9448.h: Likewise.
52386         * iconvdata/isiri-3342.h: Likewise.
52387         * iconvdata/jis0201.h: Likewise.
52388         * include/link.h: Likewise.
52389         * include/netdb.h: Likewise.
52390         * inet/check_native.c: Likewise.
52391         * inet/check_pf.c: Likewise.
52392         * inet/getipv4sourcefilter.c: Likewise.
52393         * inet/getnameinfo.c: Likewise.
52394         * inet/getsourcefilter.c: Likewise.
52395         * inet/htonl.c: Likewise.
52396         * inet/setipv4sourcefilter.c: Likewise.
52397         * inet/setsourcefilter.c: Likewise.
52398         * inet/test-inet6_opt.c: Likewise.
52399         * inet/tst-network.c: Likewise.
52400         * locale/C-collate.c: Likewise.
52401         * locale/C-ctype.c: Likewise.
52402         * locale/C-time.c: Likewise.
52403         * locale/C-translit.h: Likewise.
52404         * locale/loadarchive.c: Likewise.
52405         * locale/programs/3level.h: Likewise.
52406         * locale/programs/charmap.c: Likewise.
52407         * locale/programs/charmap.h: Likewise.
52408         * locale/programs/ld-address.c: Likewise.
52409         * locale/programs/ld-collate.c: Likewise.
52410         * locale/programs/ld-ctype.c: Likewise.
52411         * locale/programs/ld-identification.c: Likewise.
52412         * locale/programs/ld-measurement.c: Likewise.
52413         * locale/programs/ld-messages.c: Likewise.
52414         * locale/programs/ld-monetary.c: Likewise.
52415         * locale/programs/ld-name.c: Likewise.
52416         * locale/programs/ld-numeric.c: Likewise.
52417         * locale/programs/ld-paper.c: Likewise.
52418         * locale/programs/ld-telephone.c: Likewise.
52419         * locale/programs/ld-time.c: Likewise.
52420         * locale/programs/linereader.c: Likewise.
52421         * locale/programs/locale.c: Likewise.
52422         * locale/programs/locarchive.c: Likewise.
52423         * locale/programs/locfile.h: Likewise.
52424         * locale/programs/repertoire.c: Likewise.
52425         * locale/programs/simple-hash.c: Likewise.
52426         * locale/programs/simple-hash.h: Likewise.
52427         * malloc/memusage.c: Likewise.
52428         * malloc/memusagestat.c: Likewise.
52429         * nis/nis_defaults.c: Likewise.
52430         * nis/nis_hash.c: Likewise.
52431         * nis/nis_print.c: Likewise.
52432         * nis/nis_xdr.c: Likewise.
52433         * nscd/connections.c: Likewise.
52434         * nscd/hstcache.c: Likewise.
52435         * nscd/nscd_gethst_r.c: Likewise.
52436         * nscd/nscd_getserv_r.c: Likewise.
52437         * nscd/nscd_helper.c: Likewise.
52438         * nscd/servicescache.c: Likewise.
52439         * nss/makedb.c: Likewise.
52440         * nss/nss_db/db-XXX.c: Likewise.
52441         * nss/nss_db/db-initgroups.c: Likewise.
52442         * nss/nss_db/db-netgrp.c: Likewise.
52443         * nss/nss_files/files-network.c: Likewise.
52444         * nss/nss_files/files-parse.c: Likewise.
52445         * posix/bug-regex5.c: Likewise.
52446         * posix/fnmatch_loop.c: Likewise.
52447         * posix/regcomp.c: Likewise.
52448         * posix/regexec.c: Likewise.
52449         * posix/tst-rfc3484-2.c: Likewise.
52450         * posix/tst-rfc3484-3.c: Likewise.
52451         * posix/tst-rfc3484.c: Likewise.
52452         * resolv/nss_dns/dns-canon.c: Likewise.
52453         * resolv/nss_dns/dns-network.c: Likewise.
52454         * resolv/res_init.c: Likewise.
52455         * resolv/res_mkquery.c: Likewise.
52456         * resolv/tst-aton.c: Likewise.
52457         * stdlib/cxa_atexit.c: Likewise.
52458         * stdlib/cxa_finalize.c: Likewise.
52459         * stdlib/gen-fpioconst.c: Likewise.
52460         * stdlib/strtol_l.c: Likewise.
52461         * string/tst-endian.c: Likewise.
52462         * sunrpc/auth_des.c: Likewise.
52463         * sunrpc/clnt_udp.c: Likewise.
52464         * sunrpc/rtime.c: Likewise.
52465         * sunrpc/svcauth_des.c: Likewise.
52466         * sunrpc/xdr.c: Likewise.
52467         * sunrpc/xdr_intXX_t.c: Likewise.
52468         * sunrpc/xdr_rec.c: Likewise.
52469         * sysdeps/generic/ldconfig.h: Likewise.
52470         * sysdeps/generic/ldsodefs.h: Likewise.
52471         * sysdeps/generic/memusage.h: Likewise.
52472         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52473         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52474         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52475         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52476         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52478         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52479         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52480         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52481         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52482         * sysdeps/posix/getaddrinfo.c: Likewise.
52483         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52484         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52485         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52486         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52487         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52488         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52489         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52490         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52491         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52492         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52493         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52494         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52495         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52496         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52497         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52498         * sysdeps/x86_64/dl-tls.h: Likewise.
52499         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52500         * time/alt_digit.c: Likewise.
52501         * time/era.c: Likewise.
52502         * wcsmbs/tst-c16c32-1.c: Likewise.
52504 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52506         * math/libm-test.inc (struct test_sincos_data): New type.
52507         (RUN_TEST_LOOP_sincos): New macro.
52508         (sincos_test_data): New variable.
52509         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52511 2013-05-16  Richard Henderson  <rth@redhat.com>
52513         * math/atest-exp2.c (LIMB64): New macro.
52514         (CONSTSZ): New macro.
52515         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52516         (hexdig): Move ...
52517         (print_mpn_fp): ... to function scope.
52518         (read_mpn_hex): Remove.
52519         (get_log2): Remove.
52520         (exp2_mpn): Use mp_log2.
52521         (main): Use mp_exp1.
52523 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52525         * math/libm-test.inc: Remove comment about not testing "inexact"
52526         exceptions.
52527         (INEXACT_EXCEPTION): New macro.
52528         (NO_INEXACT_EXCEPTION): Likewise.
52529         (INVALID_EXCEPTION_OK): Update value.
52530         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52531         (OVERFLOW_EXCEPTION_OK): Likewise.
52532         (UNDERFLOW_EXCEPTION_OK): Likewise.
52533         (IGNORE_ZERO_INF_SIGN): Likewise.
52534         (ERRNO_UNCHANGED): Likewise.
52535         (ERRNO_EDOM): Likewise.
52536         (ERRNO_ERANGE): Likewise.
52537         (test_exceptions): Handle testing "inexact" exceptions.
52538         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52539         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52540         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52541         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52542         INEXACT_EXCEPTION.
52543         (rint_towardzero_test_data): Likewise.
52544         (rint_downward_test_data): Likewise.
52545         (rint_upward_test_data): Likewise.
52547         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52548         with OVERFLOW_EXCEPTION.
52549         (exp10_test_data): Likewise.
52550         (exp2_test_data): Likewise.
52551         (expm1_test_data): Likewise.
52552         (lgamma_test_data): Likewise.
52553         (pow_test_data): Likewise.
52554         (tgamma_test_data): Likewise.
52555         (yn_test_data): Remove duplicate test of overflow.
52557         * math/libm-test.inc (struct test_cc_c_data): New type.
52558         (RUN_TEST_LOOP_cc_c): New macro.
52559         (cpow_test_data): New variable.
52560         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52562         * math/libm-test.inc (struct test_f_L_data): New type.
52563         (RUN_TEST_LOOP_f_L): New macro.
52564         (llrint_test_data): New variable.
52565         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52566         (llrint_tonearest_test_data): New variable.
52567         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52568         (llrint_towardzero_test_data): New variable.
52569         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52570         (llrint_downward_test_data): New variable.
52571         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52572         (llrint_upward_test_data): New variable.
52573         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52574         (llround_test_data): New variable.
52575         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52577 2013-05-13  Peter Collingbourne  <pcc@google.com>
52579         * math/atest-exp2.c (get_log2): Remove const attribute.
52581 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52583         * math/libm-test.inc (struct test_f_l_data): New type.
52584         (RUN_TEST_LOOP_f_l): New macro.
52585         (lrint_test_data): New variable.
52586         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52587         (lrint_tonearest_test_data): New variable.
52588         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52589         (lrint_towardzero_test_data): New variable.
52590         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52591         (lrint_downward_test_data): New variable.
52592         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52593         (lrint_upward_test_data): New variable.
52594         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52595         (lround_test_data): New variable.
52596         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52598 2013-05-15  Peter Collingbourne  <pcc@google.com>
52600         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52601         (EXTRACT_WORDS64) Use where appropriate.
52602         (INSERT_WORDS64) Likewise.
52604         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52605         constraints with x constraints.
52606         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52608         * malloc/obstack.c (_obstack_compat): Add initializer.
52610 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52612         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52613         si_trapno and add si_addr_lsb to _sifields.sigfault.
52614         (si_trapno): Remove macro.
52615         (si_addr_lsb): Define new macro.
52616         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52618 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52620         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52621         instead of TEST_f_l.
52622         (llrint_test_tonearest): Likewise.
52623         (llrint_test_towardzero): Likewise.
52624         (llrint_test_downward): Likewise.
52625         (llrint_test_upward): Likewise.
52626         (llround_test): Likewise.
52628         * math/libm-test.inc (struct test_f_i_data): Add comment.
52629         (RUN_TEST_LOOP_f_b): New macro.
52630         (RUN_TEST_LOOP_f_b_tg): Likewise.
52631         (finite_test_data): New variable.
52632         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52633         (isfinite_test_data): New variable.
52634         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52635         (isinf_test_data): New variable.
52636         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52637         (isnan_test_data): New variable.
52638         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52639         (isnormal_test_data): New variable.
52640         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52641         (issignaling_test_data): New variable.
52642         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52643         (signbit_test_data): New variable.
52644         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52646         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52647         with INVALID_EXCEPTION.
52648         (acosh_test_data): Likewise.
52649         (asin_test_data): Likewise.
52650         (atanh_test_data): Likewise.
52651         (fmod_test_data): Likewise.
52652         (log_test_data): Likewise.
52653         (log10_test_data): Likewise.
52654         (log2_test_data): Likewise.
52655         (pow_test_data): Likewise.
52656         (sqrt_test_data): Likewise.
52657         (y0_test_data): Likewise.
52658         (y1_test_data): Likewise.
52659         (yn_test_data): Likewise.
52661         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52662         function contents.
52664         * math/libm-test.inc (struct test_ff_i_data): New type.
52665         (RUN_TEST_LOOP_ff_i_tg): New macro.
52666         (isgreater_test_data): New variable.
52667         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52668         (isgreaterequal_test_data): New variable.
52669         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52670         (isless_test_data): New variable.
52671         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52672         (islessequal_test_data): New variable.
52673         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52674         (islessgreater_test_data): New variable.
52675         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52676         (isunordered_test_data): New variable.
52677         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52679 2013-05-14  David S. Miller  <davem@davemloft.net>
52681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52683 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52685         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52687         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52688         extra_test to int.
52689         (struct test_f_i_data): Change type of max_ulp to int.
52691         * math/libm-test.inc (test_ffI_f1_data): New type.
52692         (RUN_TEST_LOOP_ffI_f1): New macro.
52693         (remquo_test_data): New variable.
52694         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52696         * setjmp/tst-setjmp-fp.c: New file.
52697         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52698         (link-libm): New variable.
52699         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52701         * math/libm-test.inc (struct test_f_i_data): New type.
52702         (RUN_TEST_LOOP_f_i): New macro.
52703         (RUN_TEST_LOOP_f_i_tg): Likewise.
52704         (fpclassify_test_data): New variable.
52705         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52706         (ilogb_test_data): New variable.
52707         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52709         * math/libm-test.inc (scalbln_test): Correct function name in END
52710         call.
52712         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52713         (RUN_TEST_LOOP_fI_f1): New macro.
52714         (frexp_test_data): New variable.
52715         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52717         * math/libm-test.inc (struct test_fF_f1_data): New type.
52718         (RUN_TEST_LOOP_fF_f1): New macro.
52719         (modf_test_data): New variable.
52720         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52722         * math/libm-test.inc (struct test_f_f1_data): New type.
52723         (RUN_TEST_LOOP_f_f1): New macro.
52724         (gamma_test_data): New variable.
52725         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52726         (lgamma_test_data): New variable.
52727         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52729 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52731         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52732         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52733         (main): Comment "tls" pseudo-hwcap.
52735 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52737         * math/libm-test.inc (struct test_fl_f_data): New type.
52738         (RUN_TEST_LOOP_fl_f): New variable.
52739         (scalbln_test_data): New variable.
52740         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52742         * math/libm-test.inc (struct test_fi_f_data): New type.
52743         (RUN_TEST_LOOP_fi_f): New macro.
52744         (ldexp_test_data): New variable.
52745         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52746         (scalbn_test_data): New variable.
52747         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52749         * math/libm-test.inc (struct test_c_f_data): New type.
52750         (RUN_TEST_LOOP_c_f): New macro.
52751         (cabs_test_data): New variable.
52752         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52753         (carg_test_data): New variable.
52754         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52755         (cimag_test_data): New variable.
52756         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52757         (creal_test_data): New variable.
52758         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52760         * math/libm-test.inc (struct test_if_f_data): New type.
52761         (RUN_TEST_LOOP_if_f): New macro.
52762         (jn_test_data): New variable.
52763         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52764         (yn_test_data): New variable.
52765         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52767         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52769 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52771         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52772         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52774 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52776         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52777         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52778         (bench-deps): Add bench-timing.h.
52779         * benchtests-bench-skeleton.c: Include bench-timing.h.
52780         (main): Use TIMING_* macros instead of clock_gettime.
52781         * benchtests/bench-timing.h: New file.
52783         [BZ #14582]
52784         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52785         Renamed from _LIB_VERSION.
52786         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52788 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52790         * math/libm-test.inc (struct test_fff_f_data): New type.
52791         (RUN_TEST_LOOP_fff_f): New macro.
52792         (fma_test_data): New variable.
52793         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52794         (fma_towardzero_test_data): New variable.
52795         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52796         (fma_downward_test_data): New variable.
52797         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52798         (fma_upward_test_data): New variable.
52799         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52801         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52802         (struct test_c_c_data): New type.
52803         (RUN_TEST_LOOP_c_c): New macro.
52804         (cacos_test_data): New variable.
52805         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52806         (cacosh_test_data): New variable.
52807         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52808         (casin_test_data): New variable.
52809         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52810         (casinh_test_data): New variable.
52811         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52812         (catan_test_data): New variable.
52813         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52814         (catanh_test_data): New variable.
52815         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52816         (ccos_test_data): New variable.
52817         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52818         (ccosh_test_data): New variable.
52819         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52820         (cexp_test_data): New variable.
52821         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52822         (clog_test_data): New variable.
52823         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52824         (clog10_test_data): New variable.
52825         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52826         (conj_test_data): New variable.
52827         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52828         (cproj_test_data): New variable.
52829         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52830         (csin_test_data): New variable.
52831         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52832         (csinh_test_data): New variable.
52833         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52834         (csqrt_test_data): New variable.
52835         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52836         (ctan_test_data): New variable.
52837         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52838         (ctan_tonearest_test_data): New variable.
52839         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52840         (ctan_towardzero_test_data): New variable.
52841         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52842         (ctan_downward_test_data): New variable.
52843         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52844         (ctan_upward_test_data): New variable.
52845         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52846         (ctanh_test_data): New variable.
52847         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52848         (ctanh_tonearest_test_data): New variable.
52849         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52850         (ctanh_towardzero_test_data): New variable.
52851         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52852         (ctanh_downward_test_data): New variable.
52853         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52854         (ctanh_upward_test_data): New variable.
52855         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52856         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52857         of BUILD_COMPLEX.
52859         * math/libm-test.inc (struct test_ff_f_data): New type.
52860         (struct test_ff_f_data_nexttoward): Likewise.
52861         (RUN_TEST_LOOP_2_f): New macro.
52862         (RUN_TEST_LOOP_ff_f): Likewise.
52863         (atan2_test_data): New variable.
52864         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52865         (copysign_test_data): New variable.
52866         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52867         (fdim_test_data): New variable.
52868         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52869         (fmax_test_data): New variable.
52870         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52871         (fmin_test_data): New variable.
52872         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52873         (fmod_test_data): New variable.
52874         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52875         (hypot_test_data): New variable.
52876         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52877         (nextafter_test_data): New variable.
52878         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52879         (nexttoward_test_data): New variable.
52880         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52881         (pow_test_data): New variable.
52882         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52883         (pow_tonearest_test_data): New variable.
52884         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52885         (pow_towardzero_test_data): New variable.
52886         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52887         (pow_downward_test_data): New variable.
52888         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52889         (pow_upward_test_data): New variable.
52890         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52891         (remainder_test_data): New variable.
52892         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52893         (scalb_test_data): New variable.
52894         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52895         * sysdeps/i386/fpu/libm-test-ulps: Update.
52897 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52899         * math/libm-test.inc (fma_test): Use max_value instead of local
52900         variable fltmax.
52901         (nextafter_test): Likewise.
52903         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52904         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52905         (acos_downward_test_data): New variable.
52906         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52907         (acos_upward_test_data): New variable.
52908         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52909         (acosh_test_data): New variable.
52910         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52911         (asin_test_data): New variable.
52912         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52913         (asin_tonearest_test_data): New variable.
52914         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52915         (asin_towardzero_test_data): New variable.
52916         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52917         (asin_downward_test_data): New variable.
52918         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52919         (asin_upward_test_data): New variable.
52920         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52921         (asinh_test_data): New variable.
52922         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52923         (atan_test_data): New variable.
52924         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52925         (atanh_test_data): New variable.
52926         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52927         (cbrt_test_data): New variable.
52928         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52929         (ceil_test_data): New variable.
52930         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52931         (cos_test_data): New variable.
52932         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52933         (cos_tonearest_test_data): New variable.
52934         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52935         (cos_towardzero_test_data): New variable.
52936         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52937         (cos_downward_test_data): New variable.
52938         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52939         (cos_upward_test_data): New variable.
52940         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52941         (cosh_test_data): New variable.
52942         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52943         (cosh_tonearest_test_data): New variable.
52944         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52945         (cosh_towardzero_test_data): New variable.
52946         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52947         (cosh_downward_test_data): New variable.
52948         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52949         (cosh_upward_test_data): New variable.
52950         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52951         (erf_test_data): New variable.
52952         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52953         (erfc_test_data): New variable.
52954         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52955         (exp_test_data): New variable.
52956         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52957         (exp_tonearest_test_data): New variable.
52958         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52959         (exp_towardzero_test_data): New variable.
52960         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52961         (exp_downward_test_data): New variable.
52962         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52963         (exp_upward_test_data): New variable.
52964         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52965         (exp10_test_data): New variable.
52966         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52967         (exp2_test_data): New variable.
52968         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52969         (expm1_test_data): New variable.
52970         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52971         (fabs_test_data): New variable.
52972         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52973         (floor_test_data): New variable.
52974         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52975         (j0_test_data): New variable.
52976         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52977         (j1_test_data): New variable.
52978         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52979         (log_test_data): New variable.
52980         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52981         (log10_test_data): New variable.
52982         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52983         (log1p_test_data): New variable.
52984         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52985         (log2_test_data): New variable.
52986         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52987         (logb_test_data): New variable.
52988         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52989         (logb_downward_test_data): New variable.
52990         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52991         (nearbyint_test_data): New variable.
52992         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52993         (rint_test_data): New variable.
52994         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52995         (rint_tonearest_test_data): New variable.
52996         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52997         (rint_towardzero_test_data): New variable.
52998         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52999         (rint_downward_test_data): New variable.
53000         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53001         (rint_upward_test_data): New variable.
53002         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53003         (round_test_data): New variable.
53004         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53005         (sin_test_data): New variable.
53006         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53007         (sin_tonearest_test_data): New variable.
53008         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53009         (sin_towardzero_test_data): New variable.
53010         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53011         (sin_downward_test_data): New variable.
53012         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53013         (sin_upward_test_data): New variable.
53014         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53015         (sinh_test_data): New variable.
53016         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53017         (sinh_tonearest_test_data): New variable.
53018         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53019         (sinh_towardzero_test_data): New variable.
53020         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53021         (sinh_downward_test_data): New variable.
53022         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53023         (sinh_upward_test_data): New variable.
53024         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53025         (sqrt_test_data): New variable.
53026         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53027         (tan_test_data): New variable.
53028         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53029         (tan_tonearest_test_data): New variable.
53030         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53031         (tan_towardzero_test_data): New variable.
53032         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53033         (tan_downward_test_data): New variable.
53034         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53035         (tan_upward_test_data): New variable.
53036         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53037         (tanh_test_data): New variable.
53038         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53039         (tgamma_test_data): New variable.
53040         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53041         (trunc_test_data): New variable.
53042         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53043         (y0_test_data): New variable.
53044         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53045         (y1_test_data): New variable.
53046         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53047         (significand_test_data): New variable.
53048         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53050 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53052         [BZ #12387]
53053         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53055 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53057         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53059 2013-05-10  Andreas Jaeger  <aj@suse.de>
53061         [BZ #15448]
53062         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53063         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53065 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53067         * math/gen-libm-test.pl (adjust_arg): New function.
53068         (special_functions): Handle generating output in both functions
53069         and arrays.
53070         (parse_args): Likewise.
53071         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53072         $in_func argument to parse_args.
53073         * math/libm-test.inc (struct test_f_f_data): New type.
53074         (IF_ROUND_INIT_): New macro.
53075         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53076         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53077         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53078         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53079         (ROUND_RESTORE_): Likewise.
53080         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53081         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53082         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53083         (ROUND_RESTORE_FE_UPWARD): Likewise.
53084         (RUN_TEST_LOOP_f_f): New macro.
53085         (acos_test_data): New variable.
53086         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53087         (acos_tonearest_test_data): New variable.
53088         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53090 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53092         * benchtests/bench-skeleton.c (startup): Fix coding style.
53094 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53096         [BZ #6809]
53097         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53098         negative infinity argument.
53099         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53100         negative infinity argument.
53101         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53102         negative infinity argument.
53103         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53104         domain errors.
53106 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53108         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53109         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53110         * iconv/iconv_prog.c (main): Likewise.
53111         * locale/programs/charmap-dir.c (charmap_readdir)
53112         (fopen_uncompressed): Likewise.
53113         * locale/programs/locfile.c (siblings_uncached)
53114         (write_locale_data): Use lstat64 instead of lstat.
53115         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53116         stat.
53118 2013-05-10  Andreas Jaeger  <aj@suse.de>
53120         [BZ #15395]
53121         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53122         localization.
53123         Include <locale.h>.
53125 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53127         * elf/dl-close.c (_dl_close_worker): Add comments.
53129 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53131         [BZ #15359]
53132         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53133         high part of pi/2.
53134         (__ieee754_rem_pio2l): Update comments.
53136         [BZ #15429]
53137         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53138         high part of pi/2.
53139         (__ieee754_rem_pio2l): Update comments.
53141         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53142         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53144         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53145         M_PI_4l.
53147         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53148         (M_PI_34_LOG10El): Likewise.
53149         (M_PI2_LOG10El): Likewise.
53150         (M_PI4_LOG10El): Likewise.
53151         (M_PI_LOG10El): Likewise.
53153 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53157 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53159         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53160         (MINUS_ZERO_INIT): Likewise.
53161         (PLUS_INFTY_INIT): Likewise.
53162         (MINUS_INFTY_INIT): Likewise.
53163         (QNAN_VALUE_INIT): Likewise.
53164         (MAX_VALUE_INIT): Likewise.
53165         (MIN_VALUE_INIT): Likewise.
53166         (MIN_SUBNORM_VALUE_INIT): Likewise.
53167         (plus_zero): Initialize with PLUS_ZERO_INIT.
53168         (minus_zero): Initialize with MINUS_ZERO_INIT.
53169         (plus_infty): Initialize with PLUS_INFTY_INIT.
53170         (minus_infty): Initialize with MINUS_INFTY_INIT.
53171         (qnan_value): Initialize with QNAN_VALUE_INIT.
53172         (max_value): Initialize with MAX_VALUE_INIT.
53173         (min_value): Initialize with MIN_VALUE_INIT.
53174         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53176         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53177         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53178         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53179         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53181         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53182         (RUN_TEST_2_f): Likewise.
53183         (RUN_TEST_ff_f): Likewise.
53184         (RUN_TEST_fi_f): Likewise.
53185         (RUN_TEST_fl_f): Likewise.
53186         (RUN_TEST_fff_f): Likewise.
53187         (RUN_TEST_c_f): Likewise.
53188         (RUN_TEST_f_f1): Likewise.
53189         (RUN_TEST_fF_f1): Likewise.
53190         (RUN_TEST_fI_f1): Likewise.
53191         (RUN_TEST_ffI_f1): Likewise.
53192         (RUN_TEST_c_c): Likewise.
53193         (RUN_TEST_cc_c): Likewise.
53194         (RUN_TEST_f_i): Likewise.
53195         (RUN_TEST_f_i_tg): Likewise.
53196         (RUN_TEST_ff_i_tg): Likewise.
53197         (RUN_TEST_f_b): Likewise.
53198         (RUN_TEST_f_b_tg): Likewise.
53199         (RUN_TEST_f_l): Likewise.
53200         (RUN_TEST_f_L): Likewise.
53201         (RUN_TEST_sincos): Likewise.
53202         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53203         whether to show exceptions.  Do not include ");\n" in return
53204         value.
53205         (special_functions): Output call to RUN_TEST_sincos instead of
53206         check_float calls.  Update calls to new_test.
53207         (parse_args): Output call to single RUN_TEST_* macro instead of
53208         check_* calls and other assignments.  Update calls to new_test.
53210         [BZ #2546]
53211         [BZ #2560]
53212         [BZ #5159]
53213         [BZ #15426]
53214         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53215         input to result for tgamma overflow.
53216         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53217         (gamma_coeff): New variable.
53218         (NCOEFF): New macro.
53219         (gamma_positive): New function.
53220         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53221         underflow here.  Use gamma_positive instead of exp (lgamma) for
53222         other arguments.
53223         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53224         (gamma_coeff): New variable.
53225         (NCOEFF): New macro.
53226         (gammaf_positive): New function.
53227         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53228         underflow here.  Use gamma_positive instead of exp (lgamma) for
53229         other arguments.
53230         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53231         (gamma_coeff): New variable.
53232         (NCOEFF): New macro.
53233         (gammal_positive): New function.
53234         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53235         underflow here.  Use gamma_positive instead of exp (lgamma) for
53236         other arguments.
53237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53238         (gamma_coeff): New variable.
53239         (NCOEFF): New macro.
53240         (gammal_positive): New function.
53241         (__ieee754_gammal_r): Handle positive infinity, overflow and
53242         underflow here.  Handle NaN the same as positive infinity.  Remove
53243         check x < 0xffffffff for negative integers.  Use gamma_positive
53244         instead of exp (lgamma) for other arguments.
53245         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53246         (gamma_coeff): New variable.
53247         (NCOEFF): New macro.
53248         (gammal_positive): New function.
53249         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53250         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53251         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53254         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53255         * sysdeps/generic/math_private.h (__gamma_productf): New
53256         prototype.
53257         (__gamma_product): Likewise.
53258         (__gamma_productl): Likewise.
53259         * math/Makefile (libm-calls): Add gamma_product.
53260         * math/libm-test.inc (tgamma_test): Add more tests.
53261         * sysdeps/i386/fpu/libm-test-ulps: Update.
53262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53264 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53266         * benchtests/bench-skeleton.c (main): Preheat CPU.
53268 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53270         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53272 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53274         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53275         and _dl_skip_args_internal.
53277 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53279         * manual/message.texi (Message Translation): Talk about users.
53280         Message to key mapping impacts design.
53282 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53284         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53286         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53288         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53289         * sysdeps/wordsize-64/glob64.c: ... here.
53291         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53292         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53293         New macros.
53295         * debug/getlogin_r_chk.c: Moved to ...
53296         * login/getlogin_r_chk.c: ... here.
53297         * debug/Makefile (routines): Move getlogin_r_chk to ...
53298         * login/Makefile (routines): ... here.
53299         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53300         * login/Versions (libc: GLIBC_2.4): ... here.
53302         * io/poll.c (__poll): Renamed from poll.
53303         Add libc_hidden_def.
53304         (poll): Define as weak alias.
53306         * debug/ptsname_r_chk.c: Moved to ...
53307         * login/ptsname_r_chk.c: ... here.
53308         * debug/Makefile (routines): Move ptsname_r_chk to ...
53309         * login/Makefile (routines): ... here.
53310         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53311         * login/Versions (libc: GLIBC_2.4): ... here.
53313         * posix/getlogin.c: Moved to ...
53314         * login/getlogin.c: ... here.
53315         * posix/getlogin_r.c: Moved to ...
53316         * login/getlogin_r.c: ... here.
53317         * posix/getlogin_r.c: Moved to ...
53318         * login/getlogin_r.c: ... here.
53319         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53320         * login/Makefile (routines): ... here.
53321         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53322         * login/Versions (libc: GLIBC_2.0): ... here.
53324         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53325         (setrlimit): Define as weak alias.
53327         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53328         Call __ names for open, ftruncate, and close.
53329         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53330         (truncate): Define as weak alias.
53332 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53334         * math/gen-libm-test.pl (parse_args): Initialize x before each
53335         test of frexp, modf and remquo.
53337         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53338         test signgam value.
53340 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53342         [BZ #15418]
53343         [BZ #15419]
53344         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53345         internal tests.
53346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53348 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53350         * elf/dl-writev.h: New file.
53351         * elf/dl-misc.c: Include it.
53352         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53353         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53355 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53357         * math/libm-test.inc (noXFails): Remove variable.
53358         (noXPasses): Likewise.
53359         (BUILD_COMPLEX_INT): Remove macro.
53360         (print_screen): Remove xfail argument.
53361         (print_screen_max_error): Likewise.
53362         (update_stats): Likewise.
53363         (print_max_error): Likewise.  Update calls to other affected
53364         functions.
53365         (print_complex_max_error): Likewise.
53366         (test_single_exception): Update calls to print_screen.
53367         (test_single_errno): Likewise.
53368         (check_float_internal): Remove xfail argument.  Update calls to
53369         other affected functions.
53370         (check_float): Likewise.
53371         (check_complex): Likewise.
53372         (check_int): Likewise.
53373         (check_long): Likewise.
53374         (check_bool): Likewise.
53375         (check_longlong): Likewise.
53376         (main): Don't print noXFails and noXPasses.
53377         * math/gen-libm-test.pl (top level): Don't mention expected
53378         failure handling in comment.
53379         (new_test): Don't handle expected failures.
53380         (parse_args): Don't mention expected failure handling in comment.
53381         (generate_testfile): Don't handle expected failures.
53382         (parse_ulps): Likewise.
53383         (print_ulps_file): Likewise.
53384         (get_failure): Remove function.
53385         (output_test): Don't handle expected failures.
53386         * make/README.libm-test: Don't mention expected failure handling.
53388         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53389         (minus_zero): Likewise.
53390         (plus_infty): Likewise.
53391         (minus_infty): Likewise.
53392         (qnan_value): Likewise.
53393         (max_value): Likewise.
53394         (min_value): Likewise.
53395         (min_subnorm_value): Likewise.
53396         (initialize): Do not initialize those variables dynamically.
53398 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53400         * io/open.c (__open_2): Moved to ...
53401         * io/open_2.c: ... this new file.
53402         * io/open64.c (__open64_2): Moved to ...
53403         * io/open64_2.c: ... this new file.
53404         * io/openat.c (__openat_2): Moved to ...
53405         * io/openat_2.c: ... this new file.
53406         * io/openat64.c (__openat64_2): Moved to ...
53407         * io/openat64_2.c: ... this new file.
53408         * io/Makefile (routines): Add them.
53409         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53410         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53411         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53412         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53413         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53414         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53415         (__openat64): Add hidden_ver.
53416         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53417         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53419         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53420         Separately conditionalize setting of GLRO(dl_sysinfo) so
53421         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53422         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53424 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53426         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53427         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53428         definition.
53429         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53430         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53431         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53432         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53433         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53435 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53437         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53438         test signgam value.
53440         * math/libm-test.inc (hypot_test): Do not use
53441         IGNORE_ZERO_INF_SIGN.
53443 2013-05-03  Andreas Jaeger  <aj@suse.de>
53445         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53446         Linux 3.9.
53447         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53448         (PF_MAX): Adjust for VSOCK change.
53450 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53454 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53456         [BZ #15264]
53457         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53458         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53459         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53461 2013-05-02  David S. Miller  <davem@davemloft.net>
53463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53465 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53467         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53469 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53471         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53473 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53475         [BZ #14952]
53476         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53477         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53478         Use __attribute__ ((__gnu_inline__)).
53479         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53480         Don't use __attribute__ ((__gnu_inline__)).
53482 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53484         [BZ #15423]
53485         * math/s_catan.c (__catan): Handle small real or imaginary part of
53486         input specially to avoid spurious underflow.
53487         * math/s_catanf.c (__catanf): Likewise.
53488         * math/s_catanh.c (__catanh): Likewise.
53489         * math/s_catanhf.c (__catanhf): Likewise.
53490         * math/s_catanhl.c (__catanhl): Likewise.
53491         * math/s_catanl.c (__catanl): Likewise.
53492         * math/libm-test.inc (catan_test): Add more tests.
53493         (catanh_test): Likewise.
53494         * sysdeps/i386/fpu/libm-test-ulps: Update.
53495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53497 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53501 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53503         [BZ #15416]
53504         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53505         accurately for denominator in atan2.
53506         * math/s_catanf.c (__catanf): Likewise.
53507         * math/s_catanh.c (__catanh): Likewise.
53508         * math/s_catanhf.c (__catanhf): Likewise.
53509         * math/s_catanhl.c (__catanhl): Likewise.
53510         * math/s_catanl.c (__catanl): Likewise.
53511         * math/libm-test.inc (catan_test): Add more tests.
53512         (catanh_test): Likewise.
53513         * sysdeps/i386/fpu/libm-test-ulps: Update.
53514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53516 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53518         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53520         * benchtests/Makefile (bench): Remove slow benchmarks.
53521         * benchtests/atan-inputs: Add slow benchmark inputs.
53522         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53523         (BENCH_FUNC): Accept variant offset.
53524         (VARIANT): Define.
53525         * benchtests/bench-skeleton.c (main): Run benchmark for each
53526         variant.
53527         * benchtests/cos-inputs: Add slow benchmark inputs.
53528         * benchtests/exp-inputs: Likewise.
53529         * benchtests/pow-inputs: Likewise.
53530         * benchtests/sin-inputs: Likewise.
53531         * benchtests/slowatan-inputs: Remove.
53532         * benchtests/slowatan.c: Remove.
53533         * benchtests/slowcos-inputs: Remove.
53534         * benchtests/slowcos.c: Remove.
53535         * benchtests/slowexp-inputs: Remove.
53536         * benchtests/slowexp.c: Remove.
53537         * benchtests/slowpow-inputs: Remove.
53538         * benchtests/slowpow.c: Remove.
53539         * benchtests/slowsin-inputs: Remove.
53540         * benchtests/slowsin.c: Remove.
53541         * benchtests/slowtan-inputs: Remove.
53542         * benchtests/slowtan.c: Remove.
53543         * benchtests/tan-inputs: Add slow benchmark inputs.
53544         * scripts/bench.pl: Parse comments and directives.
53546         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53547         in CPPFLAGS.
53548         ($(objpfx)bench-%.c): Remove *-ITER.
53549         * benchtests/bench-modf.c: Remove definition of ITER.
53550         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53551         (main): Loop for DURATION seconds instead of fixed number of
53552         iterations.
53553         * scripts/bench.pl: Don't expect iterations in parameters.
53555 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53557         * io/fchdir.c (__fchdir): Renamed from fchdir.
53558         (fchdir): Define as weak alias.
53560 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53562         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53563         (ERRNO_EDOM): Likewise.
53564         (ERRNO_ERANGE): Likewise.
53565         (noErrnoTests): New variable.
53566         (init_max_error): Set errno to 0.
53567         (test_single_errno): New function.
53568         (test_errno): Likewise.
53569         (check_float_internal): Call test_errno.  Set errno to 0.
53570         (check_complex): Refer to errno tests in comment.
53571         (check_int): Call test_errno.  Set errno to 0.
53572         (check_long): Likewise.
53573         (check_bool): Likewise.
53574         (check_longlong): Likewise.
53575         (cos_test): Use ERRNO_* flags for errno tests instead of
53576         check_int.
53577         (expm1_test): Likewise.
53578         (fmod_test): Likewise.
53579         (ilogb_test): Likewise.
53580         (lgamma_test): Likewise.
53581         (pow_test): Likewise.
53582         (remainder_test): Likewise.
53583         (sin_test): Likewise.
53584         (tan_test): Likewise.
53585         (yn_test): Likewise.
53586         (initialize): Set errno to 0.
53587         (main): Print number of errno tests.
53588         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53590 2013-04-29  Andreas Jaeger  <aj@suse.de>
53592         [BZ #15084]
53593         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53594         and RES_USEVC.
53596         [BZ #15085]
53597         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53598         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53599         unimplemented.
53601         [BZ #15380]
53602         * stdlib/random.c (__initstate): Return NULL if
53603         __initstate fails.
53605         [BZ #15086]
53606         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53607         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53608         RES_SNGLKUPREOP.
53610 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53614 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53616         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53617         of individual tests.
53618         (casin_test): Likewise.
53619         (casinh_test): Likewise.
53621 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53623         [BZ #15409]
53624         * math/s_catan.c (__catan): Handle arguments with large real or
53625         imaginary part separately without squaring.
53626         * math/s_catanf.c (__catanf): Likewise.
53627         * math/s_catanh.c (__catanh): Likewise.
53628         * math/s_catanhf.c (__catanhf): Likewise.
53629         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53630         and redefine.
53631         (__catanhl): Handle arguments with large real or imaginary part
53632         separately without squaring.
53633         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53634         and redefine.
53635         (__catanl): Handle arguments with large real or imaginary part
53636         separately without squaring.
53637         * math/libm-test.inc (catan_test): Add more tests.
53638         (catanh_test): Likewise.
53639         * sysdeps/i386/fpu/libm-test-ulps: Update.
53640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53642 2013-04-27  Andreas Jaeger  <aj@suse.de>
53644         [BZ #15007]
53645         * stdlib/stdlib.h: Update guards for qecvt.
53646         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53647         <stdlib.h>.
53649 2013-04-27  Allan McRae  <allan@archlinux.org>
53651         * sysdeps/i386/fpu/libm-test-ulps: Update.
53653 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53655         [BZ #15406]
53656         * math/s_catan.c: Include <float.h>.
53657         (__catan): Ensure underflow exception occurs for underflowed
53658         result.
53659         * math/s_catanf.c: Include <float.h>.
53660         (__catanf): Ensure underflow exception occurs for underflowed
53661         result.
53662         * math/s_catanh.c: Include <float.h>.
53663         (__catanh): Ensure underflow exception occurs for underflowed
53664         result.
53665         * math/s_catanhf.c: Include <float.h>.
53666         (__catanhf): Ensure underflow exception occurs for underflowed
53667         result.
53668         * math/s_catanhl.c: Include <float.h>.
53669         (__catanhl): Ensure underflow exception occurs for underflowed
53670         result.
53671         * math/s_catanl.c: Include <float.h>.
53672         (__catanl): Ensure underflow exception occurs for underflowed
53673         result.
53674         * math/libm-test.inc (catan_test): Add more tests.
53675         (catanh_test): Likewise.
53677         [BZ #15405]
53678         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53679         underflowed result.
53680         * math/s_ccoshf.c (__ccoshf): Likewise.
53681         * math/s_ccoshl.c (__ccoshl): Likewise.
53682         * math/s_csin.c (__csin): Likewise.
53683         * math/s_csinf.c (__csinf): Likewise.
53684         * math/s_csinh.c (__csinh): Likewise.
53685         * math/s_csinhf.c (__csinhf): Likewise.
53686         * math/s_csinhl.c (__csinhl): Likewise.
53687         * math/s_csinl.c (__csinl): Likewise.
53688         * math/libm-test.inc (ccos_test): Add more tests.
53689         (ccosh_test): Likewise.
53690         (csin_test): Likewise.
53691         (csinh_test): Likewise.
53693 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53695         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53696         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53697         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53698         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53699         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53700         powerpc/power5+/fpu folders.
53701         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53704 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53708 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53710         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53711         additions to variable.
53712         [$(config-machine) = x86_64] (modules-names): Likewise.
53713         ($(objpfx)tst-audit3): Remove dependency.
53714         ($(objpfx)tst-audit3.out): Likewise.
53715         ($(objpfx)tst-audit4): Likewise.
53716         ($(objpfx)tst-audit4.out): Likewise.
53717         ($(objpfx)tst-audit5): Likewise.
53718         ($(objpfx)tst-audit5.out): Likewise.
53719         ($(objpfx)tst-audit6): Likewise.
53720         ($(objpfx)tst-audit6.out): Likewise.
53721         ($(objpfx)tst-audit7): Likewise.
53722         ($(objpfx)tst-audit7.out): Likewise.
53723         (tst-audit3-ENV): Remove variable.
53724         (tst-audit4-ENV): Likewise.
53725         (tst-audit5-ENV): Likewise.
53726         (tst-audit6-ENV): Likewise.
53727         (tst-audit7-ENV): Likewise.
53728         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53729         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53730         addition to variable.
53731         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53732         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53733         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53734         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53736         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53737         tst-audit3, tst-audit4 and tst-audit5.
53738         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53739         tst-audit6 and tst-audit7.
53740         [$(subdir) = elf] (modules-names): Add audit modules for those
53741         tests.
53742         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53743         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53744         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53745         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53746         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53747         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53748         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53749         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53750         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53751         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53752         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53753         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53754         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53755         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53756         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53757         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53758         Likewise.
53759         [$(subdir) = elf && $(config-cflags-avx) = yes]
53760         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53761         [$(subdir) = elf && $(config-cflags-avx) = yes]
53762         (CFLAGS-tst-auditmod4a.c): Likewise.
53763         [$(subdir) = elf && $(config-cflags-avx) = yes]
53764         (CFLAGS-tst-auditmod4b.c): Likewise.
53765         [$(subdir) = elf && $(config-cflags-avx) = yes]
53766         (CFLAGS-tst-auditmod6b.c): Likewise.
53767         [$(subdir) = elf && $(config-cflags-avx) = yes]
53768         (CFLAGS-tst-auditmod6c.c): Likewise.
53769         [$(subdir) = elf && $(config-cflags-avx) = yes]
53770         (CFLAGS-tst-auditmod7b.c): Likewise.
53771         * elf/tst-audit3.c: Move to ...
53772         * sysdeps/x86_64/tst-audit3.c: ... here.
53773         * elf/tst-audit4.c: Move to ...
53774         * sysdeps/x86_64/tst-audit4.c: ... here.
53775         * elf/tst-audit5.c: Move to ...
53776         * sysdeps/x86_64/tst-audit5.c: ... here.
53777         * elf/tst-audit6.c: Move to ...
53778         * sysdeps/x86_64/tst-audit6.c: ... here.
53779         * elf/tst-audit7.c: Move to ...
53780         * sysdeps/x86_64/tst-audit7.c: ... here.
53781         * elf/tst-auditmod3a.c: Move to ...
53782         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53783         * elf/tst-auditmod3b.c: Move to ...
53784         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53785         * elf/tst-auditmod4a.c: Move to ...
53786         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53787         * elf/tst-auditmod4b.c: Move to ...
53788         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53789         * elf/tst-auditmod5a.c: Move to ...
53790         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53791         * elf/tst-auditmod5b.c: Move to ...
53792         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53793         * elf/tst-auditmod6a.c: Move to ...
53794         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53795         * elf/tst-auditmod6b.c: Move to ...
53796         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53797         * elf/tst-auditmod6c.c: Move to ...
53798         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53799         * elf/tst-auditmod7a.c: Move to ...
53800         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53801         * elf/tst-auditmod7b.c: Move to ...
53802         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53804 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53806         [BZ #15366]
53807         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53808         define unconditionally.
53809         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53810         define unconditionally.
53811         (INT8_C, INT16_C, etc.): Likewise.
53813 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53815         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53816         __ehdr_start with hidden visibility.
53818         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53820 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53822         * math/libm-test.inc (cos_test): Use accurate hex constants.
53823         (sincost_test): Likewise.
53825 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53827         * math/libm-test.inc (catan_test): Add more tests.
53828         (catanh_test): Likewise.
53830         * math/s_catanf.c (__catanf): Use suffixed floating-point
53831         constants.
53832         * math/s_catanhf.c (__catanhf): Likewise.
53833         * math/s_catanhl.c (__catanhl): Likewise.
53834         * math/s_catanl.c (__catanl): Likewise.
53836         [BZ #15394]
53837         * math/s_catan.c (__catan): Calculate imaginary part of result
53838         with log1p not log unless computing log of number close to 0.
53839         * math/s_catanf.c (__catanf): Likewise.
53840         * math/s_catanl.c (__catanl): Likewise.
53841         * math/s_catanh.c (__catanh): Calculate real part of result with
53842         log1p not log unless computing log of number close to 0.
53843         * math/s_catanhf.c (__catanhf): Likewise.
53844         * math/s_catanhl.c (__catanhl): Likewise.
53845         * math/libm-test.inc (catan_test): Add more tests.
53846         (catanh_test): Likewise.
53847         * sysdeps/i386/fpu/libm-test-ulps: Update.
53848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53850 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53852         * benchtests/Makefile: Mention files in which fast and slow
53853         paths of math functions are implemented.
53855 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53857         * sysdeps/posix/timespec_get.c: New file.
53859 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53861         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53862         POWER.
53863         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53864         for POWER.
53865         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53866         powerpc/power5/fpu folders.
53867         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53868         * benchtests/Makefile: Add modf testcase.
53869         * benchtests/bench-modf.c: New file: Benchmark test for mo
53871 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53873         [BZ #14888]
53874         * time/Makefile (tests): Add tst-strptime-whitespace.
53875         * time/strptime_l.c (get_number): Use ISSPACE.
53876         (__strptime_internal): Likewise.
53877         * time/tst-strptime-whitespace.c: New test case.
53879 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53881         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53882         member.
53883         (_nss_files_init): Set it here.
53885 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53887         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53888         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53889         unsigned.
53891 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53893         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53895 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53897         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53898         size just once.
53900 2013-04-21  David S. Miller  <davem@davemloft.net>
53902         * po/ru.po: Update Russion translation from translation project.
53904 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53906         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53907         and setfsgid.
53909 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53911         * configure.in: Remove i386 configure warning. Remove i386 case.
53912         * configure: Regenerate.
53913         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53914         Add example to error message.
53915         * sysdeps/i386/configure: Regenerate.
53917 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53919         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53920         slowtan.
53921         * benchtests/cos-inputs: New file.
53922         * benchtests/slowcos-inputs: New file.
53923         * benchtests/slowcos.c: New file.
53924         * benchtests/slowtan-inputs: New file.
53925         * benchtests/slowtan.c: New file.
53926         * benchtests/tan-inputs: New file.
53928 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53930         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53931         considered kosher.
53933 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53935         * benchtests/Makefile: Include cppflags-iterator.mk to add
53936         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53938         * Makefile.in (bench-clean): New target.
53939         * benchtests/Makefile (bench-clean): Likewise.
53941 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53943         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53945 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53947         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53949 2013-04-15  Andreas Schwab  <schwab@suse.de>
53951         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53952         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53953         * nscd/pwdcache.c (cache_addpw): Likewise.
53954         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53955         more than recsize.
53957 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53959         * benchtests/Makefile (bench): Write all output to
53960         bench-out.tmp together.
53962 2013-04-15  Andreas Schwab  <schwab@suse.de>
53964         * nscd/nscd.c (main): Don't fork again after closing files.
53966 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53968         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53970         * benchtests/Rules (bench-deps): Collect dependencies into a
53971         single variable.  Add Makefile to dependencies.
53972         ($(objpfx)bench-%.c): Depend on bench-deps.
53974 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53975             Xavier Roche  <roche+kml2@exalead.com>
53977         [BZ #15361]
53978         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53979         just that it's a file descriptor.
53980         * manual/llio.texi (Synchronizing AIO Operations): Update description
53981         for EBADF error from aio_fsync.
53983 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53985         * Rules (bench): Move target definition...
53986         * benchtests/Makefile: ... here.
53988 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53990         * math/libm-test.inc (cos_test): Fix PI/2 test.
53991         (sincos_test): Likewise.
53992         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53993         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53995 2013-04-11  Andreas Schwab  <schwab@suse.de>
53997         [BZ #13988]
53998         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53999         accept exponent character only when digits were seen.
54000         * stdio-common/Makefile (tests): Add bug26.
54001         * stdio-common/bug26.c: New file.
54003         [BZ #14293]
54004         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54005         non-freeable.
54007 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54009         * Makeconfig (rtld-prefix): Define built linker prefix.
54010         * Rules (run-bench): Use it.
54011         * math/Makefile (run-regen-ulps): Likewise.
54013         * Rules (bench): Remove eval.
54015 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54016             Roland McGrath  <roland@hack.frob.com>
54017             Ondrej Bilka  <neleai@seznam.cz>
54019         [BZ #15346]
54020         * time/getdate.c: Include ctype.h and alloca.h.
54021         (__getdate_r): Trim leading and trailing spaces of input.
54022         * time/tst-getdate.c (tests): Add tests with leading and
54023         trailing spaces.
54025 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54027         [BZ #14280]
54028         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54029         when computing value.
54031 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54033         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54034         Use testrun.sh to run libm tests.
54036         [BZ #15309]
54037         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54039 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54041         [BZ #15264]
54042         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54044 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54046         * Makefile.in (regen-ulps): New target.
54047         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54048         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54049         [ifneq (no,$(PERL)] (regen-ulps): New target.
54050         [ifeq (no,$(PERL)] (regen-ulps): New target.
54051         * math/libm-test.inc (ulps_file_name): Define.
54052         (output_dir): New variable.
54053         (options): Add "output-dir" option.
54054         (parse_opt): Handle 'o' case.
54055         (main): If output_dir is non-NULL use it as a prefix
54056         otherwise use "".
54057         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54059 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54061         [BZ #10060, #10062]
54062         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54063         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54064         fail configure if __sync_val_compare_and_swap is not inlined.
54065         * sysdeps/i386/configure: Regenerate.
54066         * configure.in: Build for i686 when configured for i386.
54067         * configure: Regenerate.
54068         * README: Remove i386 reference.
54070 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54072         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54073         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54075 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54077         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54078         (lmsnanval): New variables.
54079         (F): Add conversion tests.
54080         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54081         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54083         * stdio-common/tstdiomisc.c (F): Properly collect individual
54084         tests' results.
54086         [BZ #14686, #15336]
54087         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54088         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54089         Instead, use input NaN values or generate a qNaN by arithmetic
54090         operation.  Also fix bugs to comply with the standard.
54091         * math/libm-test.inc (remainder_test): Add more tests.
54093         [BZ #15335, #15342]
54094         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54096         input NaN values or generate a qNaN by arithmetic operation.
54098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54099         unreachable code.
54101         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54102         definitions.
54104 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54106         [BZ #14478]
54107         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54108         underflowed result.
54109         * math/s_cexpf.c (__cexpf): Likewise.
54110         * math/s_cexpl.c (__cexpl): Likewise.
54111         * math/libm-test.inc (cexp_test): Add more tests.
54113 2013-04-03  Andreas Schwab  <schwab@suse.de>
54115         [BZ #15330]
54116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54117         order arrays from heap if bigger than alloca cutoff.
54119 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54121         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54122         (SNAN_TESTS_double): Refer to GCC PR56831.
54123         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54124         GCC PR56828.
54126 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54128         * Rules (bench): Move bench.out after the run is complete.
54130         * Rules (bench): Echo currently running benchmark.
54132         * benchtests/Makefile (bench): Add atan and slowatan.
54133         * benchtests/atan-inputs: New file.
54134         * benchtests/slowatan-inputs: New file.
54135         * benchtests/slowatan.c: New file.
54137         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54138         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54139         its value.
54141         [BZ #15305]
54142         * sysdeps/unix/sysv/linux/kernel-features.h
54143         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54144         __ASSUME_XFS_RESTRICTED_CHOWN.
54145         * sysdeps/unix/sysv/linux/pathconf.c
54146         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54147         Save and restore errno.
54149 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54151         [BZ #15327]
54152         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54153         arguments using __kernel_casinh.
54154         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54155         arguments using __kernel_casinhf.
54156         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54157         arguments using __kernel_casinhl.
54158         * math/libm-test.inc (cacosh_test): Add more tests.
54159         * sysdeps/i386/fpu/libm-test-ulps: Update.
54160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54162 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54164         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54165         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54167         * bench/Makefile (bench): Add sin and slowsin.
54168         * benchtests/sin-inputs: New file.
54169         * benchtests/slowsin-inputs: New file.
54170         * benchtests/slowsin.c: New file.
54172         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54173         (bench): Add slowexp and slowpow.
54174         (exp-ITER): Increase iterations.
54175         (pow-ITER): Likewise.
54176         * benchtests/exp-inputs: Change input.
54177         * benchtests/pow-inputs: Likewise.
54178         * benchtests/slowexp-inputs: New file.
54179         * benchtests/slowexp.c: New file.
54180         * benchtests/slowpow-inputs: New file.
54181         * benchtests/slowpow.c: New file.
54183 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54185         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54186         instructions.
54187         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54188         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54189         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54190         * benchtests/Makefile: Add rint benchtest.
54191         * benchtests/rint-inputs: Input for rint benchtest.
54193 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54195         * Versions.def (libm): Add GLIBC_2.18.
54196         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54197         hidden libm prototypes.
54198         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54199         * math/Makefile (libm-calls): Add s_issignaling.
54200         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54201         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54202         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54203         declaration.
54204         * math/math.h [__USE_GNU] (issignaling): New macro.
54205         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54206         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54208         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54211         * manual/arith.texi (issignaling): New section.
54212         * manual/libm-err-tab.pl (@all_functions): Update comment.
54213         * math/gen-libm-test.pl (parse_args): Apply special handling for
54214         issignaling.
54215         * math/libm-test.inc (print_float, issignaling_test): New
54216         functions.
54217         (check_float_internal): Add issignaling checks.
54218         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54219         default definition.
54220         * sysdeps/powerpc/math-tests.h: New file.
54221         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54222         tests.
54223         * math/test-snan.c (TEST_FUNC): Likewise.
54225 2013-03-30  David S. Miller  <davem@davemloft.net>
54227         * po/de.po: Update from translation team.
54229 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54231         [BZ #10357]
54232         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54233         imaginary part less than 1.0 and real part less than 0.5
54234         specially.
54235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54237         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54238         (cacos_test): Add more tests.
54239         (casin_test): Likewise.
54240         (casinh_test): Likewise.
54241         * sysdeps/i386/fpu/libm-test-ulps: Update.
54242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54244 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54246         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54247         ONE with its value.
54249         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54250         (__pow_mp): Replace ONE and MONE with their values.
54251         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54253         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54254         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54255         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54256         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54258         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54260         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54261         (__pow_mp): Replace ZERO and MZERO with their values.
54262         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54263         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54264         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54266         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54267         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54268         (__sqr): Likewise.
54270         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54272         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54274 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54276         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54277         Declare with __attribute__ ((weak)).
54278         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54279         Call __call_tls_dtors only if it's not NULL.
54281 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54283         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54284         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54285         magic __ehdr_start linker symbol if it's defined.
54286         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54287         them up here if it was already done.
54289         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54290         (_dl_aux_init): Use const in cast when setting it.
54291         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54292         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54293         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54295         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54296         Declare them here.
54297         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54298         * csu/libc-tls.c: Nor here.
54299         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54301         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54302         (__libc_message): Never call vsyslog.
54304 2013-03-28  Alan Modra  <amodra@gmail.com>
54306         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54307         Define as empty.
54308         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54309         Likewise.
54311 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54313         [BZ #15214]
54314         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54315         underflow.
54316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54318 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54320         [BZ #15304]
54321         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54322         Don't add gid passed as argument.
54324         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54326 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54328         [BZ #15307]
54329         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54330         imaginary part between 1.0 and 1.5 and real part less than 0.5
54331         specially.
54332         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54333         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54334         * math/libm-test.inc (cacos_test): Add more tests.
54335         (casin_test): Likewise.
54336         (casinh_test): Likewise.
54337         * sysdeps/i386/fpu/libm-test-ulps: Update.
54338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54340 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54342         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54343         constants.
54344         (norm): Likewise.
54345         (denorm): Likewise.
54346         (__dbl_mp): Likewise.
54347         (add_magnitudes): Likewise.
54348         (sub_magnitudes): Likewise.
54349         (__add): Likewise.
54350         (__sub): Likewise.
54351         (__mul): Likewise.
54352         (__sqr): Likewise.
54353         (__inv): Likewise.
54354         (__dvd): Likewise.
54356         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54357         commented code.
54358         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54359         (__dubcos): Likewise.
54360         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54361         (__ieee754_acos): Likewise.
54362         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54363         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54364         (__exp1): Likewise.
54365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54367         (log1): Likewise.
54368         (my_log2): Likewise.
54369         (checkint): Likewise.
54370         * sysdeps/ieee754/dbl-64/e_remainder.c
54371         (__ieee754_remainder): Likewise.
54372         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54374         (bsloww): Likewise.
54375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54377         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54378         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54379         MANTISSA_STORE_T to store computations on mantissa.  Use
54380         macros for rounding and division.
54381         (denorm): Likewise.
54382         (__dbl_mp): Likewise.
54383         (add_magnitudes): Likewise.
54384         (sub_magnitudes): Likewise.
54385         (__mul): Likewise.
54386         (__sqr): Likewise.
54387         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54388         powers of two in terms of TWOPOW macro.
54389         (mp_no): Make type of mantissa as MANTISSA_T.
54390         [!RADIXI]: Define RADIXI.
54391         [!TWO52]: Define TWO52.
54392         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54394 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54396         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54397         llroundl symbol when building for PPC32.
54399 2013-03-24  Mark H Weaver  <mhw@netris.org>
54401         * manual/arith.texi (Normalization Functions): Fix prototypes for
54402         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54404 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54406         [BZ #13889]
54407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54408         high value to check if expl overflow.
54409         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54410         to check for underflow and overflow.
54411         * math/libm-test.inc: Add exp test.
54413 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54415         [BZ #11120]
54416         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54417         with NOT_IN_libc.
54419 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54421         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54422         symbol.
54424 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54426         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54427         wrap blocks consisting of several statements.
54429         * sysdeps/generic/math-tests.h: New file.
54430         * sysdeps/i386/fpu/math-tests.h: Likewise.
54431         * math/test-snan.c: Include it.
54432         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54434 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54436         [BZ #15285]
54437         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54438         (__ieee754_j0l): Do not improve calculations using cos of twice
54439         input for inputs above LDBL_MAX / 2.0L.
54440         (__ieee754_y0l): Likewise.
54441         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54442         (__ieee754_j1l): Do not improve calculations using cos of twice
54443         input for inputs above LDBL_MAX / 2.0L.
54444         (__ieee754_y1l): Likewise.
54445         * math/libm-test.inc (j0_test): Add another test.
54446         (j1_test): Likewise.
54447         (y0_test): Likewise.
54448         (y1_test): Likewise.
54449         * sysdeps/i386/fpu/libm-test-ulps: Update.
54451 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54453         * Rules ($(objpfx)bench-%.c): Include code from a C source
54454         file.
54456 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54458         [BZ #15287]
54459         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54460         imaginary part 1.0 and real part less than 0.5 specially.
54461         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54462         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54463         * math/libm-test.inc (cacos_test): Add more tests.
54464         (casin_test): Likewise.
54465         (casinh_test): Likewise.
54466         * sysdeps/i386/fpu/libm-test-ulps: Update.
54467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54469 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54471         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54472         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54474 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54476         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54477         * config.make.in (config-cflags-sse4): Remove variable.
54478         (config-cflags-avx): Likewise.
54479         (config-cflags-sse2avx): Likewise.
54480         (config-cflags-novzeroupper): Likewise.
54481         (config-asflags-i686): Likewise.
54482         (have-mfma4): Likewise.
54483         (have-as-vis3): Likewise.
54484         (MIG): Likewise.
54485         * configure.in (MIG): Do not AC_SUBST.
54486         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54487         (libc_cv_cc_sse4): Do not AC_SUBST.
54488         (libc_cv_cc_avx): Likewise.
54489         (libc_cv_cc_sse2avx): Likewise.
54490         (libc_cv_cc_novzeroupper): Likewise.
54491         (libc_cv_cc_fma4): Likewise.
54492         (libc_cv_as_i686): Likewise.
54493         (libc_cv_sparc_as_vis3): Likewise.
54494         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54495         LIBC_CONFIG_VAR.
54496         (config-asflags-i686): Likewise.
54497         (config-cflags-avx): Likewise.
54498         (config-cflags-sse2avx): Likewise.
54499         (have-mfma4): Likewise.
54500         (config-cflags-novzeroupper): Likewise.
54501         * sysdeps/mach/configure.in (MIG): Likewise.
54502         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54503         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54504         LIBC_CONFIG_VAR.
54505         (config-cflags-avx): Likewise.
54506         (config-cflags-sse2avx): Likewise.
54507         (have-mfma4): Likewise.
54508         (config-cflags-novzeroupper): Likewise.
54509         * configure: Regenerated.
54510         * sysdeps/i386/configure: Likewise.
54511         * sysdeps/mach/configure: Likewise.
54512         * sysdeps/sparc/configure: Likewise.
54513         * sysdeps/x86_64/configure: Likewise.
54515 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54517         [BZ #14812]
54518         * locale/programs/localedef.c (options): Put N_ translation marker
54519         on argument names, not just descriptions.
54521 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54523         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54525 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54527         [BZ #14176]
54528         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54530 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54532         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54533         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54534         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54535         [!BEFORE_ABORT] (before_abort): New function.
54536         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54537         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54538         (writev_for_fatal): New function.
54539         (WRITEV_FOR_FATAL): New macro; call that.
54540         (backtrace_and_maps): New function.
54541         (BEFORE_ABORT): New macro; call that.
54542         (struct str_list): Type removed.
54543         (__libc_message, __libc_fatal): Functions removed.
54544         Include <sysdeps/posix/libc_fatal.c> instead.
54546 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54548         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54549         constants.
54550         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54551         double constants.
54553 2013-03-19  Andreas Schwab  <schwab@suse.de>
54555         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54556         * sysdeps/gnu/configure: Regenerate.
54558         * configure.in: Substitute libc_cv_rtlddir.
54559         * configure: Regenerate.
54560         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54561         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54562         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54563         * elf/Makefile (install-others, CFLAGS-interp.c)
54564         (ldso_install, common-ldd-rewrite): Likewise.
54565         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54566         $(inst_slibdir)/$(rtld-installed-name).
54567         * scripts/rellns-sh: Add -p option.
54568         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54569         for source.
54571 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54573         * manual/nptl.texi: Renamed to ...
54574         * manual/threads.texi: ... this.
54575         * manual/Makefile (chapters): Update.
54577 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54579         [BZ #14812]
54580         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54581         on argument names, not just descriptions.
54582         * malloc/memusagestat.c (options): Likewise.
54583         * nss/getent.c (options): Likewise.
54585 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54587         [BZ #14812]
54588         * iconv/iconv_prog.c (options): Put N_ translation marker
54589         on argument names, not just descriptions.
54590         * iconv/iconvconfig.c (options): Likewise.
54592 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54594         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54595         implementation which is faster on all x86_64 architectures.
54596         Tested on AMD, Intel Nehalem, SNB, IVB.
54597         * sysdeps/x86_64/strnlen.S: Likewise.
54599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54600         Remove all multiarch strlen and strnlen versions.
54601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54602         Remove strlen and strnlen related parts.
54604         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54605         Inline strlen part.
54606         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54608         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54609         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54610         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54611         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54612         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54613         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54615 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54617         * manual/memory.texi (Malloc Tunable Parameters):
54618         Sort parameters alphabetically. Add comments for missing entries.
54620 2013-03-17  David S. Miller  <davem@davemloft.net>
54622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54624 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #15283]
54627         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54628         for arguments at most half maximum finite value.
54629         * math/libm-test.inc (j0_test): Add more tests.
54630         (j1_test): Likewise.
54631         (y0_test): Likewise.
54632         (y1_test): Likewise.
54633         * sysdeps/i386/fpu/libm-test-ulps: Update.
54634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54636         [BZ #14155]
54637         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54638         1 / x and functions P and Q for arguments above 0x1p256L.
54639         (__ieee754_y0l): Likewise.
54640         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54641         (__ieee754_y1l): Likewise.
54642         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54643         (j1_test): Likewise.
54644         (y0_test): Likewise.
54645         (y1_test): Likewise.
54647 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54649         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54650         variable.
54652 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54654         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54655         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54656         zero since it's initialized to EXEC_PAGESIZE.
54658         * sysdeps/unix/sysv/linux/ldsodefs.h
54659         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54660         * sysdeps/generic/ldsodefs.h: ... here.
54662 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54664         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54666         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54667         math/test-snan.c.
54668         * math/test-snan.c: Renamed from
54669         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54670         * math/Makefile (tests): Add test-snan.
54671         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54672         test-powerpc-snan.
54674         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54675         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54676         functions.
54677         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54678         __builtin_nan family of functions.
54679         * math/libm-test.inc (initialize): Initialize qnan_value with
54680         __builtin_nan family of functions.
54681         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54682         Remove variables.
54683         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54684         Remove functions.
54685         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54686         storage class.  Initialize qNaN_var and sNaN_var with
54687         __builtin_nan and __builtin_nans families of functions,
54688         respectively.
54690         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54691         (sqrt_test): Remove duplicate test with qNaN input.
54692         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54693         (round_test, signbit_test, significand_test): Note missing +/-Inf
54694         as well as qNaN tests.
54696         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54697         qNaN_var.  Fix a few strings, too.
54698         * math/libm-test.inc (nan_value): Rename to qnan_value.
54699         * math/gen-libm-test.pl (%beautify): Adjust to that.
54700         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54701         * math/test-misc.c (main): Likewise.
54702         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54703         to __qnan_bytes, and __qnan_union, respectively.
54704         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54705         Likewise.
54706         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54707         and lqnanval, respectively.
54708         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54709         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54710         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54711         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54713         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54714         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54715         doubles.
54717         * math/test-misc.c (main): Fix copy'n'pastos.
54718         * misc/tst-efgcvt.c (special): Likewise.
54720         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54721         Remove declarations.
54723 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54725         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54726         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54727         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54728         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54730 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54732         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54733         macro to return vdso values correctly in IFUNC implementations.
54734         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54735         Optimization by using IFUNC.
54737 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54738             Richard Henderson  <rth@redhat.com>
54739             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54741         * Makefile.in (bench): New target.
54742         * NEWS: Mention the benchmark framework.
54743         * Rules (bench): Likewise.
54744         (binaries-bench): Generate binaries for functions to
54745         benchmark.
54746         * benchtests/Makefile: New makefile for benchmark tests.
54747         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54748         programs.
54749         * benchtests/exp-inputs: New input file for EXP function.
54750         * benchtests/pow-inputs: New input file for POW function.
54751         * scripts/bench.pl: New script to generate source files for
54752         benchmark programs.
54754 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54756         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54757         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54758         computations on mantissa.  Use macros for rounding and
54759         division.
54760         (denorm): Likewise.
54761         (__dbl_mp): Likewise.
54762         (add_magnitudes): Likewise.
54763         (sub_magnitudes): Likewise.
54764         (__mul): Likewise.
54765         (__sqr): Likewise.
54766         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54767         powers of two in terms of TWOPOW macro.
54768         (mp_no): Make type of mantissa as MANTISSA_T.
54769         [!RADIXI]: Define RADIXI.
54770         [!TWO52]: Define TWO52.
54771         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54773         * manual/nptl.texi (cindex): Modify threads to pthreads.
54775 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54777         * sysdeps/x86_64/preconfigure: Regenerated.
54779 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54781         [BZ #14155]
54782         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54783         0x1p28 and above.
54784         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54785         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54786         0x1p28 and above.
54787         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54788         * math/libm-test.inc (j0_test): Do not allow one spurious
54789         underflow exception.
54790         (y1_test): Likewise.
54792 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54794         * manual/Makefile (chapters): Add nptl.
54795         * manual/debug.texi (Debugging Support): Add link to Threads
54796         chapter.
54797         * manual/nptl.texi: New file.
54799         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54801 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54803         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54804         for non-NULL pointer before the memory validity test. Pointed
54805         out by Holger Brunck <holger.brunck@keymile.com>.
54807 2013-03-13  Andreas Schwab  <schwab@suse.de>
54809         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54810         instead of .os.
54812 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54814         * timezone/zic.c: Update from tzcode 2013b.
54816 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54818         * manual/install.texi (Configuring and compiling):
54819         Mention i686 and i586.
54820         * INSTALL: Regenerate.
54822 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54824         * sysdeps/init_array/elf-init.c: New file.
54825         * csu/elf-init.c
54826         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54827         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54829         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54830         __gmon_start__ as global, but as static with a .preinit_array pointer.
54831         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54832         * sysdeps/init_array/crti.S: New file, empty except for comments.
54833         * sysdeps/init_array/crtn.S: Likewise.
54835 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54837         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54838         definining bcopy.
54839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54840         Remove Prefer_SSE_for_memop.
54841         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54842         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54843         HAS_PREFER_SSE_FOR_MEMOP.
54844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54845         memset-x86-64.
54846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54847         Remove bzero, memset ifunc support.
54848         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54849         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54853 2013-03-11  Andreas Schwab  <schwab@suse.de>
54855         [BZ #15234]
54856         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54857         by SHLIB_COMPAT.
54858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54859         (GLIBC_2.16): Remove pthread_atfork.
54861 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54863         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54864         (ptestcases.h): Likewise.
54866 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54868         * Makeconfig ($(common-objpfx)config.status): Depend on
54869         sysdeps/*/preconfigure{,.in} too.
54871 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54873         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54874         (__free_hook): Use void * instead of __malloc_ptr_t.
54875         (__malloc_hook): Likewise.
54876         (__realloc_hook): Likewise.
54877         (__memalign_hook): Likewise.
54878         (__after_morecore_hook): Likewise.
54879         * malloc/arena.c (save_malloc_hook): Likewise.
54880         (save_free_hook): Likewise.
54881         * malloc/hooks.c (malloc_hook_ini): Likewise.
54882         (realloc_hook_ini): Likewise.
54883         (memalign_hook_ini): Likewise.
54884         * malloc/malloc.c (malloc_hook_ini): Likewise.
54885         (realloc_hook_ini): Likewise.
54886         (memalign_hook_ini): Likewise.
54887         (__free_hook): Likewise.
54888         (__malloc_hook): Likewise.
54889         (__realloc_hook): Likewise.
54890         (__memalign_hook): Likewise.
54891         (__libc_malloc): Likewise.
54892         (__libc_free): Likewise.
54893         (__libc_realloc): Likewise.
54894         (__libc_memalign): Likewise.
54895         (__libc_valloc): Likewise.
54896         (__libc_pvalloc): Likewise.
54897         (__libc_calloc): Likewise.
54898         (__posix_memalign): Likewise.
54899         * malloc/morecore.c (__sbrk): Likewise.
54900         (__default_morecore): Likewise.
54902         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54904         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54905         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54906         __malloc_ptrdiff_t.
54908         * malloc/malloc.h (__malloc_size_t): Remove macro.
54909         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54910         __malloc_size_t.
54911         (old_memalign_hook): Likewise.
54912         (old_realloc_hook): Likewise.
54913         (struct hdr): Likewise.
54914         (flood): Likewise.
54915         (mallochook): Likewise.
54916         (memalignhook): Likewise.
54917         (reallochook): Likewise.
54918         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54919         (tr_old_realloc_hook): Likewise.
54920         (tr_old_memalign_hook): Likewise.
54921         (tr_mallochook): Likewise.
54922         (tr_reallochook): Likewise.
54923         (tr_memalignhook): Likewise.
54925 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54928         default_ldbl_pack and using as default implementation.
54929         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54930         implementation.
54931         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54932         redundant definition.
54933         (ldbl_insert_mantissa): Likewise.
54934         (ldbl_canonicalize): Likewise.
54935         (ldbl_nearbyint): Likewise.
54936         (ldbl_pack): Rename to ldbl_pack_ppc.
54937         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54938         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54939         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54941 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54944         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54945         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54946         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54949         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54950         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54952 2013-03-07  Andreas Jaeger  <aj@suse.de>
54954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54955         bits/mman-linux.h.
54957 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54959         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54960         Include mpa.h and declare __MPEXP.
54961         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54962         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54963         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54964         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54965         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54966         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54967         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54969         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54970         (__slowpow): Use long double EXPL and LOGL functions to
54971         compute POW.
54972         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54973         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54974         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54975         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54976         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54977         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54980         intermediate variable to calculate exponent.
54981         (__sqr): Likewise.
54982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54983         Likewise.
54984         (__sqr): Likewise.
54986         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54987         [!NO__SQR]: Define __sqr.
54988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54989         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54990         sysdeps/ieee754/dbl-64/mpa.c.
54991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54993         [BZ #12723]
54994         * posix/Makefile (tests): Add tst-pathconf.
54995         * posix/tst-pathconf.c: New test case.
54996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54997         _PC_PIPE_BUF.
54998         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55000 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55002         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55004 2013-03-06  Andreas Jaeger  <aj@suse.de>
55006         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55007         definition via __MAP_ANONYMOUS.
55009         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55010         it's not part of Linux headers.
55012         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55013         (MAP_HUGE_MASK): Define.
55015         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55016         Define.
55017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55019         Define.
55020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55021         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55022         Define.
55023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55024         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55025         Define.
55026         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55028         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55029         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55030         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55031         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55032         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55033         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55036         Handle f2fs.
55038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55039         Handle f2fs and efivarfs.
55041         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55042         f2fs.
55044         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55045         (EFIVARFS_MAGIC): Add.
55046         (F2FS_LINK_MAX): Add.
55048 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55050         * stdio-common/vfprintf.c: Replace __builtin_expect with
55051         __glibc_unlikely.
55053 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55055         [BZ #13550]
55056         * sysdeps/generic/bp-sym.h: Remove file.
55057         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55058         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55059         <bp-sym.h> and <bp-asm.h>.
55060         (__longjmp): Don't use BP_SYM.
55061         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55062         and <bp-asm.h>.
55063         (memcpy): Don't use BP_SYM.
55064         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55065         <bp-sym.h> and <bp-asm.h>.
55066         (memcpy): Don't use BP_SYM.
55067         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55068         <bp-asm.h>.
55069         (memcpy): Don't use BP_SYM.
55070         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55071         <bp-asm.h>.
55072         (memset): Don't use BP_SYM.
55073         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55074         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55075         (__bzero): Don't use BP_SYM.
55076         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55077         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55078         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55079         <bp-sym.h> and <bp-asm.h>.
55080         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55081         pointers.
55082         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55083         <bp-sym.h> and <bp-asm.h>.
55084         (memcpy): Don't use BP_SYM.
55085         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55086         <bp-sym.h> and <bp-asm.h>.
55087         (memset): Don't use BP_SYM.
55088         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55089         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55090         (__bzero): Don't use BP_SYM.
55091         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55092         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55093         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55094         <bp-sym.h> and <bp-asm.h>.
55095         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55096         pointers.
55097         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55098         <bp-sym.h> and <bp-asm.h>.
55099         (memcpy): Don't use BP_SYM.
55100         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55101         <bp-sym.h> and <bp-asm.h>.
55102         (memset): Don't use BP_SYM.
55103         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55104         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55105         (__bzero): Don't use BP_SYM.
55106         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55107         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55108         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55109         <bp-sym.h> and <bp-asm.h>.
55110         (__memchr): Don't use BP_SYM.
55111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55112         <bp-sym.h> and <bp-asm.h>.
55113         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55114         pointers.
55115         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55116         <bp-sym.h> and <bp-asm.h>.
55117         (memcpy): Don't use BP_SYM.
55118         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55119         <bp-sym.h> and <bp-asm.h>.
55120         (__mempcpy): Don't use BP_SYM.
55121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55122         <bp-sym.h> and <bp-asm.h>.
55123         (__memrchr): Don't use BP_SYM.
55124         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55125         <bp-sym.h> and <bp-asm.h>.
55126         (memset): Don't use BP_SYM.
55127         (__bzero): Likewise.
55128         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55129         <bp-sym.h> and <bp-asm.h>.
55130         (__rawmemchr): Don't use BP_SYM.
55131         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55132         <bp-sym.h> and <bp-asm.h>.
55133         (__STRCMP): Don't use BP_SYM.
55134         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55135         <bp-sym.h> and <bp-asm.h>.
55136         (strchr): Don't use BP_SYM.
55137         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55138         <bp-sym.h> and <bp-asm.h>.
55139         (__strchrnul): Don't use BP_SYM.
55140         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55141         <bp-sym.h> and <bp-asm.h>.
55142         (strlen): Don't use BP_SYM.
55143         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55144         <bp-sym.h> and <bp-asm.h>.
55145         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55146         pointers.
55147         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55148         <bp-sym.h> and <bp-asm.h>.
55149         (__strnlen): Don't use BP_SYM.
55150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55151         <bp-sym.h> and <bp-asm.h>.
55152         (__GI__setjmp): Don't use BP_SYM.
55153         (_setjmp): Likewise.
55154         (__sigsetjmp): Likewise.
55155         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55156         (L(start_addresses)): Don't use BP_SYM.
55157         (_start): Likewise.
55158         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55159         <bp-asm.h>.
55160         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55161         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55162         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55163         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55164         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55165         <bp-asm.h>.
55166         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55167         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55168         about bounded pointers.
55169         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55170         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55171         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55172         <bp-asm.h>.
55173         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55174         about bounded pointers.  Remove GKM FIXME comments.
55175         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55176         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55177         <bp-asm.h>.
55178         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55179         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55180         Remove GKM FIXME comments.
55181         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55182         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55183         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55184         <bp-asm.h>.
55185         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55186         about bounded pointers.  Remove GKM FIXME comment.
55187         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55188         and <bp-asm.h>.
55189         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55190         pointers.
55191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55192         <bp-sym.h> and <bp-asm.h>.
55193         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55195         <bp-sym.h> and <bp-asm.h>.
55196         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55197         comment.
55199 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55201         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55202         call free(NULL).
55204 2013-03-05  David S. Miller  <davem@davemloft.net>
55206         * po/es.po: Update from translation team.
55208 2013-03-05  Andreas Jaeger  <aj@suse.de>
55210         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55211         <bits/mman-linux.h>.
55212         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55213         is fine.
55214         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55215         <bits/mman-linux.h> to end of file.
55216         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55217         is fine.
55218         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55219         <bits/mman-linux.h> to end of file.
55220         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55221         is fine.
55222         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55223         <bits/mman-linux.h> to end of file.
55225         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55226         (MCL_CURRENT, MCL_FUTURE): Define here.
55228 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55230         [BZ #15232]
55231         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55232         attribute_hidden.
55233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55235 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55237         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55238         fourth parameter needed for rt_sigprocmask syscall.
55239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55240         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55242         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55243         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55244         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55246 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55248         [BZ #13550]
55249         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55250         comment about bounded pointers.
55251         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55252         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55254 2013-03-04  Andreas Jaeger  <aj@suse.de>
55256         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55257         common definitions.
55259         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55260         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55261         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55262         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55263         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55264         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55266 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55268         [BZ #15055]
55269         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55270         __ieee754_sqrl instead of __sqrl.
55272 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55274         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55275         * sysdeps/powerpc/fpu_control.h: ... here.
55276         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55277         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55278         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55279         * sysdeps/powerpc/bits/mathinline.h: ... here.
55281 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55283         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55284         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55285         to just [NEED_DL_SYSINFO_DSO].
55286         * elf/dl-support.c: Likewise.
55287         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55288         * elf/rtld.c (dl_main): Likewise.
55289         * elf/setup-vdso.h (setup_vdso): Likewise.
55290         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55291         * sysdeps/unix/sysv/linux/dl-sysdep.c
55292         (_dl_discover_osversion): Likewise.
55294 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55296         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55297         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55299 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55301         * NEWS: Mention libm performance improvements and non-x86 PI
55302         futex support.
55304         * csu/libc-start.c (__pthread_initialize_minimal): Change
55305         function arguments.
55306         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55308 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55310         [BZ #13550]
55311         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55312         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55313         <bp-sym.h> and <bp-asm.h>.
55314         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55315         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55316         and <bp-asm.h>.
55317         (memcpy): Don't use BP_SYM.
55318         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55319         <bp-asm.h>.
55320         (__mpn_add_n): Don't use BP_SYM.
55321         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55322         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55323         and <bp-asm.h>.
55324         (__mpn_addmul_1): Don't use BP_SYM.
55325         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55326         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55327         <bp-sym.h>.
55328         (_setjmp): Don't use BP_SYM.
55329         (__novmx_setjmp): Likewise.
55330         (__GI__setjmp): Likewise.
55331         (__vmx_setjmp): Likewise.
55332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55333         <bp-sym.h>.
55334         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55335         (__bzero): Don't use BP_SYM.
55336         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55337         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55338         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55339         <bp-sym.h> and <bp-asm.h>.
55340         (memcpy): Don't use BP_SYM.
55341         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55342         <bp-sym.h> and <bp-asm.h>.
55343         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55345         <bp-sym.h> and <bp-asm.h>.
55346         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55347         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55348         <bp-asm.h>.
55349         (__mpn_lshift): Don't use BP_SYM.
55350         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55351         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55352         <bp-asm.h>.
55353         (memset): Don't use BP_SYM.
55354         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55355         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55356         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55357         <bp-asm.h>.
55358         (__mpn_mul_1): Don't use BP_SYM.
55359         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55360         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55361         <bp-sym.h> and <bp-asm.h>.
55362         (memcmp): Don't use BP_SYM.
55363         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55364         <bp-sym.h> and <bp-asm.h>.
55365         (memcpy): Don't use BP_SYM.
55366         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55367         <bp-sym.h> and <bp-asm.h>.
55368         (memset): Don't use BP_SYM.
55369         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55370         <bp-sym.h> and <bp-asm.h>.
55371         (strncmp): Don't use BP_SYM.
55372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55373         <bp-sym.h> and <bp-asm.h>.
55374         (memcpy): Don't use BP_SYM.
55375         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55376         <bp-sym.h> and <bp-asm.h>.
55377         (memset): Don't use BP_SYM.
55378         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55379         <bp-sym.h> and <bp-asm.h>.
55380         (__memchr): Don't use BP_SYM.
55381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55382         <bp-sym.h> and <bp-asm.h>.
55383         (memcmp): Don't use BP_SYM.
55384         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55385         <bp-sym.h> and <bp-asm.h>.
55386         (memcpy): Don't use BP_SYM.
55387         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55388         <bp-sym.h> and <bp-asm.h>.
55389         (__mempcpy): Don't use BP_SYM.
55390         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55391         <bp-sym.h> and <bp-asm.h>.
55392         (__memrchr): Don't use BP_SYM.
55393         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55394         <bp-sym.h> and <bp-asm.h>.
55395         (memset): Don't use BP_SYM.
55396         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55397         <bp-sym.h> and <bp-asm.h>.
55398         (__rawmemchr): Don't use BP_SYM.
55399         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55400         <bp-sym.h> and <bp-asm.h>.
55401         (__STRCMP): Don't use BP_SYM.
55402         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55403         <bp-sym.h> and <bp-asm.h>.
55404         (strchr): Don't use BP_SYM.
55405         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55406         <bp-sym.h> and <bp-asm.h>.
55407         (__strchrnul): Don't use BP_SYM.
55408         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55409         <bp-sym.h> and <bp-asm.h>.
55410         (strlen): Don't use BP_SYM.
55411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55412         <bp-sym.h> and <bp-asm.h>.
55413         (strncmp): Don't use BP_SYM.
55414         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55415         <bp-sym.h> and <bp-asm.h>.
55416         (__strnlen): Don't use BP_SYM.
55417         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55418         <bp-asm.h>.
55419         (__mpn_rshift): Don't use BP_SYM.
55420         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55421         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55422         <bp-sym.h> and <bp-asm.h>.
55423         (__sigsetjmp): Don't use BP_SYM.
55424         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55425         (L(start_addresses)): Don't use BP_SYM.
55426         (_start): Likewise.
55427         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55428         <bp-asm.h>.
55429         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55430         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55431         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55432         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55433         <bp-asm.h>.
55434         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55435         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55436         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55437         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55438         <bp-asm.h>.
55439         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55440         comments.
55441         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55442         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55443         <bp-asm.h>.
55444         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55445         FIXME comments.
55446         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55447         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55448         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55449         <bp-asm.h>.
55450         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55451         comment.
55452         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55453         and <bp-asm.h>.
55454         (strncmp): Don't use BP_SYM,
55455         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55456         <bp-asm.h>.
55457         (__mpn_sub_n): Don't use BP_SYM.
55458         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55459         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55460         and <bp-asm.h>.
55461         (__mpn_submul_1): Don't use BP_SYM.
55462         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55464         <bp-sym.h> and <bp-asm.h>.
55465         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55467         <bp-sym.h> and <bp-asm.h>.
55468         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55469         comment.
55471 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55474         Use ZK to minimize writes to Z.
55475         (sub_magnitudes): Simplify code a bit.
55476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55477         Use ZK to minimize writes to Z.
55478         (sub_magnitudes): Simplify code a bit.
55480 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55482         * csu/gmon-start.c: Add special exception to license text.
55484 2013-02-27  Richard Henderson  <rth@redhat.com>
55486         * scripts/config.guess: Update from config.git.
55487         * scripts/config.sub: Likewise.
55489 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55493         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55495         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55497         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55499         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55501 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55503         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55504         [$(build-shared = yes].
55506 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55508         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55509         (__mul): Reduce iterations for calculating mantissa.
55511         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55512         MPTWO.
55513         (__mpranred): Likewise.
55515         [BZ #15160]
55516         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55517         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55519 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55521         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55522         Define __attribute__.
55524 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55526         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55527         unused.
55528         * posix/regex_internal.h (__attribute): Remove.
55529         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55530         (re_string_context_at): Likewise.
55531         (bitset_not): Use __attribute__ and mark function as possibly
55532         unused.
55533         (bitset_merge): Likewise.
55534         (bitset_mask): Likewise.
55535         (re_string_char_size_at): Likewise.
55536         (re_string_wchar_at): Likewise.
55537         (re_string_elem_size_at): Likewise.
55539 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55541         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55542         code.
55543         (cc32): Likewise.
55545         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55546         (__acr): Likewise.
55547         (__cpy): Likewise.
55548         (norm): Likewise.
55549         (denorm): Likewise.
55550         (__dbl_mp): Likewise.
55551         (add_magnitudes): Likewise.
55552         (sub_magnitudes): Likewise.
55553         (__mul): Likewise.
55554         (__inv): Likewise.
55556         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55557         style.
55559         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55560         style.
55562         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55563         code.
55565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55566         up changes with default code.
55567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55568         Likewise.
55570 2013-02-24  Allan McRae  <allan@archlinux.org>
55572         * manual/socket.texi (The Internet Namespace): Order menu items
55573         to match that in the file.
55575         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55576         node listing of the info page menu.
55578 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55580         [BZ #13550]
55581         * sysdeps/i386/bp-asm.h: Remove file.
55582         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55583         (PARMS): Do not use macros from bp-asm.h.
55584         (S1): Likewise.
55585         (S2): Likewise.
55586         (SIZE): Likewise.
55587         (__mpn_add_n): Do not use BP_SYM
55588         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55589         "bp-asm.h".
55590         (PARMS): Do not use macros from bp-asm.h.
55591         (S1): Likewise.
55592         (SIZE): Likewise.
55593         (__mpn_addmul_1): Do not use BP_SYM
55594         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55595         "bp-asm.h".
55596         (PARMS): Do not use macros from bp-asm.h.
55597         (SIGMSK): Likewise.
55598         (_setjmp): Likewise.  Do not use BP_SYM.
55599         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55600         "bp-asm.h".
55601         (PARMS): Do not use macros from bp-asm.h.
55602         (SIGMSK): Likewise.
55603         (setjmp): Likewise.  Do not use BP_SYM.
55604         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55605         "bp-asm.h".
55606         (PARMS): Do not use macros from bp-asm.h.
55607         (__frexp): Do not use BP_SYM.
55608         (frexp): Likewise.
55609         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55610         "bp-asm.h".
55611         (PARMS): Do not use macros from bp-asm.h.
55612         (__frexpf): Do not use BP_SYM.
55613         (frexpf): Likewise.
55614         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55615         "bp-asm.h".
55616         (PARMS): Do not use macros from bp-asm.h.
55617         (__frexpl): Do not use BP_SYM.
55618         (frexpl): Likewise.
55619         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55620         "bp-asm.h".
55621         (PARMS): Do not use macros from bp-asm.h.
55622         (__remquo): Do not use BP_SYM.
55623         (remquo): Likewise.
55624         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55625         "bp-asm.h".
55626         (PARMS): Do not use macros from bp-asm.h.
55627         (__remquof): Do not use BP_SYM.
55628         (remquof): Likewise.
55629         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55630         "bp-asm.h".
55631         (PARMS): Do not use macros from bp-asm.h.
55632         (__remquol): Do not use BP_SYM.
55633         (remquol): Likewise.
55634         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55635         "bp-asm.h".
55636         (PARMS): Do not use macros from bp-asm.h.
55637         (DEST): Likewise.
55638         (SRC): Likewise.
55639         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55640         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55641         "bp-asm.h".
55642         (PARMS): Do not use macros from bp-asm.h.
55643         (strlen): Do not use BP_SYM.
55644         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55645         "bp-asm.h".
55646         (PARMS): Do not use macros from bp-asm.h.
55647         (S1): Likewise.
55648         (S2): Likewise.
55649         (SIZE): Likewise.
55650         (__mpn_add_n): Do not use BP_SYM.
55651         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55652         "bp-asm.h".
55653         (PARMS): Do not use macros from bp-asm.h.
55654         (S1): Likewise.
55655         (SIZE): Likewise.
55656         (__mpn_addmul_1): Do not use BP_SYM.
55657         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55658         weak_alias.
55659         (bzero): Likewise.
55660         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55661         "bp-asm.h".
55662         (PARMS): Do not use macros from bp-asm.h.
55663         (S): Likewise.
55664         (SIZE): Likewise.
55665         (__mpn_lshift): Do not use BP_SYM.
55666         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55667         "bp-asm.h".
55668         (PARMS): Do not use macros from bp-asm.h.
55669         (DEST): Likewise.
55670         (SRC): Likewise.
55671         (LEN): Likewise.
55672         (memcpy): Likewise.  Do not use BP_SYM.
55673         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55674         libc_hidden_def and weak_alias.
55675         (mempcpy): Do not use BP_SYM in weak_alias.
55676         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55677         "bp-asm.h".
55678         (PARMS): Do not use macros from bp-asm.h.
55679         (DEST): Likewise.
55680         (LEN): Likewise.
55681         [!BZERO_P] (CHR): Likewise.
55682         (memset): Likewise.  Do not use BP_SYM.
55683         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55684         "bp-asm.h".
55685         (PARMS): Do not use macros from bp-asm.h.
55686         (S1): Likewise.
55687         (SIZE): Likewise.
55688         (__mpn_mul_1): Do not use BP_SYM.
55689         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55690         "bp-asm.h".
55691         (PARMS): Do not use macros from bp-asm.h.
55692         (S): Likewise.
55693         (SIZE): Likewise.
55694         (__mpn_rshift): Do not use BP_SYM.
55695         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55696         "bp-asm.h".
55697         (PARMS): Do not use macros from bp-asm.h.
55698         (STR): Likewise.
55699         (CHR): Likewise.
55700         (strchr): Likewise.  Do not use BP_SYM.
55701         (index): Do not use BP_SYM in weak_alias.
55702         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55703         "bp-asm.h".
55704         (PARMS): Do not use macros from bp-asm.h.
55705         (DEST): Likewise.
55706         (SRC): Likewise.
55707         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55708         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55709         "bp-asm.h".
55710         (PARMS): Do not use macros from bp-asm.h.
55711         (strlen): Do not use BP_SYM.
55712         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55713         "bp-asm.h".
55714         (PARMS): Do not use macros from bp-asm.h.
55715         (S1): Likewise.
55716         (S2): Likewise.
55717         (SIZE): Likewise.
55718         (__mpn_sub_n): Do not use BP_SYM.
55719         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55720         "bp-asm.h".
55721         (PARMS): Do not use macros from bp-asm.h.
55722         (S1): Likewise.
55723         (SIZE): Likewise.
55724         (__mpn_submul_1): Do not use BP_SYM.
55725         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55726         "bp-asm.h".
55727         (PARMS): Do not use macros from bp-asm.h.
55728         (S1): Likewise.
55729         (S2): Likewise.
55730         (SIZE): Likewise.
55731         (__mpn_add_n): Do not use BP_SYM.
55732         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55733         weak_alias.
55734         (bzero): Likewise.
55735         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55736         "bp-asm.h".
55737         (PARMS): Do not use macros from bp-asm.h.
55738         (BLK2): Likewise.
55739         (LEN): Likewise.
55740         (memcmp): Do not use BP_SYM.
55741         (bcmp): Do not use BP_SYM in weak_alias.
55742         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55743         "bp-asm.h".
55744         (PARMS): Do not use macros from bp-asm.h.
55745         (DEST): Likewise.
55746         (SRC): Likewise.
55747         (LEN): Likewise.
55748         (memcpy): Likewise.  Do not use BP_SYM.
55749         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55750         "bp-asm.h".
55751         (PARMS): Do not use macros from bp-asm.h.
55752         (DEST): Likewise.
55753         (SRC): Likewise.
55754         (LEN): Likewise.
55755         (memmove): Likewise.  Do not use BP_SYM.
55756         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55757         "bp-asm.h".
55758         (PARMS): Do not use macros from bp-asm.h.
55759         (DEST): Likewise.
55760         (SRC): Likewise.
55761         (LEN): Likewise.
55762         (__mempcpy): Likewise.  Do not use BP_SYM.
55763         (mempcpy): Do not use BP_SYM in weak_alias.
55764         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55765         "bp-asm.h".
55766         (PARMS): Do not use macros from bp-asm.h.
55767         (DEST): Likewise.
55768         (LEN): Likewise.
55769         [!BZERO_P] (CHR): Likewise.
55770         (memset): Likewise.  Do not use BP_SYM.
55771         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55772         "bp-asm.h".
55773         (PARMS): Do not use macros from bp-asm.h.
55774         (STR2): Likewise.
55775         (strcmp): Do not use BP_SYM.
55776         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55777         "bp-asm.h".
55778         (PARMS): Do not use macros from bp-asm.h.
55779         (STR): Likewise.
55780         (DELIM): Likewise.
55781         [USE_AS_STRTOK_R] (SAVE): Likewise.
55782         (FUNCTION): Likewise.  Do not use BP_SYM.
55783         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55784         aliases.
55785         (strtok_r): Likewise.
55786         (__GI___strtok_r): Likewise.
55787         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55788         (PARMS): Do not use macros from bp-asm.h.
55789         (S): Likewise.
55790         (SIZE): Likewise.
55791         (__mpn_lshift): Do not use BP_SYM.
55792         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55793         (PARMS): Do not use macros from bp-asm.h.
55794         (STR): Likewise.
55795         (CHR): Likewise.
55796         (__memchr): Do not use BP_SYM.
55797         (memchr): Do not use BP_SYM in weak_alias.
55798         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55799         (PARMS): Do not use macros from bp-asm.h.
55800         (BLK2): Likewise.
55801         (LEN): Likewise.
55802         (memcmp): Do not use BP_SYM.
55803         (bcmp): Do not use BP_SYM in weak_alias.
55804         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55805         (PARMS): Do not use macros from bp-asm.h.
55806         (S1): Likewise.
55807         (SIZE): Likewise.
55808         (__mpn_mul_1): Do not use BP_SYM.
55809         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55810         "bp-asm.h".
55811         (PARMS): Do not use macros from bp-asm.h.
55812         (STR): Likewise.
55813         (CHR): Likewise.
55814         (__rawmemchr): Do not use BP_SYM.
55815         (rawmemchr): Do not use BP_SYM in weak_alias.
55816         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55817         (PARMS): Do not use macros from bp-asm.h.
55818         (S): Likewise.
55819         (SIZE): Likewise.
55820         (__mpn_rshift): Do not use BP_SYM.
55821         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55822         (PARMS): Do not use macros from bp-asm.h.
55823         (SIGMSK): Likewise.
55824         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55825         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55826         (_start): Do not use BP_SYM.
55827         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55828         (PARMS): Do not use macros from bp-asm.h.
55829         (DEST): Likewise.
55830         (SRC): Likewise.
55831         (__stpcpy): Likewise.  Do not use BP_SYM.
55832         (stpcpy): Do not use BP_SYM in weak_alias.
55833         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55834         "bp-asm.h".
55835         (PARMS): Do not use macros from bp-asm.h.
55836         (DEST): Likewise.
55837         (SRC): Likewise.
55838         (LEN): Likewise.
55839         (__stpncpy): Likewise.  Do not use BP_SYM.
55840         (stpncpy): Do not use BP_SYM in weak_alias.
55841         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55842         (PARMS): Do not use macros from bp-asm.h.
55843         (STR): Likewise.
55844         (CHR): Likewise.
55845         (strchr): Likewise.  Do not use BP_SYM.
55846         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55847         "bp-asm.h".
55848         (PARMS): Do not use macros from bp-asm.h.
55849         (STR): Likewise.
55850         (CHR): Likewise.
55851         (__strchrnul): Likewise.  Do not use BP_SYM.
55852         (strchrnul): Do not use BP_SYM in weak_alias.
55853         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55854         "bp-asm.h".
55855         (PARMS): Do not use macros from bp-asm.h.
55856         (STOP): Likewise.
55857         (strcspn): Do not use BP_SYM.
55858         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55859         "bp-asm.h".
55860         (PARMS): Do not use macros from bp-asm.h.
55861         (STR): Likewise.
55862         (STOP): Likewise.
55863         (strpbrk): Likewise.  Do not use BP_SYM.
55864         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55865         "bp-asm.h".
55866         (PARMS): Do not use macros from bp-asm.h.
55867         (STR): Likewise.
55868         (CHR): Likewise.
55869         (strrchr): Likewise.  Do not use BP_SYM.
55870         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55871         (PARMS): Do not use macros from bp-asm.h.
55872         (SKIP): Likewise.
55873         (strspn): Do not use BP_SYM.
55874         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55875         (PARMS): Do not use macros from bp-asm.h.
55876         (STR): Likewise.
55877         (DELIM): Likewise.
55878         (SAVE): Likewise.
55879         (FUNCTION): Likewise.  Do not use BP_SYM.
55880         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55881         aliases.
55882         (strtok_r): Likewise.
55883         (__GI___strtok_r): Likewise.
55884         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55885         (PARMS): Do not use macros from bp-asm.h.
55886         (S1): Likewise.
55887         (S2): Likewise.
55888         (SIZE): Likewise.
55889         (__mpn_sub_n): Do not use BP_SYM.
55890         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55891         "bp-asm.h".
55892         (PARMS): Do not use macros from bp-asm.h.
55893         (S1): Likewise.
55894         (SIZE): Likewise.
55895         (__mpn_submul_1): Do not use BP_SYM.
55896         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55897         <bp-sym.h>.
55898         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55899         and <bp-asm.h>.
55900         (PARMS): Do not use macros from bp-asm.h.
55901         (FLAGS): Likewise.
55902         (PTID): Likewise.
55903         (TLS): Likewise.
55904         (CTID): Likewise.
55905         (__clone): Do not use BP_SYM.
55906         (clone): Do not use BP_SYM in weak_alias.
55907         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55908         and <bp-asm.h>.
55909         (PARMS): Do not use macros from bp-asm.h.
55910         (LEN): Likewise.
55911         (__mmap64): Do not use BP_SYM.
55912         (mmap64): Do not use BP_SYM in weak_alias.
55913         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55914         <bp-sym.h> and <bp-asm.h>.
55915         (PARMS): Do not use macros from bp-asm.h.
55916         (__posix_fadvise64_l64): Do not use BP_SYM.
55917         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55918         (PARMS): Do not use macros from bp-asm.h.
55919         (NSOPS): Likewise.
55920         (semtimedop): Do not use BP_SYM.
55921         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55922         and <bp-asm.h>.
55924 2013-02-21  Allan McRae  <allan@archlinux.org>
55926         * manual/message.texi (Charset conversion in gettext):
55927         Move @end statement to beginning of line.
55929 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55932         static.
55933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55934         Likewise.
55936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55937         (denorm): Likewise.
55938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55941 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55943         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55944         tail-call to the resolved function if pltexit isn't needed.
55946 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55949         or Y being zero as being unlikely.
55950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55951         Likewise.
55953 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55955         * manual/nss.texi (System Databases and Name Service Switch):
55956         Remove frobnicate @pxref.
55958 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55960         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55961         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55963 2013-02-20  Petr Machata  <pmachata@redhat.com>
55965         * elf/elf.h (R_ARM_TARGET1): New macro.
55966         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55967         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55968         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55969         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55970         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55971         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55972         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55973         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55974         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55975         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55976         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55977         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55978         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55979         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55980         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55981         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55982         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55983         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55984         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55985         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55986         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55987         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55988         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55989         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55990         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55991         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55992         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55993         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55994         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55995         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55996         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55997         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55998         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55999         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56000         (R_ARM_THM_GOT_BREL12): Likewise.
56001         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56002         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56003         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56004         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56005         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56006         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56007         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56008         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56009         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56011 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56013         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56014         __attribute_used__ to __attribute__ ((unused)).
56016 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56018         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56019         powerpc mpa.c.
56020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56021         comment formatting.
56022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56024 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56026         [BZ #13550]
56027         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56028         Remove macro.
56029         (ENTER): Remove both macro definitions.
56030         (LEAVE): Likewise.
56031         (CHECK_BOUNDS_LOW): Likewise.
56032         (CHECK_BOUNDS_HIGH): Likewise.
56033         (CHECK_BOUNDS_BOTH): Likewise.
56034         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56035         (RETURN_BOUNDED_POINTER): Likewise.
56036         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56037         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56038         (POP_ERRNO_LOCATION_RETURN): Likewise.
56039         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56040         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56041         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56042         macros.
56043         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56044         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56045         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56046         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56047         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56048         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56049         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56050         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56051         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56052         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56053         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56054         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56055         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56056         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56057         removed macros.
56058         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56059         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56060         macros.
56061         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56062         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56063         * sysdeps/i386/i586/memset.S (memset): Likewise.
56064         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56065         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56066         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56067         macros.
56068         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56069         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56070         Change uses of L(2) to L(out).
56071         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56072         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56073         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56074         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56075         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56076         removed macros.
56077         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56078         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56079         macros.
56080         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56081         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56082         (RETURN): Do not use macro LEAVE.
56083         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56084         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56085         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56086         * sysdeps/i386/i686/memset.S (memset): Likewise.
56087         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56088         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56089         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56090         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56091         Likewise.
56092         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56093         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56094         L(1_2) and L(1_3) into L(1).
56095         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56096         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56097         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56098         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56099         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56100         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56101         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56102         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56103         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56104         macros.
56105         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56106         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56107         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56108         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56109         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56110         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56111         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56112         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56113         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56114         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56115         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56116         * sysdeps/i386/strspn.S (strspn): Likewise.
56117         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56118         conditional code.
56119         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56120         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56121         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56122         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56123         L(1_3) into L(1_1).
56124         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56125         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56126         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56127         macros.
56128         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56130 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56132         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56133         macro.
56135 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56137         * math/atest-exp.c (exp_mpn): Remove ROUND.
56138         * math/atest-exp2.c (exp_mpn): Likewise.
56139         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56141         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56142         * stdlib/tst-tls-atexit-lib.c: Likewise.
56143         * stdlib/tst-tls-atexit.c: Likewise.
56145 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56147         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56148         and __attribute_alloc_size__.
56150 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56152         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56153         __attribute_alloc_size__.
56154         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56155         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56157 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56159         * include/programs/xmalloc.h: New file.
56160         * catgets/gencat.c: Include it.
56161         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56162         * elf/pldd.c: Likewise.
56163         * iconv/iconv_charmap.c: Likewise.
56164         * iconv/iconvconfig.c: Likewise.
56165         * iconv/strtab.c: Likewise.
56166         * locale/programs/locale.c: Likewise.
56167         * locale/programs/localedef.h: Likewise.
56168         * locale/programs/simple-hash.c: Likewise.
56169         * nscd/nscd.h: Likewise.
56170         * nss/makedb.c: Likewise.
56171         * sysdeps/generic/ldconfig.h: Likewise.
56173 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56175         * Versions.def: Add GLIBC_2.18.
56176         * include/link.h (struct link_map): New member l_tls_dtor_count.
56177         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56178         (__call_tls_dtors): Likewise.
56179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56180         __cxa_thread_atexit_impl.
56181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56182         Likewise.
56183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56184         Likewise.
56185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56186         Likewise.
56187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56188         Likewise.
56189         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56191         Likewise.
56192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56193         Likewise.
56194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56196         Likewise.
56197         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56198         (tests): Add test case tst-tls-atexit.
56199         (modules-names): Add shared library for tst-tls-atexit.
56200         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56201         (GLIBC_PRIVATE): Add __call_tls_dtors.
56202         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56203         for libstdc++.
56204         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56205         * stdlib/tst-tls-atexit.c: New test case.
56206         * stdlib/tst-tls-atexit-lib.c: New test case.
56208         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56210         * elf/Versions (ld): Add _dl_find_dso_for_object.
56211         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56212         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56213         (dl_open_worker): Use _dl_find_dso_for_object.
56214         * elf/dl-sym.c (do_sym): Likewise.
56215         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56217 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56219         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56220         Syntactic changes only.
56221         (_dl_runtime_profile): Do a tail-call to the resolved function.
56223 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56225         [BZ #13550]
56226         * sysdeps/x86_64/bp-asm.h: Remove file.
56227         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56228         <bp-sym.h> and <bp-asm.h>.
56229         (__clone): Do not use BP_SYM.
56230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56231         <bp-sym.h> and <bp-asm.h>.
56232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56233         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56234         "bp-asm.h".
56235         (_setjmp): Do not use BP_SYM.
56236         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56237         "bp-asm.h".
56238         (setjmp): Do not use BP_SYM.
56239         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56240         libc_hidden_def.
56241         (mempcpy): Do not use BP_SYM in weak_alias.
56242         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56243         "bp-asm.h".
56244         (strchr): Do not use BP_SYM.
56245         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56246         "bp-asm.h".
56247         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56248         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56249         (_start): Do not use BP_SYM.
56250         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56251         "bp-asm.h".
56252         (strcat): Do not use BP_SYM.
56253         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56254         "bp-asm.h".
56255         (STRCMP): Do not use BP_SYM.
56256         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56257         "bp-asm.h".
56258         (STRCPY): Do not use BP_SYM.
56259         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56260         "bp-asm.h".
56261         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56262         "bp-asm.h".
56263         (FUNCTION): Do not use BP_SYM.
56264         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56265         weak_alias.
56266         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56268 2013-02-17  Andreas Jaeger  <aj@suse.de>
56270         * time/Versions: Sort entries.
56271         * string/Versions: Likewise.
56272         * resolv/Versions: Likewise.
56273         * posix/Versions: Likewise.
56274         * iconv/Versions: Likewise.
56275         * elf/Versions: Likewise.
56276         * wcsmbs/Versions: Likewise.
56278 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56280         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56281         loop termination condition.
56283         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56284         variable to calculate EZ.
56285         (__sqr): Likewise.
56287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56288         the lower precision input.
56290 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56292         [BZ #13550]
56293         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56294         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56295         (run-via-rtld-prefix): Do not handle %-bp tests.
56296         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56297         (all-object-suffixes): Remove .ob.
56298         (bppfx): Remove variable.
56299         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56300         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56301         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56302         [$(build-bounded) = yes] (libtype.ob): Likewise.
56303         * Makerules (elide-routines.ob): Remove variable.
56304         (do-tests-clean): Do not handle *-bp.out.
56305         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56306         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56307         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56308         (tests): Do not include $(tests-bp.out).
56309         (xtests): Do not include $(xtests-bp.out).
56310         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56311         [$(build-bounded) = yes] ($(addprefix
56312         $(objpfx),$(binaries-bounded))): Remove rule.
56313         ($(objpfx)%-bp.out): Remove rule.
56314         * config.make.in (build-bounded): Remove variable.
56315         * crypt/Makefile [$(build-bounded) = yes]
56316         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56317         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56318         append to variable.
56319         [$(build-bounded) = yes] (install-lib): Likewise.
56320         [$(build-bounded) = yes] (generated): Likewise.
56321         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56322         Remove rule.
56323         * intl/Makefile [$(build-bounded) = yes]
56324         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56325         * math/Makefile [$(build-bounded) = yes]
56326         ($(tests:%=$(objpfx)%-bp): Likewise.
56327         * misc/Makefile [$(build-bounded) = yes]
56328         ($(objpfx)tst-tsearch-bp): Likewise.
56329         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56330         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56331         Remove dependency.
56332         * string/Makefile (o-objects.ob): Remove variable.
56333         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56334         (CFLAGS-.ob): Remove variable.
56335         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56336         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56337         both definitions of variable.
56338         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56339         (ASFLAGS-.ob): Remove variable.
56341 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56343         [BZ #13550]
56344         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56345         Remove __BOUNDED_POINTERS__ from condition.
56346         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56347         * string/bits/string2.h [!__NO_STRING_INLINES &&
56348         !__BOUNDED_POINTERS__]: Likewise.
56349         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56350         Likewise.
56351         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56352         Remove conditional code.
56353         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56354         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56355         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56356         condition.
56358         [BZ #13550]
56359         * csu/libc-start.c: Do not include <bp-sym.h>.
56360         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56361         * elf/dl-open.c: Do not include <bp-sym.h>.
56362         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56363         * math/fegetenv.c: Do not include <bp-sym.h>.
56364         (fegetenv): Do not use BP_SYM in versioned symbols.
56365         * nptl/sysdeps/pthread/bits/libc-lockP.h
56366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56367         <bp-sym.h>.
56368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56369         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56371         (__pthread_mutex_destroy): Likewise.
56372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56373         (__pthread_mutex_lock): Likewise.
56374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56375         (__pthread_mutex_trylock): Likewise.
56376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56377         (__pthread_mutex_unlock): Likewise.
56378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56379         (__pthread_mutexattr_init): Likewise.
56380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56381         (__pthread_mutexattr_destroy): Likewise.
56382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56383         (__pthread_mutexattr_settype): Likewise.
56384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56385         (__pthread_rwlock_init): Likewise.
56386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56387         (__pthread_rwlock_destroy): Likewise.
56388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56389         (__pthread_rwlock_rdlock): Likewise.
56390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56391         (__pthread_rwlock_tryrdlock): Likewise.
56392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56393         (__pthread_rwlock_wrlock): Likewise.
56394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56395         (__pthread_rwlock_trywrlock): Likewise.
56396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56397         (__pthread_rwlock_unlock): Likewise.
56398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56399         (__pthread_key_create): Likewise.
56400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56401         (__pthread_setspecific): Likewise.
56402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56403         (__pthread_getspecific): Likewise.
56404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56405         Likewise.
56406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56407         (_pthread_cleanup_push_defer): Likewise.
56408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56409         (_pthread_cleanup_pop_restore): Likewise.
56410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56411         (pthread_setcancelstate): Likewise.
56412         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56413         <bp-sym.h>.
56414         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56415         (memchr): Do not use BP_SYM in weak_alias.
56416         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56417         (fegetenv): Do not use BP_SYM in versioned symbols.
56418         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56419         (fesetenv): Do not use BP_SYM in versioned symbols.
56420         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56421         (feupdateenv): Do not use BP_SYM in versioned symbols.
56422         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56423         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56424         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56425         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56426         (open64): Do not use BP_SYM in weak_alias.
56427         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56428         (fegetenv): Do not use BP_SYM in versioned symbols.
56429         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56430         (fesetenv): Do not use BP_SYM in versioned symbols.
56431         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56432         (feupdateenv): Do not use BP_SYM in versioned symbols.
56433         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56434         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56435         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56436         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56437         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56438         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56440         <bp-sym.h>.
56441         (__libc_start_main): Do not use BP_SYM.
56443 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56446         redundant return line.
56447         (norm): Likewise.
56448         (denorm): Likewise.
56449         (dbl_mp): Likewise.
56450         (sub_magnitudes): Likewise.
56451         (__add): Likewise.
56452         (__sub): Likewise.
56453         (__mul): Likewise.
56454         (__inv): Likewise.
56455         (__dvd): Likewise.
56456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56457         (norm): Likewise.
56458         (denorm): Likewise.
56459         (dbl_mp): Likewise.
56460         (sub_magnitudes): Likewise.
56461         (__add): Likewise.
56462         (__sub): Likewise.
56463         (__mul): Likewise.
56464         (__inv): Likewise.
56465         (__dvd): Likewise.
56467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56468         instead of __mul.
56469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56470         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56471         (cc32): Likewise.
56473         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56474         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56476         of __mul for squares.
56477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56478         function
56479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56480         Likewise.
56481         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56482         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56484 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56486         [BZ #13550]
56487         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56488         code.
56489         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56490         prototype or function definition.  Rename ubp_* variables and
56491         parameters.  Remove argv definitions conditional on
56492         [__BOUNDED_POINTERS__].
56493         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56494         * elf/dl-runtime.c (_dl_fixup): Likewise.
56495         * include/set-hooks.h (RUN_HOOK): Likewise.
56496         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56497         definition.
56498         * string/strcpy.c (strcpy): Do not use __unbounded.
56499         * sysdeps/generic/frame.h (struct layout): Likewise.
56500         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56501         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56502         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56503         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56504         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56505         (__backtrace): Likewise.
56506         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56507         use __ptrvalue.
56508         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56509         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56510         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56511         Likewise.
56512         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56513         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56514         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56515         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56516         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56517         Do not use __unbounded.
56518         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56519         Rename __unboundedrlimits parameter to rlimits in prototype.
56520         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56521         Do not use __unbounded.
56522         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56523         not use __ptrvalue.
56524         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56525         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56526         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56527         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56528         __ptrvalue or __unbounded.
56529         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56530         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56531         use __unbounded.
56532         (__new_msgctl): Do not use __ptrvalue.
56533         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56534         __unbounded.
56535         (__libc_msgrcv): Do not use __ptrvalue.
56536         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56537         startup_info): Do not use __unbounded.
56538         (__libc_start_main): Likewise.  Rename ubp_* variables and
56539         parameters.  Remove argv definitions conditional on
56540         [__BOUNDED_POINTERS__].
56541         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56542         __ptrvalue.
56543         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56544         use __unbounded.
56545         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56546         or __ptrvalue.
56547         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56548         use __unbounded.
56549         (__new_shmctl): Do not use __ptrvalue.
56550         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56551         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56552         Likewise.
56553         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56554         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56555         (__libc_sigaction): Likewise.
56556         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56557         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56558         Likewise.
56559         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56561 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56563         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56565         * string/mempcpy.c: Implement by calling memcpy.
56567 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56572         evaluation.
56574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56575         values in the mantissa.
56577         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56578         minimize writes to Z.
56579         (sub_magnitudes): Simplify code a bit.
56581 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56583         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56584         from the message.  The linker prefixes all warnings with that already.
56586 2013-02-12  Andreas Schwab  <schwab@suse.de>
56588         [BZ #15078]
56589         * posix/regexec.c (extend_buffers): Add parameter min_len.
56590         (check_matching): Pass minimum needed length.
56591         (clean_state_log_if_needed): Likewise.
56592         (get_subexp): Likewise.
56593         * posix/Makefile (tests): Add bug-regex34.
56594         (bug-regex34-ENV): Define.
56595         * posix/bug-regex34.c: New file.
56597         [BZ #11561]
56598         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56599         elements compare against the byte sequence of it, not its name.
56600         * posix/Makefile (tests): Add bug-regex35.
56601         (bug-regex35-ENV): Define.
56602         * posix/bug-regex35.c: New file.
56604 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56606         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56607         comment.
56608         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56609         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56610         (CHECK_EOL): Add undef.
56612 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56614         * bits/stdlib-bsearch.h: New file.
56615         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56616         * stdlib/stdlib.h: Likewise.
56618 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56620         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56621         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56622         declaration.
56623         * manual/search.texi (Array Search Function): Add missing const in
56624         lfind prototype.
56625         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56626         declaration to use rlim_t.
56627         (Basic Scheduling Functions): Remove erroneous const from
56628         sched_getparam prototype.  Remove erroneous * from
56629         sched_get_priority_max and sched_get_priority_min prototypes.
56630         (Resource Usage): Fix summary @comment on vtimes to refer to
56631         sys/vtimes.h rather than vtimes.h.
56632         Add missing *s in vtimes prototype.
56633         (Limits on Resources): Fix ulimit prototype to return long int.
56634         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56635         prototypes to use long int rather than double.
56636         (BSD Random): Fix initstate and setstate to use char *, not void *.
56637         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56638         prototype to make second argument 'struct aiocb64 *const[]'.
56639         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56640         (Status of AIO Operations): Remove erroneous const in aio_return and
56641         aio_return64 prototypes.
56642         (Synchronizing I/O): Fix sync prototype to return void.
56643         * manual/startup.texi (Suboptions): Remove an erroneous const in
56644         getsubopt prototype.
56645         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56646         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56647         use size_t rather than int.
56648         (Scanning All Users): Likewise for getpwent_r.
56649         (Setting Groups): Add missing const to setgroups prototype.
56650         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56651         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56652         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56653         'const void *' rather than 'const char *'.
56654         (Host Address Functions): Likewise for inet_ntop.
56655         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56656         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56657         ssize_t for return value.
56658         (Sending Data): Likewise for send, sendto, sendmsg.
56659         (Socket Option Functions): Add a missing const in setsockopt prototype.
56660         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56661         use wchar_t for the argument.
56662         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56663         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56664         take no arguments.
56665         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56666         double/float/long double for second argument.
56667         Fix return types of significand, significandf, significandl.
56668         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56669         argument in fchmod prototype.
56670         (File Owner): Use uid_t and gid_t in fchown prototype.
56671         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56672         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56673         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56674         use 'const struct dirent **' as argument types to CMP function pointer
56675         argument.
56676         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56677         (File Times): Fix summary magic @comment for struct utimbuf and utime
56678         to refer to utime.h, not time.h.
56679         * manual/string.texi (Argz Functions): Add missing const in
56680         argz_extract and argz_next prototypes.
56681         (Finding Tokens in a String): Likewise for basename.
56682         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56683         (Copying and Concatenation): Fix typo in wmemmove prototype.
56684         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56685         (Signal Stack): Remove erroneous const in sigstack prototype.
56686         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56687         prototype.
56688         (Simple Calendar Time): Likewise for stime.
56689         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56690         prototype.
56691         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56692         say sys/sysctl.h instead.
56693         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56694         and vsyslog prototypes.
56696 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56698         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56699         Remove.
56701 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56703         * misc/sys/mman.h: Fix typo in mremap comment.
56705 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56707         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56708         the '\0' terminator.
56710 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56712         [BZ #13550]
56713         * debug/segfault.c: Don't include <bp-checks.h>.
56714         * sysdeps/generic/bp-checks.h: Remove file.
56715         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56716         (__GETDENTS): Don't use CHECK_N.
56717         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56718         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56719         (__getgroups): Don't use CHECK_N.
56720         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56721         (setgroups): Don't use CHECK_N.
56722         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56723         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56724         (__libc_msgrcv): Don't use CHECK_N.
56725         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56726         (__libc_msgsnd): Don't use CHECK_N.
56727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56728         <bp-checks.h>.
56729         (__libc_pread): Don't use CHECK_N.
56730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56731         include <bp-checks.h>.
56732         (__libc_pread64): Don't use CHECK_N.
56733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56734         include <bp-checks.h>.
56735         (__libc_pwrite): Don't use CHECK_N.
56736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56737         include <bp-checks.h>.
56738         (__libc_pwrite64): Don't use CHECK_N.
56739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56740         <bp-checks.h>.
56741         (__libc_pread): Don't use CHECK_N.
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56743         include <bp-checks.h>.
56744         (__libc_pread64): Don't use CHECK_N.
56745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56746         include <bp-checks.h>.
56747         (__libc_pwrite): Don't use CHECK_N.
56748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56749         include <bp-checks.h>.
56750         (__libc_pwrite64): Don't use CHECK_N.
56751         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56752         (do_pread): Don't use CHECK_N.
56753         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56754         (do_pread64): Don't use CHECK_N.
56755         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56756         (do_pwrite): Don't use CHECK_N.
56757         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56758         (do_pwrite64): Don't use CHECK_N.
56759         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56760         (__libc_readv): Don't use CHECK_N.
56761         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56762         (semop): Don't use CHECK_N.
56763         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56764         <bp-checks.h>.
56765         (semtimedop): Don't use CHECK_N.
56766         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56767         (__libc_pread): Don't use CHECK_N.
56768         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56769         <bp-checks.h>.
56770         (__libc_pread64): Don't use CHECK_N.
56771         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56772         <bp-checks.h>.
56773         (__libc_pwrite): Don't use CHECK_N.
56774         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56775         <bp-checks.h>.
56776         (__libc_pwrite64): Don't use CHECK_N.
56777         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56778         <bp-checks.h>.
56779         (__libc_msgrcv): Don't use CHECK_N.
56780         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56781         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56782         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56783         (__libc_writev): Don't use CHECK_N.
56785 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56787         * string/strcpy.c: Removed unused variable.
56789         * Makeconfig (+sysdep-includes): Define with := rather than =.
56790         Use an existing include/ subdir of each sysdeps dir before it.
56792 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56794         * nscd/connection.c (register_traced_file): Comment function.
56795         [HAVE_INOTIFY] (union __inev): Define.
56796         [HAVE_INOTIFY] (inotify_check_files): New function.
56797         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56798         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56799         clear_db_cache.
56800         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56802 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56804         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56805         loaded if not already and that a failure is permanent.
56807 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56809         [BZ #15006]
56810         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56811         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56813 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56815         [BZ #13550]
56816         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56817         (CHECK_1_NULL_OK): Likewise.
56818         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56819         (__fxstat): Do not use CHECK_1.
56820         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56821         <bp-checks.h>.
56822         (___fxstat64): Do not use CHECK_1.
56823         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56824         <bp-checks.h>.
56825         (__fxstatat): Do not use CHECK_1.
56826         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56827         <bp-checks.h>.
56828         (__fxstatat64): Do not use CHECK_1.
56829         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56830         <bp-checks.h>.
56831         (__fxstat): Do not use CHECK_1.
56832         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56833         <bp-checks.h>.
56834         (__fxstatat): Do not use CHECK_1.
56835         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56836         <bp-checks.h>.
56837         (__getresgid): Do not use CHECK_1.
56838         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56839         <bp-checks.h>.
56840         (__getresuid): Do not use CHECK_1.
56841         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56842         <bp-checks.h>.
56843         (__lxstat): Do not use CHECK_1.
56844         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56845         <bp-checks.h>.
56846         (__old_msgctl): Do not use CHECK_1.
56847         (__new_msgctl): Likewise.
56848         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56849         <bp-checks.h>.
56850         (__new_setrlimit): Do not use CHECK_1.
56851         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56852         <bp-checks.h>.
56853         (__old_shmctl): Do not use CHECK_1.
56854         (__new_shmctl): Likewise.
56855         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56856         <bp-checks.h>.
56857         (__xstat): Do not use CHECK_1.
56858         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56859         (__lxstat): Do not use CHECK_1.
56860         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56861         <bp-checks.h>.
56862         (___lxstat64): Do not use CHECK_1.
56863         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56864         (__old_msgctl): Do not use CHECK_1.
56865         (__new_msgctl): Likewise.
56866         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56867         <bp-checks.h>.
56868         (__gettimeofday): Do not use CHECK_1.
56869         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56870         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56872         <bp-checks.h>.
56873         (__gettimeofday): Do not use CHECK_1.
56874         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56875         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56876         (__new_shmctl): Do not use CHECK_1.
56877         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56878         <bp-checks.h>.
56879         (do_sigtimedwait): Do not use CHECK_1.
56880         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56881         <bp-checks.h>.
56882         (do_sigwaitinfo): Do not use CHECK_1.
56883         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56884         <bp-checks.h>.
56885         (msgctl): Do not use CHECK_1.
56886         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56887         <bp-checks.h>.
56888         (shmctl): Do not use CHECK_1.
56889         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56890         (ustat): Do not use CHECK_1.
56891         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56892         <bp-checks.h>.
56893         (__fxstat): Do not use CHECK_1.
56894         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56895         <bp-checks.h>.
56896         (__fxstatat): Do not use CHECK_1.
56897         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56898         <bp-checks.h>.
56899         (__lxstat): Do not use CHECK_1.
56900         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56901         <bp-checks.h>.
56902         (__xstat): Do not use CHECK_1.
56903         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56904         (__xstat): Do not use CHECK_1.
56905         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56906         (___xstat64): Do not use CHECK_1.
56908         [BZ #13550]
56909         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56910         definitions.
56911         (CHECK_BOUNDS_HIGH): Likewise.
56912         * string/strcpy.c: Do not include <bp-checks.h>.
56913         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56915 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56917         * nscd/nscd-client.h (__nscd_drop_map_ref):
56918         Add __attribute__ ((unused)).
56919         * nis/nss-nisplus.h (niserr2nss): Likewise.
56921         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56922         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56924         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56925         Remove inline keyword.
56926         * include/rounding-mode.h (round_away): Likewise.
56927         * libio/wfileops.c (adjust_wide_data): Likewise.
56928         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56929         (__m128i_strloadu_tolower): Likewise.
56930         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56931         (__m128i_strloadu_tolower): Likewise.
56932         * time/mktime.c (ydhms_diff): Likewise.
56933         * locale/elem-hash.h (elem_hash): Likewise.
56934         * locale/setlocale.c (setdata): Likewise.
56935         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56936         (re_string_wchar_at): Likewise.
56937         (bitset_not, bitset_merge, bitset_mask): Likewise.
56938         [!(__GNUC__ > 3)] (inline): Remove macro.
56939         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56940         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56941         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56942         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56943         * string/memcmp.c (memcmp_bytes): Likewise.
56944         * locale/programs/locarchive.c (compute_hashval): Likewise.
56945         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56946         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56947         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56948         * nss/getent.c (print_rpc, print_protocols): Likewise.
56949         (print_passwd, print_group, print_aliases): Likewise.
56950         * nis/nss-nisplus.h (niserr2nss): Likewise.
56951         * nscd/connections.c (restart_p): Likewise.
56952         Change return type to bool.
56954 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56956         * Makeconfig (all-Depend-files): Add existing
56957         $(sorted-subdirs:=/Depend) files.
56958         (all-subdirs): Remove nss.
56959         * sysdeps/unix/inet/Subdirs: Add it here instead.
56960         * hesiod/Depend: New file.
56962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56963         instead of calling alloca.
56965         * io/lseek.c (__lseek): Rename to __libc_lseek.
56966         Define __lseek as an alias.
56968         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56970 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56972         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56973         else clause and remove check for non-standard endianness.
56975 2013-02-04  David S. Miller  <davem@davemloft.net>
56977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56979 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56981         [BZ #13550]
56982         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56983         (__ubp_memchr): Remove prototype.
56984         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56985         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56986         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56987         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56988         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56989         Remove alias.
56990         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56991         (__ubp_memchr): Likewise.
56992         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56993         (__ubp_memchr): Likewise.
56994         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56995         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56996         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56997         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56998         CHECK_STRING.
56999         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57000         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57001         (__getcwd): Do not use CHECK_STRING.
57002         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57003         <bp-checks.h>.
57004         (__real_chown): Do not use CHECK_STRING.
57005         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57006         <bp-checks.h>.
57007         (fchownat): Do not use CHECK_STRING.
57008         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57009         CHECK_STRING.
57010         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57011         <bp-checks.h>.
57012         (__lchown): Do not use CHECK_STRING.
57013         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57014         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57015         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57016         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57018         include <bp-checks.h>.
57019         (truncate64): Do not use CHECK_STRING.
57020         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57021         <bp-checks.h>.
57022         (__real_chown): Do not use CHECK_STRING.
57023         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57024         <bp-checks.h>.
57025         (__lchown): Do not use CHECK_STRING.
57026         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57027         <bp-checks.h>.
57028         (__chown): Do not use CHECK_STRING.
57029         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57030         <bp-checks.h>.
57031         (truncate64): Do not use CHECK_STRING.
57032         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57033         Likewise.
57034         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57035         (__xmknod): Do not use CHECK_STRING.
57036         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57037         <bp-checks.h>.
57038         (__xmknodat): Do not use CHECK_STRING.
57039         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57040         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57042 2013-02-04  Andreas Schwab  <schwab@suse.de>
57044         [BZ #14142]
57045         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57046         * include/netdb.h: Likewise for h_errno.
57047         * elf/tst-stackguard1.c: Include <tls.h>.
57049 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57051         * elf/link.h (struct link_map): Extend the l_addr comment.
57052         * include/link.h (struct link_map): Likewise.
57054 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57056         [BZ #13550]
57057         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57058         (BOUNDED_1): Remove macro.
57059         * debug/backtrace.c: Don't include <bp-checks.h>.
57060         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57061         (__backtrace): Likewise.
57062         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57063         <bp-checks.h>.
57064         (__backtrace): Don't use BOUNDED_1.
57065         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57066         <bp-checks.h>.
57067         (__backtrace): Don't use BOUNDED_1.
57068         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57069         (__backtrace): Don't use BOUNDED_1.
57070         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57071         (shmat): Don't use BOUNDED_N.
57073 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57075         [BZ #13550]
57076         * sysdeps/generic/bp-start.h: Remove file.
57077         * csu/libc-start.c: Don't include <bp-start.h>.
57078         (LIBC_START_MAIN): Set up __environ directly instead of using
57079         INIT_ARGV_and_ENVIRON.
57080         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57081         <bp-start.h>.
57083         [BZ #13550]
57084         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57085         definitions.
57086         (CHECK_FCNTL): Likewise.
57087         (CHECK_N_PAGES): Likewise.
57089         [BZ #13550]
57090         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57091         definitions.
57092         (CHECK_SIGSET_NULL_OK): Likewise.
57093         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57094         <bp-checks.h>.
57095         (sigpending): Don't use CHECK_SIGSET.
57096         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57097         <bp-checks.h>.
57098         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57099         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57100         <bp-checks.h>.
57101         (do_sigsuspend): Don't use CHECK_SIGSET.
57102         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57103         use CHECK_SIGSET.
57104         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57105         (do_sigwait): Don't use CHECK_SIGSET.
57106         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57107         use CHECK_SIGSET.
57108         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57109         include <bp-checks.h>.
57110         (sigpending): Don't use CHECK_SIGSET.
57111         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57112         include <bp-checks.h>.
57113         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57114         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57115         <bp-checks.h>.
57116         (sigpending): Don't use CHECK_SIGSET.
57117         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57118         <bp-checks.h>.
57119         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57121         [BZ #13550]
57122         * sysdeps/generic/bp-semctl.h: Remove file.
57123         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57124         <bp-checks.h> and <bp-semctl.h>.
57125         (__old_semctl): Don't use CHECK_SEMCTL.
57126         (__new_semctl): Likewise.
57127         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57128         and <bp-semctl.h>.
57129         (__old_semctl): Don't use CHECK_SEMCTL.
57130         (__new_semctl): Likewise.
57131         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57132         <bp-checks.h> and <bp-semctl.h>.
57133         (__old_semctl): Don't use CHECK_SEMCTL.
57134         (__new_semctl): Likewise.
57135         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57136         <bp-checks.h> and <bp-semctl.h>.
57137         (semctl): Don't use CHECK_SEMCTL.
57139         [BZ #13550]
57140         * Makerules (elide-bp-thunks): Remove variable.
57141         (elide-routines.oS): Don't use $(elide-bp-thunks).
57142         (elide-routines.os): Likewise.
57143         (elide-routines.o): Likewise.
57144         (elide-routines.op): Likewise.
57145         (elide-routines.og): Likewise.
57146         (objects): Don't use $(bp-thunks).
57147         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57148         include.
57149         (common-generated): Do not add s-proto-bp.d.
57150         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57151         (int): Likewise.
57152         (typ): Likewise.
57153         Do not generate makefile rules for bounded-pointer thunks.
57154         * sysdeps/generic/bp-thunks.h: Remove file.
57155         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57156         * sysdeps/unix/s-proto-bp.S: Likewise.
57158         [BZ #15062]
57159         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57160         parts of result separately when argument is not close to line from
57161         -i to i and one part of argument is small.
57162         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57163         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57164         * math/libm-test.inc (cacos_test): Add more tests.
57165         (casin_test): Likewise.
57166         (casinh_test): Likewise.
57167         * sysdeps/i386/fpu/libm-test-ulps: Update.
57168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57170 2013-01-31  David S. Miller  <davem@davemloft.net>
57172         * po/de.po: Update from translation team.
57174 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57176         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57178 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57180         * configure.in (_AC_PROG_CC_C89): New definition.
57181         * configure: Regenerate.
57183         * configure.in (AC_PROG_CPP): New definition.
57184         * configure: Regenerate.
57186 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57188         * debug/tst-backtrace.h: New file.
57189         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57190         (ret): Remove variable.
57191         (x): Likewise.
57192         (FAIL): Remove macro.
57193         (NO_INLINE): Likewise.
57194         (fn1): Use match function instead of strstr.
57195         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57196         (ret): Remove variable.
57197         (x): Likewise.
57198         (FAIL): Remove macro.
57199         (NO_INLINE): Likewise.
57200         (fn): Use match function instead of strstr.
57201         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57202         (ret): Remove variable.
57203         (x): Likewise.
57204         (FAIL): Remove macro.
57205         (NO_INLINE): Likewise.
57206         (handle_signal): Use match function instead of strstr.
57207         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57208         (ret): Remove variable.
57209         (x): Likewise.
57210         (FAIL): Remove macro.
57211         (NO_INLINE): Likewise.
57212         (handle_signal): Use match function instead of strstr.
57214 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57216         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57218 2013-01-23  David S. Miller  <davem@davemloft.net>
57220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57221         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57222         argument of CAS if possible.
57223         * sysdeps/sparc/sparc64/bits/atomic.h
57224         (__arch_compare_and_exchange_val_32_acq): Likewise.
57225         (__arch_compare_and_exchange_val_64_acq): Likewise.
57227 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57229         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57230         * sysdeps/posix/ulimit.c: ... this.
57231         Include <limits.h>.
57232         * sysdeps/unix/bsd/ulimit.c: Remove file.
57234 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57236         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57237         (LDFLAGS-tst-array5): Likewise.
57239 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57241         [BZ #15036]
57242         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57243         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57244         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57245         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57247 2013-01-21  David S. Miller  <davem@davemloft.net>
57249         * sysdeps/sparc/backtrace.c: New file.
57250         * sysdeps/sparc/sparc32/backtrace.h: New file.
57251         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57252         * sysdeps/sparc/sparc64/backtrace.h: New file.
57253         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57254         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57255         -funwind-tables.
57257 2013-01-21  Andreas Schwab  <schwab@suse.de>
57259         [BZ #15020]
57260         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57261         closed its stdout.
57263 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57266         "mpa2.h".
57267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57269 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57270             Mark Mitchell  <mark@codesourcery.com>
57271             Tom de Vries  <tom@codesourcery.com>
57272             Paul Pluzhnikov  <ppluzhnikov@google.com>
57274         * debug/tst-backtrace2.c: New file.
57275         * debug/tst-backtrace3.c: Likewise.
57276         * debug/tst-backtrace4.c: Likewise.
57277         * debug/tst-backtrace5.c: Likewise.
57278         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57279         (CFLAGS-tst-backtrace3.c): Likewise.
57280         (CFLAGS-tst-backtrace4.c): Likewise.
57281         (CFLAGS-tst-backtrace5.c): Likewise.
57282         (LDFLAGS-tst-backtrace2): Likewise.
57283         (LDFLAGS-tst-backtrace3): Likewise.
57284         (LDFLAGS-tst-backtrace4): Likewise.
57285         (LDFLAGS-tst-backtrace5): Likewise.
57286         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57287         tst-backtrace4 and tst-backtrace5.
57289 2013-01-18  Anton Blanchard  <anton@samba.org>
57290             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57292         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57293         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57295         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57297         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57298         "+r" and remove output regs list as redundant.  Add explicit inline
57299         asm to specify register of return val to work around compiler codegen
57300         bug.  Remove (int) cast on return value.  Add return type parameter to
57301         use in macro so that this macro does not truncate return value for
57302         64-bit values.
57303         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57304         pass to INTERNAL_VSYSCALL_NCS.
57305         (INLINE_VSYSCALL): Add 'long int' as return type to
57306         INTERNAL_VSYSCALL_NCS macro invocation.
57307         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57308         INTERNAL_VSYSCALL_NCS macro invocation.
57309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57311 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57313         [BZ #14496]
57314         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57315         Fix application of SIMD FP exception mask.
57317         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57318         mp_no from a power of two.
57319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57320         __mpexp_twomm1.  Use __pow_mp.
57322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57323         multiplication.
57325 2013-01-17  David S. Miller  <davem@davemloft.net>
57327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57329 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57331         [BZ #15023]
57332         * include/complex.h: Condition contents on [!_COMPLEX_H].
57333         (__kernel_casinhf): New prototype.
57334         (__kernel_casinh): Likewise.
57335         (__kernel_casinhl): Likewise.
57336         * math/Makefile (libm_calls): Add k_casinh.
57337         * math/k_casinh.c: New file.
57338         * math/k_casinhf.c: Likewise.
57339         * math/k_casinhl.c: Likewise.
57340         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57341         finite nonzero arguments.
57342         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57343         finite nonzero arguments.
57344         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57345         finite nonzero arguments.
57346         * math/s_casinh.c: Do not include <float.h>.
57347         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57348         * math/s_casinhf.c: Do not include <float.h>.
57349         (__casinhf): Move code for finite nonzero arguments to
57350         k_casinhf.c.
57351         * math/s_casinhl.c: Do not include <float.h>.
57352         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57353         redefine.
57354         (__casinhl): Move code for finite nonzero arguments to
57355         k_casinhl.c.
57356         * math/libm-test.inc (cacos_test): Add more tests.
57357         * sysdeps/i386/fpu/libm-test-ulps: Update.
57358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57360 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57362         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57363         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57364         [!HAVE_MREMAP]: Remove [defined linux] case.
57365         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57367 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57369         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57371 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57373         * elf/elf.h (R_386_SIZE32): New relocation.
57374         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57375         R_386_SIZE32.
57376         (elf_machine_rela): Likewise.
57377         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57378         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57380 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57382         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57383         (FP_FAST_FMA): Do not define.
57384         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57385         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57386         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57387         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57388         !_SOFT_FLOAT]: Likewise.
57389         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57390         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57391         value.
57392         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57393         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57394         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57396         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57397         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57398         file.
57400 2013-01-16  Andreas Schwab  <schwab@suse.de>
57402         [BZ #14327]
57403         * include/stdlib.h (__mktemp): Add declaration.
57404         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57405         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57407 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57409         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57410         definitions.
57411         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57412         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57413         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57414         definitions here.
57415         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57416         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57417         definitions.
57418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57419         and ONE.
57420         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57421         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57422         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57423         definitions.
57424         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57425         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57426         definitions.
57427         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57429         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57431 2013-01-15  David S. Miller  <davem@davemloft.net>
57433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57434         trunc{,f} to libm-sysdep_routes.
57435         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57437         file.
57438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57440         file.
57441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57442         file.
57443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57445         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57446         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57447         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57448         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57449         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57450         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57453         nearbyint{,f} to libm-sysdep_routes.
57454         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57456         New file.
57457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57458         file.
57459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57460         New file.
57461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57462         file.
57463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57465         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57466         file.
57467         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57468         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57469         file.
57470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57471         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57472         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57474         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57475         libc_feholdexcept and libc_fesetenv.
57477 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57479         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57481 2013-01-14  David S. Miller  <davem@davemloft.net>
57483         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57484         (SPARC_ASM_VIS2_IFUNC): Likewise.
57485         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57487         use of 'siam' instruction.
57488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57489         Likewise.
57490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57491         Likewise.
57492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57493         Likewise.
57494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57499         file.
57500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57501         file.
57502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57503         file.
57504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57505         file.
57506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57511         new VIS2 routines.
57512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57515         Likewise.
57516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57521         routines to libm-sysdep_routines.
57522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57525         fdim/fdimf to libm-sysdep_routines.
57526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57527         file.
57528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57530         file.
57531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57534         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57535         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57536         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57537         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57539 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57542         to optimize copies.
57544         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57549         local variable MPTWO.
57550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57551         Likewise.
57553 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57555         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57556         GLOB_NOESCAPE.
57558 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57560         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57562 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57564         * manual/pattern.texi (glob_t): Document gl_flags.
57565         (glob64_t): Likewise.
57567 2013-01-11  David S. Miller  <davem@davemloft.net>
57569         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57570         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57571         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57572         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57573         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57574         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57575         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57576         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57577         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57578         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57579         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57580         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57581         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57584         sparc V9 rather than using V8 code.
57585         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57586         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57588         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57589         Move to...
57590         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57591         Here.
57593 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57595         [BZ #14941]
57596         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57597         not in the main loop.
57598         * configure: Regenerated.
57600 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57602         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57603         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57604         to just #else.
57605         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57606         [!__GLIBC_HAVE_LONG_LONG] case.
57607         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57608         condition to just #else.
57609         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57610         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57611         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57612         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57613         unconditional.
57614         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57615         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57616         #elif condition to just #else.
57617         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57618         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57619         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57620         #elif condition to just #else.
57622 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57624         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57625         (EF_MIPS_ARCH_64): Fix value.
57626         (EF_MIPS_ARCH_32R2): New.
57627         (EF_MIPS_ARCH_64R2): New.
57629 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57631         * Makeconfig (+link-pie-before-libc): New.
57632         (+link-pie-after-libc): Likewise.
57633         (+link-pie-tests): Likewise.
57634         (+link-pie): Rewritten.
57635         (link-before-libc): Remove $(config-LDFLAGS).
57636         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57637         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57638         (config-LDFLAGS): Renamed to ...
57639         (rtld-LDFLAGS): This.
57640         (rtld-tests-LDFLAGS): New macro.
57641         (link-libc-rpath-link): Likewise.
57642         (link-libc-tests-rpath-link): Likewise.
57643         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57644         (link-libc): Prepand $(link-libc-rpath-link).
57645         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57646         (test-program-prefix): New macro.
57647         (test-via-rtld-prefix): Likewise.
57648         (test-program-cmd): Likewise.
57649         (host-test-program-cmd): Likewise.
57650         * Makefile ($(common-objpfx)testrun.sh): Replace
57651         $(run-program-prefix) with $(test-program-prefix).
57652         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57653         $(rtld-LDFLAGS).
57654         ($(common-objpfx)shlib.lds): Likewise.
57655         (build-module-helper): Likewise.
57656         ($(common-objpfx)format.lds): Likewise.
57657         * Rules (binaries-pie-tests): New.
57658         (binaries-pie-notests): Likewise.
57659         (binaries-pie): Rewritten.
57660         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57661         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57662         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57663         (make-test-out): Replace $(host-built-program-cmd) with
57664         $(host-test-program-cmd).
57665         * config.make.in (build-hardcoded-path-in-tests): New variable.
57666         * configure.in (--enable-hardcoded-path-in-tests): New configure
57667         option.
57668         (hardcoded_path_in_tests): New AC_SUBST.
57669         * configure: Regenerated.
57670         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57671         $(built-program-cmd) with $(test-program-cmd).
57672         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57673         (test_program_cmd): This.
57674         * elf/Makefile ($(objpfx)order.out): Run test with
57675         $(test-program-prefix).
57676         ($(objpfx)order2.out): Likewise.
57677         ($(objpfx)tst-initorder.out): Likewise.
57678         ($(objpfx)tst-initorder2.out): Likewise.
57679         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57680         $(test-program-cmd).
57681         ($(objpfx)tst-array1-static.out): Likewise.
57682         ($(objpfx)tst-array2.out): Likewise.
57683         ($(objpfx)tst-array3.out): Likewise.
57684         ($(objpfx)tst-array4.out): Likewise.
57685         ($(objpfx)tst-array5.out): Likewise.
57686         ($(objpfx)tst-array5-static.out): Likewise.
57687         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57688         $(test-program-cmd).
57689         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57690         $(run-program-prefix) with $(test-program-prefix).
57691         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57692         (test_program_prefix): This.
57693         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57694         $(run-program-prefix) with $(test-program-prefix).
57695         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57696         (test_program_prefix): This.
57697         * iconvdata/tst-tables.sh: Likewise.
57698         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57699         $(run-program-prefix) with $(test-program-prefix).
57700         ($(objpfx)tst-translit.out): Likewise.
57701         ($(objpfx)tst-gettext2.out): Likewise.
57702         ($(objpfx)tst-gettext4.out): Likewise.
57703         ($(objpfx)tst-gettext6.out): Likewise.
57704         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57705         (test_program_prefix): This.
57706         * intl/tst-gettext2.sh: Likewise.
57707         * intl/tst-gettext4.sh  Likewise.
57708         * intl/tst-gettext6.sh: Likewise.
57709         * intl/tst-translit.sh: Likewise.
57710         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57711         with $(test-program-cmd).
57712         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57713         $(run-program-prefix) with $(test-program-prefix).
57714         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57715         (test_program_prefix): This.
57716         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57717         $(run-program-prefix) with $(test-program-prefix).
57718         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57719         (test_program_prefix): This.
57720         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57721         * posix/Makefile ($(objpfx)globtest.out): Replace
57722         $(run-via-rtld-prefix) and $(test-wrapper) with
57723         $(test-program-prefix) and $(test-via-rtld-prefix).
57724         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57725         $(test-program-prefix).
57726         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57727         $(host-test-program-cmd).
57728         (tst-spawn-ARGS): Likewise.
57729         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57730         $(test-program-prefix).
57731         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57732         (test_via_rtld_prefix): This.
57733         (test_wrapper): Renamed to ...
57734         (test_program_prefix): This.
57735         (run_program_prefix): Replaced by test_program_prefix.
57736         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57737         (test_program_prefix): This.
57738         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57739         with $(host-test-program-cmd).
57740         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57741         $(run-program-prefix) with $(test-program-prefix).
57742         ($(objpfx)tst-printf.out): Likewise.
57743         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57744         $(test-program-cmd).
57745         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57746         (test_program_prefix): This.
57747         * stdio-common/tst-unbputc.sh: Likewise.
57748         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57749         $(run-program-prefix) with $(test-program-prefix).
57750         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57751         (test_program_prefix): This.
57752         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57753         $(built-program-cmd) with $(test-program-cmd).
57755 2013-01-11  Andreas Jaeger  <aj@suse.de>
57757         [BZ #15003]
57758         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57759         value. Sync with Linux 3.7.
57761 2013-01-10  David S. Miller  <davem@davemloft.net>
57763         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57764         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57765         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57767 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57769         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57770         never set.
57771         * configure: Regenerated.
57773 2013-01-10  David S. Miller  <davem@davemloft.net>
57775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57776         sparc V9 rather than using V8 code.
57777         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57778         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57780 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57782         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57783         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57784         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57785         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57786         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57787         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57788         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57789         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57790         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57791         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57792         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57793         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57794         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57795         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57796         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57797         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57798         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57799         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57800         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57801         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57802         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57803         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57804         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57805         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57806         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57807         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57808         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57810 2013-01-10  David S. Miller  <davem@davemloft.net>
57812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57814 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57816         * posix/Makefile (tests-static): New variable.
57817         (tests): Add $(tests-static).
57818         (tst-exec-static-ARGS): New variable.
57819         (tst-spawn-static-ARGS): Likewise.
57820         * posix/tst-exec-static.c: New file.
57821         * posix/tst-spawn-static.c: Likewise.
57822         * posix/tst-exec.c: Support run directly.
57823         * posix/tst-spawn.c: Likewise.
57825 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57827         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57828         long.
57829         * math/bits/mathcalls.h (llrint): Likewise.
57830         (llround): Likewise.
57831         * stdlib/stdlib.h (struct drand48_data): Likewise.
57832         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57833         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57834         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57835         Likewise.
57836         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57837         Likewise.
57838         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57839         (elf_greg_t): Likewise.
57840         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57841         (__jmp_buf): Likewise.
57842         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57843         definitions.
57844         (llrint): Likewise, for all definitions.
57845         (llrintl): Likewise.
57847         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57848         Remove [__GNUC__] condition.
57849         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57850         condition to just [__USE_ISOC99].
57851         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57853 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57855         [BZ #14200]
57856         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57857         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57858         defined.
57859         (_POSIX_V6_ILP32_OFF32): Likewise.
57860         (_XBS5_ILP32_OFF32): Likewise.
57861         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57862         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57864 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57866         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57869         doubles __mpexp_twomm1.  Adjust usage.
57870         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57871         Remove.
57873 2013-01-10  Andreas Schwab  <schwab@suse.de>
57875         [BZ #14964]
57876         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57877         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57879 2013-01-09  David S. Miller  <davem@davemloft.net>
57881         [BZ #15003]
57882         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57883         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57884         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57885         (TCP_FASTOPEN): Define.
57886         (tcp_repair_opt): New structure.
57887         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57888         enum values.
57889         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57890         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57891         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57892         (tcp_cookie_transactions): New structure.
57894 2013-01-09  Anton Blanchard  <anton@samba.org>
57896         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57897         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57898         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57899         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57901 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57903         * include/features.h (__USE_ANSI): Remove.
57905 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57907         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57909         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57911 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57913         * sysdeps/s390/fpu/libm-test-ulps: Update.
57915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57917         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57918         (__acr): Likewise.
57919         (__cpy): Likewise.
57920         (norm): Likewise.
57921         (denorm): Likewise.
57922         (__mp_dbl): Likewise.
57923         (__dbl_mp): Likewise.
57924         (add_magnitudes): Likewise.
57925         (sub_magnitudes): Likewise.
57926         (__add): Likewise.
57927         (__sub): Likewise.
57928         (__mul): Likewise.
57929         (__inv): Likewise.
57930         (__dvd): Likewise.
57931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57932         (__acr): Likewise.
57933         (__cpy): Likewise.
57934         (norm): Likewise.
57935         (denorm): Likewise.
57936         (__mp_dbl): Likewise.
57937         (__dbl_mp): Likewise.
57938         (add_magnitudes): Likewise.
57939         (sub_magnitudes): Likewise.
57940         (__add): Likewise.
57941         (__sub): Likewise.
57942         (__mul): Likewise.
57943         (__inv): Likewise.
57944         (__dvd): Likewise.
57945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57946         (__acr): Likewise.
57947         (__cpy): Likewise.
57948         (norm): Likewise.
57949         (denorm): Likewise.
57950         (__mp_dbl): Likewise.
57951         (__dbl_mp): Likewise.
57952         (add_magnitudes): Likewise.
57953         (sub_magnitudes): Likewise.
57954         (__add): Likewise.
57955         (__sub): Likewise.
57956         (__mul): Likewise.
57957         (__inv): Likewise.
57958         (__dvd): Likewise.
57960 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57962         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57963         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57964         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57965         2 && __USE_EXTERN_INLINES]: Likewise.
57967 2013-01-08  Andreas Jaeger  <aj@suse.de>
57969         [BZ# 14985]
57970         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57971         Remove.
57972         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57973         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57975 2013-01-07  Anton Blanchard  <anton@samba.org>
57977         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57978         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57979         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57980         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57981         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57982         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57983         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57984         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57986         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57987         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57988         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57989         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57991         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57992         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57993         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57995         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57996         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57997         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57998         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57999         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58000         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58001         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58002         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58003         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58004         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58005         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58006         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58007         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58009         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58010         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58011         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58012         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58014         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58015         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58016         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58019         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58021 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58023         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58024         (__MALLOC_PMT): Likewise.
58025         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58026         [__GNUC__], only on [_LIBC].
58027         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58028         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58029         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58030         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58031         forward declaration.
58032         (realloc_hook_ini): Likewise.
58033         (memalign_hook_ini): Likewise.
58034         (__libc_memalign): Do not use __MALLOC_PMT in variable
58035         declaration.
58036         (__libc_valloc): Likewise.
58037         (__libc_pvalloc): Likewise.
58038         (__libc_calloc): Likewise.
58039         (__posix_memalign): Likewise.
58041         [BZ #14996]
58042         * math/s_casinh.c: Include <float.h>.
58043         (__casinh): Do not do computation with squaring and square root
58044         for large arguments.
58045         * math/s_casinhf.c: Include <float.h>.
58046         (__casinhf): Do not do computation with squaring and square root
58047         for large arguments.
58048         * math/s_casinhl.c: Include <float.h>.
58049         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58050         (__casinhl): Do not do computation with squaring and square root
58051         for large arguments.
58052         * math/libm-test.inc (casin_test): Add more tests.
58053         (casinh_test): Likewise.
58054         * sysdeps/i386/fpu/libm-test-ulps: Update.
58055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58057 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58059         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58060         (__x86_64_raw_data_cache_size): Likewise.
58061         (__x86_64_data_cache_size_half): Likewise.
58062         (__x86_64_raw_data_cache_size_half): Likewise.
58063         (__x86_64_shared_cache_size): Likewise.
58064         (__x86_64_raw_shared_cache_size): Likewise.
58065         (__x86_64_shared_cache_size_half): Likewise.
58066         (__x86_64_raw_shared_cache_size_half): Likewise.
58067         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58068         to ...
58069         (__x86_data_cache_size): This.
58070         (__x86_64_raw_data_cache_size): Renamed to ...
58071         (__x86_raw_data_cache_size): This.
58072         (__x86_64_data_cache_size_half): Renamed to ...
58073         (__x86_data_cache_size_half): This.
58074         (__x86_64_raw_data_cache_size_half): Renamed to ...
58075         (__x86_raw_data_cache_size_half): This.
58076         (__x86_64_shared_cache_size): Renamed to ...
58077         (__x86_shared_cache_size): This.
58078         (__x86_64_raw_shared_cache_size): Renamed to ...
58079         (__x86_raw_shared_cache_size): This.
58080         (__x86_64_shared_cache_size_half): Renamed to ...
58081         (__x86_shared_cache_size_half): This.
58082         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58083         (__x86_raw_shared_cache_size_half): This.
58084         * sysdeps/x86_64/memcpy.S: Updated.
58085         * sysdeps/x86_64/memset.S: Likewise.
58086         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58088         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58090 2013-01-04  David S. Miller  <davem@davemloft.net>
58092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58094 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58096         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58097         1 to avoid redefinition warning.
58098         (__USE_GNU): Don't define.
58099         (init_signaling_nan): Protoize.
58101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58103 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58105         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58107         (__cpymn): Likewise.
58108         (norm): Remove commented code.
58109         (denorm): Likewise.
58110         (__mp_dbl): Likewise.
58111         (__inv): Likewise.
58112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58113         (__cpymn): Likewise.
58114         (norm): Remove commented code.
58115         (denorm): Likewise.
58116         (__mp_dbl): Likewise.
58117         (__inv): Likewise.
58119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58120         mp_no value for 1.0 and 2.0.
58121         (norm): Use RADIXI instead of radixi.d.
58122         (denorm): Likewise.
58123         (__mul): Use 0.0 instead of zero.d.
58124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58125         mp_no value for 1.0 and 2.0.
58126         (norm): Use RADIXI instead of radixi.d.
58127         (denorm): Likewise.
58128         (__mul): Use 0.0 instead of zero.d.
58130 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58132         [BZ #14994]
58133         * math/s_casinh.c (__casinh): Reduce finite argument to first
58134         quadrant then set signs of results at the end.
58135         * math/s_casinhf.c (__casinhf): Likewise.
58136         * math/s_casinhl.c (__casinhl): Likewise.
58137         * math/libm-test.inc (casin_test): Add more tests.
58138         (casinh_test): Likewise.
58139         * sysdeps/i386/fpu/libm-test-ulps: Update.
58140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58142 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58144         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58146         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58148         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58149         declarations.
58150         (denorm): Likewise.
58151         (__mp_dbl): Likewise.
58152         (__inv): Likewise.
58154         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58155         and adjust the header comment.
58157         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58158         variable name from declaration.
58160 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58163         Initialize COMMON_CPUID_INDEX_7 element.
58164         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58165         (CPUID_RTM): Likewise.
58166         (HAS_RTM): Likewise.
58167         (COMMON_CPUID_INDEX_7): New enum.
58169 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58171         [BZ #14981]
58172         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58173         size is zero, record memory as freed.
58175 2013-01-03  Andreas Jaeger  <aj@suse.de>
58177         * po/ia.po: Add new Interlingua translation.
58179 2012-01-03  Allan McRae  <allan@archlinux.org>
58181         * locale/programs/localedef.c: Fix description of '--posix' flag.
58183 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58185         * NEWS: Update dates in second copyright notice.
58186         * README: Update copyright dates in example.
58187         * manual/libc.texinfo: Update copyright dates.
58188         * scripts/test-installation.pl: Update copyright date in --version
58189         output.
58191         * hurd/ctty-input.c: Fix copyright notice formatting.
58192         * hurd/ctty-output.c: Likewise.
58193         * hurd/dtable.c: Likewise.
58194         * hurd/hurd-raise.c: Likewise.
58195         * hurd/hurdprio.c: Likewise.
58196         * hurd/msgportdemux.c: Likewise.
58197         * misc/sys/file.h: Likewise.
58198         * misc/sys/ioctl.h: Likewise.
58199         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58200         * sysdeps/mach/hurd/chdir.c: Likewise.
58201         * sysdeps/mach/hurd/fchdir.c: Likewise.
58202         * sysdeps/mach/hurd/rename.c: Likewise.
58203         * sysdeps/mach/hurd/rmdir.c: Likewise.
58204         * sysdeps/mach/hurd/seekdir.c: Likewise.
58205         * sysdeps/mach/hurd/setsid.c: Likewise.
58206         * sysdeps/posix/wait3.c: Likewise.
58208         * All files with FSF copyright notices: Update copyright dates
58209         using scripts/update-copyrights.
58210         * intl/plural.c: Regenerated.
58211         * locale/programs/charmap-kw.h: Likewise.
58212         * locale/programs/locfile-kw.h: Likewise.
58214 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58216         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58217         four values.
58219         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58220         calculation loop and add branch prediction.
58222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58223         check access beyond bounds of m1np.
58225         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58226         MPTWO.
58227         (__inv): Remove local variable MPTWO to use the global
58228         constant.
58229         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58230         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58231         variable MPTWO.
58232         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58233         MP3HALFS static const.
58235 2013-01-01  David S. Miller  <davem@davemloft.net>
58237         * po/ca.po: Update from translation team.
58239 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58241         * scripts/update-copyrights: New file.
58242         * Makeconfig: Reformat copyright notice.
58243         * ctype/ctype.h: Likewise.
58244         * debug/swprintf_chk.c: Likewise.
58245         * elf/dl-cache.c: Likewise.
58246         * elf/dl-debug.c: Likewise.
58247         * elf/dl-object.c: Likewise.
58248         * grp/initgroups.c: Likewise.
58249         * hurd/Makefile: Likewise.
58250         * hurd/hurd/signal.h: Likewise.
58251         * hurd/hurdfault.c: Likewise.
58252         * hurd/hurdioctl.c: Likewise.
58253         * hurd/hurdlookup.c: Likewise.
58254         * hurd/intr-msg.c: Likewise.
58255         * iconv/gconv_open.c: Likewise.
58256         * libio/swprintf.c: Likewise.
58257         * locale/lc-ctype.c: Likewise.
58258         * locale/nl_langinfo.c: Likewise.
58259         * mach/Machrules: Likewise.
58260         * mach/Makefile: Likewise.
58261         * malloc/obstack.h: Likewise.
58262         * manual/Makefile: Likewise.
58263         * manual/tsort.awk: Likewise.
58264         * misc/bits/stab.def: Likewise.
58265         * nis/nis_print_group_entry.c: Likewise.
58266         * nis/nis_table.c: Likewise.
58267         * nis/nss_compat/compat-pwd.c: Likewise.
58268         * nis/nss_compat/compat-spwd.c: Likewise.
58269         * po/Makefile: Likewise.
58270         * posix/fnmatch.c: Likewise.
58271         * posix/regex.h: Likewise.
58272         * resolv/Makefile: Likewise.
58273         * resolv/nss_dns/dns-network.c: Likewise.
58274         * resolv/res_hconf.c: Likewise.
58275         * scripts/gen-sorted.awk: Likewise.
58276         * soft-fp/soft-fp.h: Likewise.
58277         * stdio-common/printf.h: Likewise.
58278         * stdlib/monetary.h: Likewise.
58279         * stdlib/random.c: Likewise.
58280         * stdlib/random_r.c: Likewise.
58281         * sysdeps/generic/Makefile: Likewise.
58282         * sysdeps/gnu/Makefile: Likewise.
58283         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58285         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58287         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58288         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58289         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58290         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58291         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58292         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58293         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58294         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58295         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58296         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58297         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58298         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58299         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58300         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58301         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58302         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58303         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58304         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58305         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58306         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58307         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58309         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58310         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58311         * sysdeps/mach/hurd/errnos.awk: Likewise.
58312         * sysdeps/mach/hurd/fork.c: Likewise.
58313         * sysdeps/mach/hurd/getcwd.c: Likewise.
58314         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58315         * sysdeps/mach/hurd/mmap.c: Likewise.
58316         * sysdeps/mach/hurd/utimes.c: Likewise.
58317         * sysdeps/mach/hurd/xmknod.c: Likewise.
58318         * sysdeps/posix/profil.c: Likewise.
58319         * sysdeps/posix/readdir_r.c: Likewise.
58320         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58321         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58322         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58323         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58325         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58326         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58327         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58329         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58330         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58331         * sysdeps/pthread/lio_listio.c: Likewise.
58332         * sysdeps/sparc/dl-procinfo.h: Likewise.
58333         * sysdeps/unix/i386/sysdep.S: Likewise.
58334         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58335         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58336         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58337         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58339         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58340         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58341         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58342         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58343         * sysdeps/wordsize-32/divdi3.c: Likewise.
58344         * time/sys/time.h: Likewise.
58345         * wcsmbs/Makefile: Likewise.
58347 2013-01-01  David S. Miller  <davem@davemloft.net>
58349         * po/fr.po: Update from translation team.
58351         * catgets/gencat.c: Update copyright year.
58352         * csu/version.c: Likewise.
58353         * debug/catchsegv.sh: Likewise.
58354         * debug/pcprofiledump.c: Likewise.
58355         * debug/xtrace.sh: Likewise.
58356         * elf/ldconfig.c: Likewise.
58357         * elf/ldd.bash.in: Likewise.
58358         * elf/pldd.c: Likewise.
58359         * elf/sotruss.ksh: Likewise.
58360         * elf/sprof.c: Likewise.
58361         * iconv/iconv_prog.c: Likewise.
58362         * iconv/iconvconfig.c: Likewise.
58363         * locale/programs/locale.c: Likewise.
58364         * locale/programs/localedef.c: Likewise.
58365         * login/programs/pt_chown.c: Likewise.
58366         * malloc/memusage.sh: Likewise.
58367         * malloc/memusagestat.c: Likewise.
58368         * malloc/mtrace.pl: Likewise.
58369         * nscd/nscd.c: Likewise.
58370         * nss/getent.c: Likewise.
58371         * nss/makedb.c: Likewise.
58372         * posix/getconf.c: Likewise.
58374 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58376         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58377         numbers.
58379 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58381         * math/bits/mathcalls.h (modf): Use __nonnull.
58383 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58385         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58386         (split): Use macro CN instead of the bare value.
58387         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58388         could be used.
58389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58390         instead of the bare value.
58391         (power1): Likewise.
58393 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58395         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58396         __ATAN_TWOM.
58397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58399         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58400         their values.
58401         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58402         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58403         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58404         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58406 2012-12-28  Andreas Jaeger  <aj@suse.de>
58408         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58409         values are from Linux 3.7.
58411         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58412         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58414 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58416         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58417         TRUE case.
58419         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58420         (norm): Likewise.
58421         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58422         variables with preprocessor constants.
58423         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58424         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58427 2012-12-27  Bruno Haible  <bruno@clisp.org>
58429         [BZ #14317]
58430         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58431         only if needed.
58433 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58436         and use variable directly.
58437         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58439         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58440         MPONE.
58441         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58443         variable MPONE.
58444         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58446         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58447         include directive.  Remove local variable MPONE.
58448         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58449         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58450         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58452 2012-12-25  David S. Miller  <davem@davemloft.net>
58454         * version.h (RELEASE): Set to "development".
58455         (VERSION): Set to "2.17.90".
58456         * NEWS: Add 2.18 section.
58458 2012-12-21  David S. Miller  <davem@davemloft.net>
58460         * po/hr.po: Update from translation team.
58462 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58464         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58466 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58468         * NEWS:  Mention new memcpy for MIPS.
58470 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58472         * manual/contrib.texi (Contributors): Spelling correction.
58474 2012-12-15  David S. Miller  <davem@davemloft.net>
58476         * po/ru.po: Update from translation team.
58478 2012-12-13  David S. Miller  <davem@davemloft.net>
58480         * NEWS: Mention IFUNC testsuite enhancements.
58482         * po/pl.po: Update from translation team.
58483         * po/bg.po: Likewise.
58485         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58486         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58488 2012-12-11  David S. Miller  <davem@davemloft.net>
58490         * po/sv.po: Update from translation team.
58492         * po/vi.po: Update from translation team.
58494         * po/cs.po: Update from translation team.
58496         * po/de.po: Update from translation team.
58497         * po/eo.po: Likewise.
58498         * po/nl.po: Likewise.
58500 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58502         [BZ #14246]
58503         * manual/argp.texi (Argp Helper Functions): Move node to follow
58504         Argp Parsing State.
58506         [BZ #14872]
58507         * manual/conf.texi (Limits on File System Capacity): Mention if
58508         terminating null is included in the max size.
58510 2012-12-10  Andreas Jaeger  <aj@suse.de>
58512         * po/cs.po: Update from translation team.
58514 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58516         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58517         void pointer and cast to uintptr_t.
58518         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58519         path.
58520         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58521         * sysdeps/s390/s390-64/memset.S: Likewise.
58523 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58525         [BZ #14833]
58526         * menual/message.texi (Message Translation): Fix typos.
58527         (Helper programs for gettext): Likewise.
58529 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58531         [BZ #14898]
58532         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58533         Change to -1.
58535 2012-12-07  David S. Miller  <davem@davemloft.net>
58537         * po/libc.pot: Update.
58539 2012-12-07  Richard Henderson  <rth@redhat.com>
58541         [BZ #10114]
58542         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58543         normal/normal case to before the switch.
58544         (_FP_DIV): Likewise.
58546 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58547             Mike Frysinger  <vapier@gentoo.org>
58549         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58550         check for __NR_fadvise64_64.
58552 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58554         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58555         0, not just to plain "0" as a statement.
58556         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58557         with cw.
58559 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58561         * NEWS: Use sourceware.org in Bugzilla URL.
58563 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58566         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58568         * stdio-common/tst-put-error.c (do_test): Add newline to the
58569         padded test to ensure flush.
58571 2012-12-05  Jeff Law  <law@redhat.com>
58573         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58575 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58577         * README: Don't refer to ports add-on as distributed separately.
58578         Mention AArch64 in list of systems supported in the ports add-on.
58580         * LICENSES: Add more non-FSF copyright and license notices.
58582         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58583         ((unused)).
58585         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58587         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58588         10000 as width of padded output.
58590 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58592         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58594         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58595         variable LX with __attribute__ ((unused)).
58596         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58597         Likewise.
58598         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58599         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58601         with __attribute__ ((unused)).
58603 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58605         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58607 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58609         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58610         (CFLAGS-nldbl-acos.c): New variable.
58611         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58612         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58613         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58614         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58615         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58616         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58617         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58618         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58619         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58620         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58621         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58622         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58623         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58624         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58625         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58626         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58627         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58628         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58629         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58630         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58631         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58632         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58633         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58634         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58635         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58636         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58637         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58638         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58639         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58640         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58641         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58642         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58643         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58644         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58645         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58646         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58647         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58648         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58649         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58650         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58651         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58652         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58653         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58654         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58655         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58656         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58657         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58658         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58659         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58660         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58661         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58662         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58663         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58664         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58665         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58666         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58667         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58668         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58669         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58670         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58671         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58672         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58673         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58674         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58675         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58676         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58677         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58678         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58679         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58680         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58681         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58682         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58683         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58684         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58685         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58686         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58687         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58688         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58689         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58690         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58691         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58692         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58693         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58694         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58695         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58696         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58697         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58698         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58699         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58700         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58701         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58702         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58703         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58704         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58705         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58706         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58707         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58710         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58712         [BZ #14914]
58713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58714         whole low double instead of just low 47 bits when splitting values
58715         into two parts.
58717 2012-12-03  Allan McRae  <allan@archlinux.org>
58719         * manual/stdio.texi (Predefined Printf Handlers): Remove
58720         @hsep and @vsep usage.
58722 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58724         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58725         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58727 2012-12-03  Jeff Law  <law@redhat.com>
58729         * time/sys/time.h (settimeofday): Do not mark TV argument
58730         as __nonnull.
58732 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58734         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58735         when currently writing and seek to current position when not.
58736         * libio/Makefile (tests): Remove bug-fclose1.
58737         * libio/bug-fclose1.c: Delete.
58739 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58741         * manual/arith.texi (feenableexcept): Fix typo.
58742         (fedisableexcept): Likewise.
58744 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58746         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58747         second, differently-typed declaration, rather than a cast.
58749 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58751         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58752         * include/rpc/svc.h: ... here.
58754 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58756         [BZ #13013]
58757         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58758         depending n and resplen2 to catch cases where answer
58759         equals answerp2.
58761 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58763         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58764         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58766 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58768         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58770 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58772         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58774 2012-11-28  Jeff Law  <law@redhat.com>
58776         [BZ #13761]
58777         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58778         dataset_temporary.  Track alloca usage into alloca_used.
58779         If dataset is large allocate and release it via malloc/free.
58781 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58783         [BZ #14197]
58784         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58786 2012-11-28  David S. Miller  <davem@davemloft.net>
58788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58790 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58792         [BZ #14803]
58793         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58794         of pi/2 rounded to nearest to 64 bits.
58795         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58796         nearest to 64 bits.
58797         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58798         bits.
58800 2012-11-28  Jeff Law <law@redhat.com>
58801             Martin Osvald <mosvald@redhat.com>
58803         [BZ #14889]
58804         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58805         * sunrpc/svc.c: Include time.h.
58806         (__svc_accept_failed): New function.
58807         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58808         any reason other than EINTR, call __svc_accept_failed.
58809         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58810         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58812 2012-11-28  Andreas Schwab  <schwab@suse.de>
58814         * scripts/abilist.awk: Also handle indirect functions in .opd
58815         section.
58817 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58819         [BZ #13881]
58820         * sysdeps/x86/fpu/powl_helper.c: New file.
58821         * sysdeps/x86/fpu/Makefile: Likewise.
58822         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58823         (p3): New object.
58824         (__ieee754_powl): Use __powl_helper for finite arguments except
58825         integer exponents below 8.
58826         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58827         (p3): New object.
58828         (__ieee754_powl): Use __powl_helper for finite arguments except
58829         integer exponents below 8.
58830         * math/libm-test.inc (pow_test): Add more tests and enable some
58831         previously disabled tests.
58832         * sysdeps/i386/fpu/libm-test-ulps: Update.
58833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58835 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58836             Carlos O'Donell  <carlos_odonell@mentor.com>
58838         * nss/makedb.c (is_prime): Assert that input is odd and greater
58839         than 4.  Note that fact in a comment too.
58840         (next_prime): Add 4 to input.
58842 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58844         [BZ #11741]
58845         * libio/Makefile (tests): Add test case tst-fwrite-error.
58846         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58847         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58848         * libio/tst-fwrite-error.c: New test case.
58850 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58852         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58853         before casting to void *.
58854         * include/libc-internal.h (__pointer_type): New macro.
58855         (__integer_if_pointer_type_sub): Likewise.
58856         (__integer_if_pointer_type): Likewise.
58857         (cast_to_integer): Likewise.
58858         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58859         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58860         before casting to atomic64_t.
58861         (atomic_exchange_acq): Likewise.
58862         (__arch_exchange_and_add_body): Likewise.
58863         (__arch_add_body): Likewise.
58864         (atomic_add_negative): Likewise.
58865         (atomic_add_zero): Likewise.
58867 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58869         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58870         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58871         (add_fdes): Likewise.
58872         (linear_search_fdes): Likewise.
58873         (binary_search_unencoded_fdes): Likewise.
58875 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58877         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58879 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58881         * configure.in: Autodetect C++ header directories.
58882         * configure: Regenerated.
58884 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58886         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58888 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58892 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58894         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58895         LDBL_MANT_DIG == 106]: Disable some tests.
58896         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58897         Likewise.
58898         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58899         Likewise.
58901         [BZ #14871]
58902         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58903         input for small inputs.  Return +/- pi/2 for large inputs.
58904         * math/libm-test.inc (atan_test): Add more tests.
58906         * sysdeps/generic/unwind-dw2-fde-glibc.c
58907         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58908         __attribute__ ((unused)).
58910         [BZ #14645]
58911         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58912         x * y if x and y are nonzero and z is zero.
58914         [BZ #14811]
58915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58916         nonzero exponents with absolute value below 0x1p-117 to +/-
58917         0x1p-117.
58919         [BZ #14869]
58920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58921         up arguments below 2**-450, not just those below 2**-500.
58922         * math/libm-test.inc (hypot_test): Add another test.
58924         [BZ #14868]
58925         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58926         Return a+b for ratio over 2**120, not 2**60.
58927         * math/libm-test.inc (hypot_test): Add another test.
58929         * math/libm-test.inc (clog_test): Use
58930         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58931         (clog10_test): Likewise.
58933         [BZ #6778]
58934         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58936 2012-11-22  Andreas Schwab  <schwab@suse.de>
58938         * sysdeps/i386/fpu/libm-test-ulps: Update.
58940 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58942         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58943         printf output with newline.
58945 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58947         [BZ #14865]
58948         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58949         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58950         -z nodlopen, -z initfirst and -z execstack support.
58951         * configure: Regenerated.
58953         * elf/elf.h (DF_1_NODIRECT): New macro.
58954         (DF_1_IGNMULDEF): Likewise.
58955         (DF_1_NOKSYMS): Likewise.
58956         (DF_1_NOHDR): Likewise.
58957         (DF_1_EDITED): Likewise.
58958         (DF_1_NORELOC): Likewise.
58959         (DF_1_SYMINTPOSE): Likewise.
58960         (DF_1_GLOBAUDIT): Likewise.
58961         (DF_1_SINGLETON): Likewise.
58962         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58963         DT_1_SUPPORTED_MASK bits.
58964         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58966 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58968         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58970 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58972         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58973         macro.
58975         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58976         (sendmmsg): Move declarations...
58977         * socket/sys/socket.h: ... here.
58978         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58979         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58980         include it from...
58981         * socket/recvmmsg.c: ... this new file.
58982         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58983         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58984         definition of __sendmmsg hidden.
58985         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58986         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58987         Move ENOSYS stub into and include it from...
58988         * socket/sendmmsg.c: ... this new file.
58989         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58990         (sysdep_routines): Move recvmmsg and sendmmsg...
58991         * socket/Makefile (routines): ... here.
58992         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58993         (GLIBC_PRIVATE): Add __sendmmsg.
58994         * include/sys/socket.h (__sendmmsg): Add declarations.
58995         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58996         sendmmsg.
58998 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59000         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59001         variable I1 with __attribute__ ((unused)).
59002         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59004 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59006         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59007         DUMMY variables with __attribute__ ((unused)).
59009         * bits/byteswap.h: Include <bits/types.h>.
59010         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59012 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59014         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59015         string_t.  Do not manually set errno.
59016         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59017         length with __strnlen.  Make sure to both set errno and return it on
59018         failure.
59020 2012-11-19  David S. Miller  <davem@davemloft.net>
59022         With help from Joseph Myers.
59023         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59024         very large arguments properly.
59025         * math/libm-test.inc (atan_test): New tests.
59026         (atan2_test): New tests.
59027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59030 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59032         [BZ #14856]
59033         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59034         Define to 3.
59036         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59037         [POSIX] (EADDRNOTAVAIL): Likewise.
59038         [POSIX] (EAFNOSUPPORT): Likewise.
59039         [POSIX] (EALREADY): Likewise.
59040         [POSIX] (ECONNABORTED): Likewise.
59041         [POSIX] (ECONNREFUSED): Likewise.
59042         [POSIX] (ECONNRESET): Likewise.
59043         [POSIX] (EDESTADDRREQ): Likewise.
59044         [POSIX] (EDQUOT): Likewise.
59045         [POSIX] (EHOSTUNREACH): Likewise.
59046         [POSIX] (EIDRM): Likewise.
59047         [POSIX] (EISCONN): Likewise.
59048         [POSIX] (ELOOP): Likewise.
59049         [POSIX] (EMULTIHOP): Likewise.
59050         [POSIX] (ENETDOWN): Likewise.
59051         [POSIX] (ENETUNREACH): Likewise.
59052         [POSIX] (ENOBUFS): Likewise.
59053         [POSIX] (ENODATA): Likewise.
59054         [POSIX] (ENOLINK): Likewise.
59055         [POSIX] (ENOMSG): Likewise.
59056         [POSIX] (ENOPROTOOPT): Likewise.
59057         [POSIX] (ENOSR): Likewise.
59058         [POSIX] (ENOSTR): Likewise.
59059         [POSIX] (ENOTCONN): Likewise.
59060         [POSIX] (ENOTSOCK): Likewise.
59061         [POSIX] (EOPNOTSUPP): Likewise.
59062         [POSIX] (EOVERFLOW): Likewise.
59063         [POSIX] (EPROTO): Likewise.
59064         [POSIX] (EPROTONOSUPPORT): Likewise.
59065         [POSIX] (EPROTOTYPE): Likewise.
59066         [POSIX] (ESTALE): Likewise.
59067         [POSIX] (ETIME): Likewise.
59068         [POSIX] (ETXTBSY): Likewise.
59069         [POSIX] (EWOULDBLOCK): Likewise.
59070         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59071         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59072         [POSIX] (SEEK_CUR): Likewise.
59073         [POSIX] (SEEK_END): Likewise.
59074         [POSIX || UNIX98] (mode_t): Do not require.
59075         [POSIX] (off_t): Likewise.
59076         [POSIX] (pid_t): Likewise.
59077         [POSIX] (sys/stat.h): Do not allow header.
59078         [POSIX] (unistd.h): Likewise.
59079         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59080         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59081         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59082         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59083         require.
59084         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59085         sigevent): Specify elements.
59086         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59087         entry.
59088         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59089         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59091         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59092         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59093         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59094         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59095         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59096         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59097         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59098         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59099         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59100         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59101         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59102         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59103         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59104         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59105         Likewise.
59106         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59107         Likewise.
59108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59109         Likewise.
59110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59111         Likewise.
59112         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59113         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59114         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59115         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59116         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59117         Specify lower bound on value.
59118         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59119         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59120         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59121         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59122         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59123         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59124         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59125         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59126         value.
59127         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59128         as optional.
59129         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59130         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59131         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59132         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59133         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59134         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59135         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59136         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59137         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59138         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59139         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59140         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59141         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59142         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59143         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59144         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59145         entry.
59146         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59147         optional.
59148         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59149         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59150         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59151         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59152         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59153         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59154         Likewise.
59155         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59156         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59157         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59158         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59159         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59160         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59161         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59162         as optional.
59163         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59164         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59166         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59167         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59168         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59169         specify as optional.
59170         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59171         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59172         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59173         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59174         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59175         [XPG3] (NL_LANGMAX): Likewise.
59176         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59177         [POSIX || XPG3] (NL_NMAX): Likewise.
59178         [POSIX || XPG3] (NL_SETMAX): Likewise.
59179         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59180         [XPG3] (NZERO): Likewise.
59181         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59182         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59183         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59184         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59185         (REG_ERANGE): Expect.
59186         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59187         optional-constant.
59188         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59189         Use (void) in prototype.
59190         [POSIX] (*_t): Allow.
59191         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59192         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59193         (WRDE_BADVAL): Expect.
59195         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59196         expect.
59197         [XPG3 || XPG4] (O_RSYNC): Likewise.
59198         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59199         Likewise.
59200         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59201         [XPG3 || XPG4] (sigqueue): Likewise.
59202         [XPG3 || XPG4] (sigtimedwait): Likewise.
59203         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59204         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59205         [XPG3 || XPG4] (vsnprintf): Likewise.
59206         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59207         Likewise.
59208         [XPG3 || XPG4] (blksize_t): Likewise.
59209         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59210         Likewise.
59211         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59212         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59213         [XPG3 || XPG4] (struct itimerspec): Likewise.
59214         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59215         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59216         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59217         [XPG3 || XPG4] (clockid_t): Likewise.
59218         [XPG3 || XPG4] (timer_t): Likewise.
59219         [XPG3 || XPG4] (clock_getres): Likewise.
59220         [XPG3 || XPG4] (clock_gettime): Likewise.
59221         [XPG3 || XPG4] (clock_settime): Likewise.
59222         [XPG3 || XPG4] (nanosleep): Likewise.
59223         [XPG3 || XPG4] (timer_create): Likewise.
59224         [XPG3 || XPG4] (timer_delete): Likewise.
59225         [XPG3 || XPG4] (timer_gettime): Likewise.
59226         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59227         [XPG3 || XPG4] (timer_settime): Likewise.
59228         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59229         [XPG3 || XPG4] (getlogin_r): Likewise.
59230         [XPG3 || XPG4] (pread): Likewise.
59231         [XPG3 || XPG4] (pthread_atfork): Likewise.
59232         [XPG3 || XPG4] (pwrite): Likewise.
59234         [BZ #14835]
59235         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59236         <bits/siginfo.h>.
59238 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59240         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59241         finalizing MALLSTREAM.
59243         * sysdeps/mach/hurd/syncfs.c: New file.
59245 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59247         [BZ #14719]
59248         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59249         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59251         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59252         (_nss_dns_gethostbyname4_r): Likewise.
59253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59254         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59256 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59258         [BZ #13763]
59259         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59261 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59263         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59264         * elf/cache.c (print_entry): Print ",AArch64" for
59265         FLAG_AARCH64_LIB64
59267         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59268         * elf/cache.c (print_entry): Print ",hard-float" for
59269         FLAG_ARM_LIBHF.
59271 2012-11-18  David S. Miller  <davem@davemloft.net>
59273         With help from Joseph Myers.
59274         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59275         cutoff to 2**-13.
59276         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59277         cutoff to 2**-25.
59278         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59279         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59280         small.
59281         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59282         * math/libm-test.inc (y0_test): New tests.
59283         (y1_test): New tests.
59284         * sysdeps/i386/fpu/libm-test-ulps: Update.
59285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59288 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59290         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59291         64-bit targets.
59292         * configure: Regenerated.
59294 2012-11-17  David S. Miller  <davem@davemloft.net>
59296         [BZ #14811]
59297         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59298         nonzero exponents with absolute value below 0x1p-128 to +/-
59299         0x1p-128.
59301 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59303         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59305         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59307         * posix/getconf-speclist.c: New file.
59308         * posix/posix-envs.def: Likewise.
59309         * posix/confstr.c (START_ENV_GROUP): New macro.
59310         (END_ENV_GROUP): Likewise.
59311         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59312         (KNOWN_PRESENT_ENV_STRING): Likewise.
59313         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59314         (UNKNOWN_ENVIRONMENT): Likewise.
59315         (confstr): Include posix-envs.def instead of handling
59316         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59317         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59318         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59319         (END_ENV_GROUP): Likewise.
59320         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59321         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59322         (UNKNOWN_ENVIRONMENT): Likewise.
59323         (__sysconf): Include posix-envs.def instead of handling associated
59324         cases directly here.
59325         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59326         preprocessing getconf-speclist.c rather than running getconf or
59327         generating empty file.
59329 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59331         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59333 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59335         [BZ #14672]
59336         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59338 2012-11-16  David S. Miller  <davem@davemloft.net>
59340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59341         smaller than LDBL_EPSILON/2.0L, just return xm1.
59343 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59345         * elf/tst-array1.c (init): Set constructor priority to 1000.
59346         (fini): Set destructor priority to 1000.
59347         * elf/tst-array2dep.c: Likewise.
59349 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59351         [BZ #11741]
59352         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59353         (_IO_new_file_xsputn): Also return EOF if none of the input
59354         data was written when overflow failed.
59355         * libio/iopadn.c (_IO_padn): Likewise.
59356         * libio/iowpadn.c (_IO_wpadn): Likewise.
59357         * stdio-common/tst-put-error.c: Add copyright notice.
59358         (do_test): Add case for printing padded string.
59359         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59360         _IO_padn returned error.
59361         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59362         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59363         return EOF.
59365 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59367         * libio/libioP.h: Add comment note that the references to C++
59368         bits are now obsolete.
59370 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59372         * math/libm-test.inc (check_complex): Use asprintf.
59374 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59376         * debug/pcprofiledump.c (print_version): Update copyright year.
59377         * malloc/memusagestat.c (print_version): Likewise.
59379 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59381         [BZ #14831]
59382         * elf/Makefile (tests): Add tst-audit8.
59383         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59384         ($(objpfx)tst-audit8.out): New target.
59385         (tst-audit8-ENV): New variable.
59386         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59387         audit if l_reloc_result is NULL.
59388         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59389         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59390         * elf/tst-audit8.c: New file.
59392 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59394         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59395         * misc/Makefile (CFLAGS-select.c): Define.
59396         * posix/Makefile (CFLAGS-pause.c): Define.
59398 2012-11-13  David S. Miller  <davem@davemloft.net>
59400         * crypt/Makefile: Move test targets after toplevel Rules
59401         inclusion.  Grab any necessary sysdep routines when linking.
59402         * crypt/md5.c (md5_process_block): Remove define, we will always
59403         name it __md5_process_block.
59404         (md5_finish_ctx): Update md5_process_block call.
59405         (md5_stream): Likewise.
59406         (md5_process_bytes): Likewise.
59407         (md5_process_block): Rename to __md5_process_block and move to ...
59408         * crypt/md5-block.c: ... here.
59409         * crypt/sha256.c (sha256_process_block): Move to ...
59410         * crypt/sha256-block.c: ... here.
59411         * crypt/sha512.c (sha512_process_block): Move to ...
59412         * crypt/sha512-block.c: ... here.
59413         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59414         path.
59415         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59416         * sysdeps/sparc/sparc64/multiarch/Makefile
59417         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59418         crypt subdir.
59419         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59420         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59421         multiarch changes.
59422         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59423         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59424         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59425         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59426         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59427         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59428         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59429         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59430         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59431         file.
59432         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59433         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59434         file.
59435         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59437 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59439         * timezone/tzselect.ksh: Update from tzcode git revision
59440         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59441         * timezone/zdump.c: Likewise.
59442         * timezone/zic.c: Likewise.
59443         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59444         in TZVERSION setting, not $(PKGVERSION).
59445         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59446         REPORT_BUGS_TO settings.
59448         [BZ #14838]
59449         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59450         macro.
59452 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59454         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59455         detection to immediately after _FP_ROUND().
59456         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59457         bits are 0.
59459 2012-11-11  David S. Miller  <davem@davemloft.net>
59461         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59462         inttypes.h
59463         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59464         __close rather than their public counterparts.
59466 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59468         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59469         file.
59470         [UNIX98] (sem_timedwait): Do not expect.
59471         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59472         [XPG4 || UNIX98] (sockatmark): Do not expect.
59473         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59474         (clock_getcpuclockid): Do not expect.
59475         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59476         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59477         Do not expect.
59478         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59479         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59480         [UNIX98] (vwscanf): Likewise.
59481         [UNIX98] (vswscanf): Likewise.
59483 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59485         * timezone/version.h: Remove file.
59486         * timezone/README: Do not refer to version.h.
59487         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59488         $(objpfx)version.h.
59489         ($(objpfx)zdump.o): Likewise.
59490         ($(objpfx)version.h): New target.
59492         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59493         2012i.
59494         * timezone/README: Don't mention modification to tzselect.ksh.
59495         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59496         work on unmodified tzselect.ksh.  Substitute version numbers in
59497         tzselect.ksh.
59499         * Makefile (format-me): Remove.
59500         (INSTALL): Adjust indentation.  Use commands directly instead of
59501         using $(format-me).
59503         * aclocal.m4 (ACX_PKGVERSION): New macro.
59504         (ACX_BUGURL): Likewise.
59505         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59506         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59507         (REPORT_BUGS_TO): Likewise.
59508         * configure: Regenerated.
59509         * config.h.in (PKGVERSION): New macro.
59510         (REPORT_BUGS_TO): Likewise.
59511         * config.make.in (PKGVERSION): New variable.
59512         (PKGVERSION_TEXI): Likewise.
59513         (REPORT_BUGS_TO): Likewise.
59514         (REPORT_BUGS_TEXI): Likewise.
59515         * Makefile (format-me): Use -I$(common-objpfx)manual.
59516         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59517         ($(common-objpfx)manual/%): New target.
59518         (manual/%): Remove target.
59519         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59520         (print_version): Use PKGVERSION.
59521         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59522         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59523         and REPORT_BUGS_TO.
59524         ($(objpfx)xtrace): Likewise.
59525         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59526         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59527         (print_version): Use PKGVERSION.
59528         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59529         (do_version): Use PKGVERSION.
59530         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59531         REPORT_BUGS_TO.
59532         (common-ldd-rewrite): Likewise.
59533         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59534         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59535         (print_version): Use PKGVERSION.
59536         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59537         * elf/pldd.c (argp_program_bug_address): Remove variable.
59538         (more_help): New function.
59539         (argp): Use more_help.
59540         (print_version): Use PKGVERSION.
59541         * elf/sln.c (main): Use PKGVERSION.
59542         (usage): Use REPORT_BUGS_TO.
59543         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59544         (top level): Use PKGVERSION.
59545         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59546         (print_version): Use PKGVERSION.
59547         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59548         (print_version): Use PKGVERSION.
59549         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59550         (print_version): Use PKGVERSION.
59551         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59552         (print_version): Use PKGVERSION.
59553         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59554         (print_version): Use PKGVERSION.
59555         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59556         (print_version): Use PKGVERSION.
59557         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59558         and BUGURL.
59559         ($(objpfx)memusage): Likewise.
59560         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59561         (do_version): Use PKGVERSION.
59562         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59563         (print_version): Use PKGVERSION.
59564         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59565         ($PKGVERSION): New variable.
59566         ($REPORT_BUGS_TO): Likewise.
59567         (usage): Use $REPORT_BUGS_TO.
59568         (top level): Use $PKGVERSION.
59569         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59570         ($(objpfx)pkgvers.texi): New rule.
59571         ($(objpfx)stamp-pkgvers): Likewise.
59572         * manual/install.texi: Include pkgvers.texi.
59573         (--with-pkgversion): Document new configure option.
59574         (--with-bugurl): Likewise.
59575         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59576         than necessarily for this particular distribution.  Use
59577         REPORT_BUGS_TO for where to report bugs.
59578         * INSTALL: Regenerated.
59579         * manual/libc.texinfo: Include pkgvers.texi.
59580         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59581         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59582         (print_version): Use PKGVERSION.
59583         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59584         (print_version): Use PKGVERSION.
59585         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59586         (print_version): Use PKGVERSION.
59587         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59588         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59589         macro.
59590         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59591         (print_version): Use PKGVERSION.
59592         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59593         (print_version): Use PKGVERSION.
59594         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59595         and PKGVERSION.
59597         * timezone/checktab.awk: Update from tzcode 2012i.
59598         * timezone/ialloc.c: Likewise.
59599         * timezone/private.h: Likewise.
59600         * timezone/scheck.c: Likewise.
59601         * timezone/tzfile.h: Likewise.
59602         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59603         (TZVERSION): Hardcode tzcode version number.
59604         * timezone/zdump.c: Update from tzcode 2012i.
59605         * timezone/zic.c: Likewise.
59606         * timezone/version.h: New file.
59607         * timezone/README: Describe version.h.  Update upstream location.
59609         [BZ #14824]
59610         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59611         (mktemp): Enable declaration.
59612         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59616         Likewise.
59617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59618         Likewise.
59619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59620         Likewise.
59621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59622         Likewise.
59623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59624         Likewise.
59625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59626         Likewise.
59628         [BZ #14821]
59629         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59630         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59631         for copies of such integer values.
59632         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59633         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59635 2012-11-09  Andreas Jaeger  <aj@suse.de>
59637         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59638         definitions and declarations that are provided by
59639         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59641 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59643         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59644         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59645         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59646         definition.
59648 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59650         * elf/elf.h: Update comment before AArch64 relocations.
59652 2012-11-07  David S. Miller  <davem@davemloft.net>
59654         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59655         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59656         (__start_context): Declare.
59657         (__makecontext_ret): Delete.
59658         (__makecontext): Hook up __start_context instead of
59659         __makecontext_ret.
59660         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59661         (sysdep_routines): Add __start_context when in stdlib.
59663 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59665         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59666         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59667         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59668         hardcoded "nm".
59669         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59670         (READELF): New variable.  Use it instead of hardcoded "readelf".
59672 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59674         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59675         * sysdeps/x86/Makefile: Here.
59676         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59677         * sysdeps/x86/tst-xmmymm.sh: This.
59679 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59681         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59682         expectations.
59683         [UNIX98] (pthread_barrier_t): Do not expect.
59684         [UNIX98] (pthread_barrierattr_t): Likewise.
59685         [UNIX98] (pthread_spinlock_t): Likewise.
59686         [UNIX98] (pthread_barrier_destroy): Likewise.
59687         [UNIX98] (pthread_barrier_init): Likewise.
59688         [UNIX98] (pthread_barrier_wait): Likewise.
59689         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59690         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59691         [UNIX98] (pthread_barrierattr_init): Likewise.
59692         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59693         [UNIX98] (pthread_getcpuclockid): Likewise.
59694         [UNIX98] (pthread_mutex_timedlock): Likewise.
59695         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59696         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59697         [UNIX98] (pthread_sigmask): Likewise.
59698         [UNIX98] (pthread_spin_destroy): Likewise.
59699         [UNIX98] (pthread_spin_init): Likewise.
59700         [UNIX98] (pthread_spin_lock): Likewise.
59701         [UNIX98] (pthread_spin_trylock): Likewise.
59702         [UNIX98] (pthread_spin_unlock): Likewise.
59703         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59704         Do not expect.
59705         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59706         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59707         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59708         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59709         [XPG3 || XPG4] (pthread_key_t): Likewise.
59710         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59711         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59712         [XPG3 || XPG4] (pthread_once_t): Likewise.
59713         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59714         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59715         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59716         [XPG3 || XPG4] (pthread_t): Likewise.
59718         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59719         not expect.
59720         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59722         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59723         Change function return type to int.
59725         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59726         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59727         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59728         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59729         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59730         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59731         [!POSIX] (posix_madvise): Likewise.
59732         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59733         && !UNIX98].
59734         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59735         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59736         (mode_t): Likewise.
59737         (posix_mem_offset): Likewise.
59738         (posix_typed_mem_get_info): Likewise.
59739         (posix_typed_mem_open): Likewise.
59741         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59742         Change condition to [XOPEN2K8].
59744         * conform/conformtest.pl: Preprocess allow-header data with -x c
59745         instead of from stdin.
59746         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59747         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59748         [C99-based standards] (cerfc): Likewise.
59749         [C99-based standards] (cexp2): Likewise.
59750         [C99-based standards] (cexpm1): Likewise.
59751         [C99-based standards] (clog10): Likewise.
59752         [C99-based standards] (clog1p): Likewise.
59753         [C99-based standards] (clog2): Likewise.
59754         [C99-based standards] (clgamma): Likewise.
59755         [C99-based standards] (ctgamma): Likewise.
59756         [C99-based standards] (cerff): Likewise.
59757         [C99-based standards] (cerfcf): Likewise.
59758         [C99-based standards] (cexp2f): Likewise.
59759         [C99-based standards] (cexpm1f): Likewise.
59760         [C99-based standards] (clog10f): Likewise.
59761         [C99-based standards] (clog1pf): Likewise.
59762         [C99-based standards] (clog2f): Likewise.
59763         [C99-based standards] (clgammaf): Likewise.
59764         [C99-based standards] (ctgammaf): Likewise.
59765         [C99-based standards] (cerfl): Likewise.
59766         [C99-based standards] (cerfcl): Likewise.
59767         [C99-based standards] (cexp2l): Likewise.
59768         [C99-based standards] (cexpm1l): Likewise.
59769         [C99-based standards] (clog10l): Likewise.
59770         [C99-based standards] (clog1pl): Likewise.
59771         [C99-based standards] (clog2l): Likewise.
59772         [C99-based standards] (clgammal): Likewise.
59773         [C99-based standards] (ctgammal): Likewise.
59774         * conform/data/inttypes.h-data [C99-based standards]: Include
59775         stdint.h-data.  Remove all expectations for stdint.h contents.
59776         [C99-based standards] (PRI*): Do not allow.
59777         [C99-based standards] (SCN*): Likewise.
59778         [C99-based standards] (*_t): Likewise.
59779         [C99-based-standards] (PRId8): Expect macro.
59780         [C99-based-standards] (PRIi8): Likewise.
59781         [C99-based-standards] (PRIo8): Likewise.
59782         [C99-based-standards] (PRIu8): Likewise.
59783         [C99-based-standards] (PRIx8): Likewise.
59784         [C99-based-standards] (PRIX8): Likewise.
59785         [C99-based-standards] (SCNd8): Likewise.
59786         [C99-based-standards] (SCNi8): Likewise.
59787         [C99-based-standards] (SCNo8): Likewise.
59788         [C99-based-standards] (SCNu8): Likewise.
59789         [C99-based-standards] (SCNx8): Likewise.
59790         [C99-based-standards] (PRIdLEAST8): Likewise.
59791         [C99-based-standards] (PRIiLEAST8): Likewise.
59792         [C99-based-standards] (PRIoLEAST8): Likewise.
59793         [C99-based-standards] (PRIuLEAST8): Likewise.
59794         [C99-based-standards] (PRIxLEAST8): Likewise.
59795         [C99-based-standards] (PRIXLEAST8): Likewise.
59796         [C99-based-standards] (SCNdLEAST8): Likewise.
59797         [C99-based-standards] (SCNiLEAST8): Likewise.
59798         [C99-based-standards] (SCNoLEAST8): Likewise.
59799         [C99-based-standards] (SCNuLEAST8): Likewise.
59800         [C99-based-standards] (SCNxLEAST8): Likewise.
59801         [C99-based-standards] (PRIdFAST8): Likewise.
59802         [C99-based-standards] (PRIiFAST8): Likewise.
59803         [C99-based-standards] (PRIoFAST8): Likewise.
59804         [C99-based-standards] (PRIuFAST8): Likewise.
59805         [C99-based-standards] (PRIxFAST8): Likewise.
59806         [C99-based-standards] (PRIXFAST8): Likewise.
59807         [C99-based-standards] (SCNdFAST8): Likewise.
59808         [C99-based-standards] (SCNiFAST8): Likewise.
59809         [C99-based-standards] (SCNoFAST8): Likewise.
59810         [C99-based-standards] (SCNuFAST8): Likewise.
59811         [C99-based-standards] (SCNxFAST8): Likewise.
59812         [C99-based-standards] (PRId16): Likewise.
59813         [C99-based-standards] (PRIi16): Likewise.
59814         [C99-based-standards] (PRIo16): Likewise.
59815         [C99-based-standards] (PRIu16): Likewise.
59816         [C99-based-standards] (PRIx16): Likewise.
59817         [C99-based-standards] (PRIX16): Likewise.
59818         [C99-based-standards] (SCNd16): Likewise.
59819         [C99-based-standards] (SCNi16): Likewise.
59820         [C99-based-standards] (SCNo16): Likewise.
59821         [C99-based-standards] (SCNu16): Likewise.
59822         [C99-based-standards] (SCNx16): Likewise.
59823         [C99-based-standards] (PRIdLEAST16): Likewise.
59824         [C99-based-standards] (PRIiLEAST16): Likewise.
59825         [C99-based-standards] (PRIoLEAST16): Likewise.
59826         [C99-based-standards] (PRIuLEAST16): Likewise.
59827         [C99-based-standards] (PRIxLEAST16): Likewise.
59828         [C99-based-standards] (PRIXLEAST16): Likewise.
59829         [C99-based-standards] (SCNdLEAST16): Likewise.
59830         [C99-based-standards] (SCNiLEAST16): Likewise.
59831         [C99-based-standards] (SCNoLEAST16): Likewise.
59832         [C99-based-standards] (SCNuLEAST16): Likewise.
59833         [C99-based-standards] (SCNxLEAST16): Likewise.
59834         [C99-based-standards] (PRIdFAST16): Likewise.
59835         [C99-based-standards] (PRIiFAST16): Likewise.
59836         [C99-based-standards] (PRIoFAST16): Likewise.
59837         [C99-based-standards] (PRIuFAST16): Likewise.
59838         [C99-based-standards] (PRIxFAST16): Likewise.
59839         [C99-based-standards] (PRIXFAST16): Likewise.
59840         [C99-based-standards] (SCNdFAST16): Likewise.
59841         [C99-based-standards] (SCNiFAST16): Likewise.
59842         [C99-based-standards] (SCNoFAST16): Likewise.
59843         [C99-based-standards] (SCNuFAST16): Likewise.
59844         [C99-based-standards] (SCNxFAST16): Likewise.
59845         [C99-based-standards] (PRId32): Likewise.
59846         [C99-based-standards] (PRIi32): Likewise.
59847         [C99-based-standards] (PRIo32): Likewise.
59848         [C99-based-standards] (PRIu32): Likewise.
59849         [C99-based-standards] (PRIx32): Likewise.
59850         [C99-based-standards] (PRIX32): Likewise.
59851         [C99-based-standards] (SCNd32): Likewise.
59852         [C99-based-standards] (SCNi32): Likewise.
59853         [C99-based-standards] (SCNo32): Likewise.
59854         [C99-based-standards] (SCNu32): Likewise.
59855         [C99-based-standards] (SCNx32): Likewise.
59856         [C99-based-standards] (PRIdLEAST32): Likewise.
59857         [C99-based-standards] (PRIiLEAST32): Likewise.
59858         [C99-based-standards] (PRIoLEAST32): Likewise.
59859         [C99-based-standards] (PRIuLEAST32): Likewise.
59860         [C99-based-standards] (PRIxLEAST32): Likewise.
59861         [C99-based-standards] (PRIXLEAST32): Likewise.
59862         [C99-based-standards] (SCNdLEAST32): Likewise.
59863         [C99-based-standards] (SCNiLEAST32): Likewise.
59864         [C99-based-standards] (SCNoLEAST32): Likewise.
59865         [C99-based-standards] (SCNuLEAST32): Likewise.
59866         [C99-based-standards] (SCNxLEAST32): Likewise.
59867         [C99-based-standards] (PRIdFAST32): Likewise.
59868         [C99-based-standards] (PRIiFAST32): Likewise.
59869         [C99-based-standards] (PRIoFAST32): Likewise.
59870         [C99-based-standards] (PRIuFAST32): Likewise.
59871         [C99-based-standards] (PRIxFAST32): Likewise.
59872         [C99-based-standards] (PRIXFAST32): Likewise.
59873         [C99-based-standards] (SCNdFAST32): Likewise.
59874         [C99-based-standards] (SCNiFAST32): Likewise.
59875         [C99-based-standards] (SCNoFAST32): Likewise.
59876         [C99-based-standards] (SCNuFAST32): Likewise.
59877         [C99-based-standards] (SCNxFAST32): Likewise.
59878         [C99-based-standards] (PRId64): Likewise.
59879         [C99-based-standards] (PRIi64): Likewise.
59880         [C99-based-standards] (PRIo64): Likewise.
59881         [C99-based-standards] (PRIu64): Likewise.
59882         [C99-based-standards] (PRIx64): Likewise.
59883         [C99-based-standards] (PRIX64): Likewise.
59884         [C99-based-standards] (SCNd64): Likewise.
59885         [C99-based-standards] (SCNi64): Likewise.
59886         [C99-based-standards] (SCNo64): Likewise.
59887         [C99-based-standards] (SCNu64): Likewise.
59888         [C99-based-standards] (SCNx64): Likewise.
59889         [C99-based-standards] (PRIdLEAST64): Likewise.
59890         [C99-based-standards] (PRIiLEAST64): Likewise.
59891         [C99-based-standards] (PRIoLEAST64): Likewise.
59892         [C99-based-standards] (PRIuLEAST64): Likewise.
59893         [C99-based-standards] (PRIxLEAST64): Likewise.
59894         [C99-based-standards] (PRIXLEAST64): Likewise.
59895         [C99-based-standards] (SCNdLEAST64): Likewise.
59896         [C99-based-standards] (SCNiLEAST64): Likewise.
59897         [C99-based-standards] (SCNoLEAST64): Likewise.
59898         [C99-based-standards] (SCNuLEAST64): Likewise.
59899         [C99-based-standards] (SCNxLEAST64): Likewise.
59900         [C99-based-standards] (PRIdFAST64): Likewise.
59901         [C99-based-standards] (PRIiFAST64): Likewise.
59902         [C99-based-standards] (PRIoFAST64): Likewise.
59903         [C99-based-standards] (PRIuFAST64): Likewise.
59904         [C99-based-standards] (PRIxFAST64): Likewise.
59905         [C99-based-standards] (PRIXFAST64): Likewise.
59906         [C99-based-standards] (SCNdFAST64): Likewise.
59907         [C99-based-standards] (SCNiFAST64): Likewise.
59908         [C99-based-standards] (SCNoFAST64): Likewise.
59909         [C99-based-standards] (SCNuFAST64): Likewise.
59910         [C99-based-standards] (SCNxFAST64): Likewise.
59911         [C99-based-standards] (PRIdMAX): Likewise.
59912         [C99-based-standards] (PRIiMAX): Likewise.
59913         [C99-based-standards] (PRIoMAX): Likewise.
59914         [C99-based-standards] (PRIuMAX): Likewise.
59915         [C99-based-standards] (PRIxMAX): Likewise.
59916         [C99-based-standards] (PRIXMAX): Likewise.
59917         [C99-based-standards] (SCNdMAX): Likewise.
59918         [C99-based-standards] (SCNiMAX): Likewise.
59919         [C99-based-standards] (SCNoMAX): Likewise.
59920         [C99-based-standards] (SCNuMAX): Likewise.
59921         [C99-based-standards] (SCNxMAX): Likewise.
59922         [C99-based-standards] (PRIdPTR): Likewise.
59923         [C99-based-standards] (PRIiPTR): Likewise.
59924         [C99-based-standards] (PRIoPTR): Likewise.
59925         [C99-based-standards] (PRIuPTR): Likewise.
59926         [C99-based-standards] (PRIxPTR): Likewise.
59927         [C99-based-standards] (PRIXPTR): Likewise.
59928         [C99-based-standards] (SCNdPTR): Likewise.
59929         [C99-based-standards] (SCNiPTR): Likewise.
59930         [C99-based-standards] (SCNoPTR): Likewise.
59931         [C99-based-standards] (SCNuPTR): Likewise.
59932         [C99-based-standards] (SCNxPTR): Likewise.
59933         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59934         allow.
59935         * conform/data/stdint.h-data: Update comments to clarify
59936         requirements.
59937         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59938         type.
59939         [C99-based standards] (INT8_MAX): Likewise.
59940         [C99-based standards] (INT16_MIN): Likewise.
59941         [C99-based standards] (INT16_MAX): Likewise.
59942         [C99-based standards] (INT32_MIN): Likewise.
59943         [C99-based standards] (INT32_MAX): Likewise.
59944         [C99-based standards] (INT64_MIN): Likewise.
59945         [C99-based standards] (INT64_MAX): Likewise.
59946         [C99-based standards] (UINT8_MAX): Likewise.
59947         [C99-based standards] (UINT16_MAX): Likewise.
59948         [C99-based standards] (UINT32_MAX): Likewise.
59949         [C99-based standards] (UINT64_MAX): Likewise.
59950         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59951         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59952         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59953         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59954         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59955         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59956         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59957         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59958         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59959         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59960         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59961         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59962         [C99-based standards] (INT_FAST8_MIN): Likewise.
59963         [C99-based standards] (INT_FAST8_MAX): Likewise.
59964         [C99-based standards] (INT_FAST16_MIN): Likewise.
59965         [C99-based standards] (INT_FAST16_MAX): Likewise.
59966         [C99-based standards] (INT_FAST32_MIN): Likewise.
59967         [C99-based standards] (INT_FAST32_MAX): Likewise.
59968         [C99-based standards] (INT_FAST64_MIN): Likewise.
59969         [C99-based standards] (INT_FAST64_MAX): Likewise.
59970         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59971         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59972         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59973         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59974         [C99-based standards] (INTPTR_MIN): Likewise.
59975         [C99-based standards] (INTPTR_MAX): Likewise.
59976         [C99-based standards] (UINTPTR_MAX): Likewise.
59977         [C99-based standards] (INTMAX_MIN): Likewise.
59978         [C99-based standards] (INTMAX_MAX): Likewise.
59979         [C99-based standards] (UINTMAX_MAX): Likewise.
59980         [C99-based standards] (PTRDIFF_MIN): Likewise.
59981         [C99-based standards] (PTRDIFF_MAX): Likewise.
59982         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59983         [C99-based standards] (SIZE_MAX): Likewise.
59984         [C99-based standards] (WCHAR_MAX): Likewise.
59985         [C99-based standards] (WINT_MAX): Likewise.
59986         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59987         constraint on value.
59988         [C99-based standards] (WCHAR_MIN): Likewise.
59989         [C99-based standards] (WINT_MIN): Likewise.
59990         [C99-based standards] (*_t): Allow.
59991         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59992         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59993         Include math.h-data and complex.h-data.  Remove all expectations
59994         of math.h and complex.h contents.
59995         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59996         at end of line.
59997         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59998         (struct tm): Expect tag.
59999         [C99-based-standards] (wcstof): Expect function.
60000         [C99-based-standards] (wcstold): Likewise.
60001         [C99-based-standards] (wcstoll): Likewise.
60002         [C99-based-standards] (wcstoull): Likewise.
60003         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60004         macro-int-constant.  Specify type.
60005         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60006         constraint on value.
60007         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60008         Specify type.
60009         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60010         Specify value.
60011         [ISO C standards]: Do not allow headers.
60012         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60013         wcs[abcdefghijklmnopqrstuvwxyz]*.
60014         [ISO C standards] (*_t): Do not allow.
60015         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60016         Expect function.
60017         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60018         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60019         Specify type.
60020         [ISO C standards]: Do not allow headers.
60021         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60022         is[abcdefghijklmnopqrstuvwxyz]*.
60023         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60024         to[abcdefghijklmnopqrstuvwxyz]*.
60025         [ISO C standards] (*_t): Do not allow.
60026         * conform/data/stdalign.h-data: New file.
60027         * conform/data/stdbool.h-data: Likewise.
60028         * conform/data/stdnoreturn.h-data: Likewise.
60030 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60032         [BZ #14815]
60033         * manual/filesys.texi (Directory Entries): Typo fix.
60034         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60036 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60038         * elf/elf.h (EM_AARCH64): New macro.
60039         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60040         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60041         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60042         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60043         (R_AARCH64_TLSDESC): Likewise.
60044         (NT_ARM_TLS): Likewise.
60045         (NT_ARM_HW_BREAK): Likewise.
60046         (NT_ARM_HW_WATCH): Likewise.
60048 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60050         [BZ #14811]
60051         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60052         (__ieee754_powl): Saturate nonzero exponents with absolute value
60053         below 0x1p-79 to +/- 0x1p-79.
60054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60055         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60056         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60057         nonzero exponents with absolute value below 0x1p-32 to +/-
60058         0x1p-32.
60059         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60060         (__ieee754_powl): Saturate nonzero exponents with absolute value
60061         below 0x1p-79 to +/- 0x1p-79.
60062         * math/libm-test.inc (pow_test): Add more tests.
60064 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60066         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60067         _dl_s390_cap_flags with kernel. Increase string length.
60068         (_dl_s390_platforms): Add z196 and zEC12.
60070 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60072         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60073         Change XOPEN21K to XOPEN2K.
60075 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60077         * string/memmove.c: Use memcpy when possible.
60079 2012-11-06  Andreas Jaeger  <aj@suse.de>
60081         * po/eo.po: Update from translation team.
60083 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60085         [BZ #14793]
60086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60087         exponent and small x and y exponents, scale x or y up.  Increase
60088         by 2 the exponent used in scaling up.
60089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60091         * math/libm-test.inc (fma_test): Add more tests.
60092         (fma_test_towardzero): Likewise.
60093         (fma_test_downward): Likewise.
60094         (fma_test_upward): Likewise.
60096 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60098         [BZ #14805]
60099         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60100         fenv_t *.
60102         [BZ #14801]
60103         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60104         namespace for names of struct fields.
60105         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60106         fenv_t fields.
60107         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60108         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60110 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60112         [BZ #3665]
60113         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60115 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60117         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60118         PTR_DEMANGLE.
60120         [BZ #5246]
60121         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60122         PTR_DEMANGLE.
60124 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60126         [BZ #14797]
60127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60128         definitely overflow as x * y not x * y + z.
60129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60131         * math/libm-test.inc (fma_test): Add more tests.
60132         (fma_test_towardzero): Likewise.
60133         (fma_test_downward): Likewise.
60134         (fma_test_upward): Likewise.
60136 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60138         [BZ #157]
60140         * include/stub-tag.h: Remove file.
60141         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60142         '#include' of it.
60143         * manual/maint.texi (Porting): Don't reference it.
60144         * Makerules ($(objpfx)stubs): Likewise.
60145         * dirent/closedir.c: Don't include <stub-tag.h>.
60146         * dirent/dirfd.c: Likewise.
60147         * dirent/fdopendir.c: Likewise.
60148         * dirent/getdents.c: Likewise.
60149         * dirent/getdents64.c: Likewise.
60150         * dirent/opendir.c: Likewise.
60151         * dirent/readdir.c: Likewise.
60152         * dirent/readdir64.c: Likewise.
60153         * dirent/readdir64_r.c: Likewise.
60154         * dirent/readdir_r.c: Likewise.
60155         * dirent/rewinddir.c: Likewise.
60156         * dirent/seekdir.c: Likewise.
60157         * dirent/telldir.c: Likewise.
60158         * gmon/profil.c: Likewise.
60159         * grp/setgroups.c: Likewise.
60160         * inet/if_index.c: Likewise.
60161         * io/access.c: Likewise.
60162         * io/chdir.c: Likewise.
60163         * io/chmod.c: Likewise.
60164         * io/chown.c: Likewise.
60165         * io/close.c: Likewise.
60166         * io/dup.c: Likewise.
60167         * io/dup2.c: Likewise.
60168         * io/dup3.c: Likewise.
60169         * io/euidaccess.c: Likewise.
60170         * io/faccessat.c: Likewise.
60171         * io/fchdir.c: Likewise.
60172         * io/fchmod.c: Likewise.
60173         * io/fchmodat.c: Likewise.
60174         * io/fchown.c: Likewise.
60175         * io/fchownat.c: Likewise.
60176         * io/fcntl.c: Likewise.
60177         * io/flock.c: Likewise.
60178         * io/fstatfs.c: Likewise.
60179         * io/fstatfs64.c: Likewise.
60180         * io/fstatvfs.c: Likewise.
60181         * io/fstatvfs64.c: Likewise.
60182         * io/futimens.c: Likewise.
60183         * io/fxstat.c: Likewise.
60184         * io/fxstat64.c: Likewise.
60185         * io/fxstatat.c: Likewise.
60186         * io/fxstatat64.c: Likewise.
60187         * io/getcwd.c: Likewise.
60188         * io/isatty.c: Likewise.
60189         * io/lchmod.c: Likewise.
60190         * io/lchown.c: Likewise.
60191         * io/link.c: Likewise.
60192         * io/linkat.c: Likewise.
60193         * io/lseek.c: Likewise.
60194         * io/lseek64.c: Likewise.
60195         * io/lxstat64.c: Likewise.
60196         * io/mkdir.c: Likewise.
60197         * io/mkdirat.c: Likewise.
60198         * io/mkfifo.c: Likewise.
60199         * io/mkfifoat.c: Likewise.
60200         * io/open.c: Likewise.
60201         * io/open64.c: Likewise.
60202         * io/openat.c: Likewise.
60203         * io/openat64.c: Likewise.
60204         * io/pipe.c: Likewise.
60205         * io/pipe2.c: Likewise.
60206         * io/poll.c: Likewise.
60207         * io/posix_fadvise.c: Likewise.
60208         * io/posix_fadvise64.c: Likewise.
60209         * io/posix_fallocate.c: Likewise.
60210         * io/posix_fallocate64.c: Likewise.
60211         * io/read.c: Likewise.
60212         * io/readlink.c: Likewise.
60213         * io/readlinkat.c: Likewise.
60214         * io/rmdir.c: Likewise.
60215         * io/sendfile.c: Likewise.
60216         * io/sendfile64.c: Likewise.
60217         * io/statfs.c: Likewise.
60218         * io/statfs64.c: Likewise.
60219         * io/statvfs.c: Likewise.
60220         * io/statvfs64.c: Likewise.
60221         * io/symlink.c: Likewise.
60222         * io/symlinkat.c: Likewise.
60223         * io/ttyname.c: Likewise.
60224         * io/ttyname_r.c: Likewise.
60225         * io/umask.c: Likewise.
60226         * io/unlink.c: Likewise.
60227         * io/unlinkat.c: Likewise.
60228         * io/utime.c: Likewise.
60229         * io/utimensat.c: Likewise.
60230         * io/write.c: Likewise.
60231         * io/xmknod.c: Likewise.
60232         * io/xmknodat.c: Likewise.
60233         * io/xstat.c: Likewise.
60234         * io/xstat64.c: Likewise.
60235         * login/getpt.c: Likewise.
60236         * login/grantpt.c: Likewise.
60237         * login/unlockpt.c: Likewise.
60238         * math/e_acoshl.c: Likewise.
60239         * math/e_acosl.c: Likewise.
60240         * math/e_asinl.c: Likewise.
60241         * math/e_atan2l.c: Likewise.
60242         * math/e_atanhl.c: Likewise.
60243         * math/e_coshl.c: Likewise.
60244         * math/e_expl.c: Likewise.
60245         * math/e_fmodl.c: Likewise.
60246         * math/e_gammal_r.c: Likewise.
60247         * math/e_hypotl.c: Likewise.
60248         * math/e_j0l.c: Likewise.
60249         * math/e_j1l.c: Likewise.
60250         * math/e_jnl.c: Likewise.
60251         * math/e_lgammal_r.c: Likewise.
60252         * math/e_log10l.c: Likewise.
60253         * math/e_log2l.c: Likewise.
60254         * math/e_logl.c: Likewise.
60255         * math/e_powl.c: Likewise.
60256         * math/e_rem_pio2l.c: Likewise.
60257         * math/e_sinhl.c: Likewise.
60258         * math/e_sqrtl.c: Likewise.
60259         * math/fclrexcpt.c: Likewise.
60260         * math/fedisblxcpt.c: Likewise.
60261         * math/feenablxcpt.c: Likewise.
60262         * math/fegetenv.c: Likewise.
60263         * math/fegetexcept.c: Likewise.
60264         * math/fegetround.c: Likewise.
60265         * math/feholdexcpt.c: Likewise.
60266         * math/fesetenv.c: Likewise.
60267         * math/fesetround.c: Likewise.
60268         * math/feupdateenv.c: Likewise.
60269         * math/fgetexcptflg.c: Likewise.
60270         * math/fraiseexcpt.c: Likewise.
60271         * math/fsetexcptflg.c: Likewise.
60272         * math/ftestexcept.c: Likewise.
60273         * math/k_cosl.c: Likewise.
60274         * math/k_rem_pio2l.c: Likewise.
60275         * math/k_sinl.c: Likewise.
60276         * math/k_tanl.c: Likewise.
60277         * math/s_asinhl.c: Likewise.
60278         * math/s_atanl.c: Likewise.
60279         * math/s_cbrtl.c: Likewise.
60280         * math/s_erfl.c: Likewise.
60281         * math/s_expm1l.c: Likewise.
60282         * math/s_log1pl.c: Likewise.
60283         * math/s_tanhl.c: Likewise.
60284         * misc/acct.c: Likewise.
60285         * misc/brk.c: Likewise.
60286         * misc/chflags.c: Likewise.
60287         * misc/chroot.c: Likewise.
60288         * misc/fchflags.c: Likewise.
60289         * misc/fgetxattr.c: Likewise.
60290         * misc/flistxattr.c: Likewise.
60291         * misc/fremovexattr.c: Likewise.
60292         * misc/fsetxattr.c: Likewise.
60293         * misc/fsync.c: Likewise.
60294         * misc/ftruncate.c: Likewise.
60295         * misc/futimes.c: Likewise.
60296         * misc/futimesat.c: Likewise.
60297         * misc/getdomain.c: Likewise.
60298         * misc/getdtsz.c: Likewise.
60299         * misc/gethostid.c: Likewise.
60300         * misc/gethostname.c: Likewise.
60301         * misc/getloadavg.c: Likewise.
60302         * misc/getpagesize.c: Likewise.
60303         * misc/getsysstats.c: Likewise.
60304         * misc/getxattr.c: Likewise.
60305         * misc/gtty.c: Likewise.
60306         * misc/ioctl.c: Likewise.
60307         * misc/lgetxattr.c: Likewise.
60308         * misc/listxattr.c: Likewise.
60309         * misc/llistxattr.c: Likewise.
60310         * misc/lremovexattr.c: Likewise.
60311         * misc/lsetxattr.c: Likewise.
60312         * misc/lutimes.c: Likewise.
60313         * misc/madvise.c: Likewise.
60314         * misc/mincore.c: Likewise.
60315         * misc/mlock.c: Likewise.
60316         * misc/mlockall.c: Likewise.
60317         * misc/mmap.c: Likewise.
60318         * misc/mprotect.c: Likewise.
60319         * misc/msync.c: Likewise.
60320         * misc/munlock.c: Likewise.
60321         * misc/munlockall.c: Likewise.
60322         * misc/munmap.c: Likewise.
60323         * misc/preadv.c: Likewise.
60324         * misc/preadv64.c: Likewise.
60325         * misc/ptrace.c: Likewise.
60326         * misc/pwritev.c: Likewise.
60327         * misc/pwritev64.c: Likewise.
60328         * misc/readv.c: Likewise.
60329         * misc/reboot.c: Likewise.
60330         * misc/remap_file_pages.c: Likewise.
60331         * misc/removexattr.c: Likewise.
60332         * misc/revoke.c: Likewise.
60333         * misc/select.c: Likewise.
60334         * misc/setdomain.c: Likewise.
60335         * misc/setegid.c: Likewise.
60336         * misc/seteuid.c: Likewise.
60337         * misc/sethostid.c: Likewise.
60338         * misc/sethostname.c: Likewise.
60339         * misc/setregid.c: Likewise.
60340         * misc/setreuid.c: Likewise.
60341         * misc/setxattr.c: Likewise.
60342         * misc/sstk.c: Likewise.
60343         * misc/stty.c: Likewise.
60344         * misc/swapoff.c: Likewise.
60345         * misc/swapon.c: Likewise.
60346         * misc/sync.c: Likewise.
60347         * misc/syncfs.c: Likewise.
60348         * misc/syscall.c: Likewise.
60349         * misc/truncate.c: Likewise.
60350         * misc/ualarm.c: Likewise.
60351         * misc/usleep.c: Likewise.
60352         * misc/ustat.c: Likewise.
60353         * misc/utimes.c: Likewise.
60354         * misc/vhangup.c: Likewise.
60355         * misc/writev.c: Likewise.
60356         * posix/_exit.c: Likewise.
60357         * posix/alarm.c: Likewise.
60358         * posix/execve.c: Likewise.
60359         * posix/fexecve.c: Likewise.
60360         * posix/fork.c: Likewise.
60361         * posix/fpathconf.c: Likewise.
60362         * posix/getaddrinfo.c: Likewise.
60363         * posix/getegid.c: Likewise.
60364         * posix/geteuid.c: Likewise.
60365         * posix/getgid.c: Likewise.
60366         * posix/getgroups.c: Likewise.
60367         * posix/getlogin.c: Likewise.
60368         * posix/getlogin_r.c: Likewise.
60369         * posix/getpgid.c: Likewise.
60370         * posix/getpid.c: Likewise.
60371         * posix/getppid.c: Likewise.
60372         * posix/getresgid.c: Likewise.
60373         * posix/getresuid.c: Likewise.
60374         * posix/getsid.c: Likewise.
60375         * posix/getuid.c: Likewise.
60376         * posix/glob64.c: Likewise.
60377         * posix/nanosleep.c: Likewise.
60378         * posix/pathconf.c: Likewise.
60379         * posix/pause.c: Likewise.
60380         * posix/posix_madvise.c: Likewise.
60381         * posix/pread.c: Likewise.
60382         * posix/pread64.c: Likewise.
60383         * posix/pwrite.c: Likewise.
60384         * posix/pwrite64.c: Likewise.
60385         * posix/sched_getaffinity.c: Likewise.
60386         * posix/sched_getp.c: Likewise.
60387         * posix/sched_gets.c: Likewise.
60388         * posix/sched_primax.c: Likewise.
60389         * posix/sched_primin.c: Likewise.
60390         * posix/sched_rr_gi.c: Likewise.
60391         * posix/sched_setaffinity.c: Likewise.
60392         * posix/sched_setp.c: Likewise.
60393         * posix/sched_sets.c: Likewise.
60394         * posix/sched_yield.c: Likewise.
60395         * posix/setgid.c: Likewise.
60396         * posix/setlogin.c: Likewise.
60397         * posix/setpgid.c: Likewise.
60398         * posix/setresgid.c: Likewise.
60399         * posix/setresuid.c: Likewise.
60400         * posix/setsid.c: Likewise.
60401         * posix/setuid.c: Likewise.
60402         * posix/sleep.c: Likewise.
60403         * posix/spawni.c: Likewise.
60404         * posix/sysconf.c: Likewise.
60405         * posix/times.c: Likewise.
60406         * posix/wait.c: Likewise.
60407         * posix/wait3.c: Likewise.
60408         * posix/wait4.c: Likewise.
60409         * posix/waitpid.c: Likewise.
60410         * resolv/gai_sigqueue.c: Likewise.
60411         * resource/getpriority.c: Likewise.
60412         * resource/getrlimit.c: Likewise.
60413         * resource/getrusage.c: Likewise.
60414         * resource/nice.c: Likewise.
60415         * resource/setpriority.c: Likewise.
60416         * resource/setrlimit.c: Likewise.
60417         * resource/ulimit.c: Likewise.
60418         * rt/aio_cancel.c: Likewise.
60419         * rt/aio_fsync.c: Likewise.
60420         * rt/aio_read.c: Likewise.
60421         * rt/aio_sigqueue.c: Likewise.
60422         * rt/aio_suspend.c: Likewise.
60423         * rt/aio_write.c: Likewise.
60424         * rt/clock_getres.c: Likewise.
60425         * rt/clock_gettime.c: Likewise.
60426         * rt/clock_nanosleep.c: Likewise.
60427         * rt/clock_settime.c: Likewise.
60428         * rt/lio_listio.c: Likewise.
60429         * rt/mq_close.c: Likewise.
60430         * rt/mq_getattr.c: Likewise.
60431         * rt/mq_notify.c: Likewise.
60432         * rt/mq_open.c: Likewise.
60433         * rt/mq_receive.c: Likewise.
60434         * rt/mq_send.c: Likewise.
60435         * rt/mq_setattr.c: Likewise.
60436         * rt/mq_timedreceive.c: Likewise.
60437         * rt/mq_timedsend.c: Likewise.
60438         * rt/mq_unlink.c: Likewise.
60439         * rt/shm_open.c: Likewise.
60440         * rt/shm_unlink.c: Likewise.
60441         * rt/timer_create.c: Likewise.
60442         * rt/timer_delete.c: Likewise.
60443         * rt/timer_getoverr.c: Likewise.
60444         * rt/timer_gettime.c: Likewise.
60445         * rt/timer_settime.c: Likewise.
60446         * setjmp/__longjmp.c: Likewise.
60447         * setjmp/setjmp.c: Likewise.
60448         * signal/kill.c: Likewise.
60449         * signal/killpg.c: Likewise.
60450         * signal/raise.c: Likewise.
60451         * signal/sigaction.c: Likewise.
60452         * signal/sigaltstack.c: Likewise.
60453         * signal/sigblock.c: Likewise.
60454         * signal/sigignore.c: Likewise.
60455         * signal/sigintr.c: Likewise.
60456         * signal/signal.c: Likewise.
60457         * signal/sigpause.c: Likewise.
60458         * signal/sigpending.c: Likewise.
60459         * signal/sigqueue.c: Likewise.
60460         * signal/sigreturn.c: Likewise.
60461         * signal/sigset.c: Likewise.
60462         * signal/sigsetmask.c: Likewise.
60463         * signal/sigstack.c: Likewise.
60464         * signal/sigsuspend.c: Likewise.
60465         * signal/sigtimedwait.c: Likewise.
60466         * signal/sigvec.c: Likewise.
60467         * signal/sigwait.c: Likewise.
60468         * signal/sigwaitinfo.c: Likewise.
60469         * signal/sysv_signal.c: Likewise.
60470         * socket/accept.c: Likewise.
60471         * socket/accept4.c: Likewise.
60472         * socket/bind.c: Likewise.
60473         * socket/connect.c: Likewise.
60474         * socket/getpeername.c: Likewise.
60475         * socket/getsockname.c: Likewise.
60476         * socket/getsockopt.c: Likewise.
60477         * socket/isfdtype.c: Likewise.
60478         * socket/listen.c: Likewise.
60479         * socket/recv.c: Likewise.
60480         * socket/recvfrom.c: Likewise.
60481         * socket/recvmsg.c: Likewise.
60482         * socket/send.c: Likewise.
60483         * socket/sendmsg.c: Likewise.
60484         * socket/sendto.c: Likewise.
60485         * socket/setsockopt.c: Likewise.
60486         * socket/shutdown.c: Likewise.
60487         * socket/sockatmark.c: Likewise.
60488         * socket/socket.c: Likewise.
60489         * socket/socketpair.c: Likewise.
60490         * stdio-common/ctermid.c: Likewise.
60491         * stdio-common/cuserid.c: Likewise.
60492         * stdio-common/remove.c: Likewise.
60493         * stdio-common/rename.c: Likewise.
60494         * stdio-common/renameat.c: Likewise.
60495         * stdio-common/tempname.c: Likewise.
60496         * stdlib/getcontext.c: Likewise.
60497         * stdlib/makecontext.c: Likewise.
60498         * stdlib/setcontext.c: Likewise.
60499         * stdlib/swapcontext.c: Likewise.
60500         * stdlib/system.c: Likewise.
60501         * streams/fattach.c: Likewise.
60502         * streams/fdetach.c: Likewise.
60503         * streams/getmsg.c: Likewise.
60504         * streams/getpmsg.c: Likewise.
60505         * streams/putmsg.c: Likewise.
60506         * streams/putpmsg.c: Likewise.
60507         * sysdeps/unix/bsd/getpt.c: Likewise.
60508         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60509         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60510         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60512         Likewise.
60513         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60514         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60515         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60516         * sysvipc/msgctl.c: Likewise.
60517         * sysvipc/msgget.c: Likewise.
60518         * sysvipc/msgrcv.c: Likewise.
60519         * sysvipc/msgsnd.c: Likewise.
60520         * sysvipc/semctl.c: Likewise.
60521         * sysvipc/semget.c: Likewise.
60522         * sysvipc/semop.c: Likewise.
60523         * sysvipc/semtimedop.c: Likewise.
60524         * sysvipc/shmat.c: Likewise.
60525         * sysvipc/shmctl.c: Likewise.
60526         * sysvipc/shmdt.c: Likewise.
60527         * sysvipc/shmget.c: Likewise.
60528         * termios/tcdrain.c: Likewise.
60529         * termios/tcflow.c: Likewise.
60530         * termios/tcflush.c: Likewise.
60531         * termios/tcgetattr.c: Likewise.
60532         * termios/tcgetpgrp.c: Likewise.
60533         * termios/tcsendbrk.c: Likewise.
60534         * termios/tcsetattr.c: Likewise.
60535         * termios/tcsetpgrp.c: Likewise.
60536         * time/adjtime.c: Likewise.
60537         * time/clock.c: Likewise.
60538         * time/getitimer.c: Likewise.
60539         * time/gettimeofday.c: Likewise.
60540         * time/setitimer.c: Likewise.
60541         * time/settimeofday.c: Likewise.
60542         * time/stime.c: Likewise.
60543         * time/time.c: Likewise.
60545 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60547         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60548         /usr/old/bin.
60550         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60551         instead of spaces.
60552         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60554 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60556         [BZ #14796]
60557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60558         FE_TONEAREST before applying Dekker multiplication and Knuth
60559         addition.  Clear inexact exceptions and check for exact zero
60560         results afterwards.
60561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60562         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60564         * math/libm-test.inc (fma_test): Add more tests.
60565         (fma_test_towardzero): Likewise.
60566         (fma_test_downward): Likewise.
60567         (fma_test_upward): Likewise.
60568         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60569         function.
60570         (libc_fesetround): New macro.
60571         (libc_fesetroundf): Likewise.
60572         (libc_fesetroundl): Likewise.
60573         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60574         function.
60575         (libc_fesetround_387): Likewise.
60576         (libc_fesetroundf): New macro.
60577         (libc_fesetround): Likewise.
60578         (libc_fesetroundl): Likewise.
60579         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60580         function.
60581         (libc_fesetroundf): New macro.
60582         (libc_fesetround): Likewise.
60583         (libc_fesetroundl): Likewise.
60584         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60585         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60586         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60587         libm_hidden_ver.
60588         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60589         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60590         libm_hidden_def.
60591         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60592         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60593         libm_hidden_ver.
60594         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60595         libm_hidden_def.
60597         [BZ #3439]
60598         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60599         integer constant usable in #if and use that to give value to enum
60600         constant.
60601         (FE_DIVBYZERO): Likewise.
60602         (FE_UNDERFLOW): Likewise.
60603         (FE_OVERFLOW): Likewise.
60604         (FE_INVALID): Likewise.
60605         (FE_INVALID_SNAN): Likewise.
60606         (FE_INVALID_ISI): Likewise.
60607         (FE_INVALID_IDI): Likewise.
60608         (FE_INVALID_ZDZ): Likewise.
60609         (FE_INVALID_IMZ): Likewise.
60610         (FE_INVALID_COMPARE): Likewise.
60611         (FE_INVALID_SOFTWARE): Likewise.
60612         (FE_INVALID_SQRT): Likewise.
60613         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60614         (FE_TONEAREST): Likewise.
60615         (FE_TOWARDZERO): Likewise.
60616         (FE_UPWARD): Likewise.
60617         (FE_DOWNWARD): Likewise.
60618         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60619         (FE_DIVBYZERO): Likewise.
60620         (FE_OVERFLOW): Likewise.
60621         (FE_UNDERFLOW): Likewise.
60622         (FE_INEXACT): Likewise.
60623         (FE_TONEAREST): Likewise.
60624         (FE_DOWNWARD): Likewise.
60625         (FE_UPWARD): Likewise.
60626         (FE_TOWARDZERO): Likewise.
60627         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60628         (FE_UNDERFLOW): Likewise.
60629         (FE_OVERFLOW): Likewise.
60630         (FE_DIVBYZERO): Likewise.
60631         (FE_INVALID): Likewise.
60632         (FE_TONEAREST): Likewise.
60633         (FE_TOWARDZERO): Likewise.
60634         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60635         (FE_OVERFLOW): Likewise.
60636         (FE_UNDERFLOW): Likewise.
60637         (FE_DIVBYZERO): Likewise.
60638         (FE_INEXACT): Likewise.
60639         (FE_TONEAREST): Likewise.
60640         (FE_TOWARDZERO): Likewise.
60641         (FE_UPWARD): Likewise.
60642         (FE_DOWNWARD): Likewise.
60643         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60644         (FE_DIVBYZERO): Likewise.
60645         (FE_OVERFLOW): Likewise.
60646         (FE_UNDERFLOW): Likewise.
60647         (FE_INEXACT): Likewise.
60648         (FE_TONEAREST): Likewise.
60649         (FE_DOWNWARD): Likewise.
60650         (FE_UPWARD): Likewise.
60651         (FE_TOWARDZERO): Likewise.
60653 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60655         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60657 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60659         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60660         commands.  Quote $PWD.
60661         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60662         -x" by "export".
60663         (remove_newlines): Remove.
60665 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60667         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60668         * stdlib/stdlib.h (atof): Moved to ...
60669         * include/bits/stdlib-float.h: Here.  New file.
60670         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60671         * stdlib/bits/stdlib-float.h: New file.
60672         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60673         -mno-sse -mno-mmx.
60674         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60675         <xmmintrin.h>.
60677 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60679         * conform/conformtest.pl (@headers): Add fenv.h.
60680         * conform/data/fenv.h-data: New file.
60681         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60682         include of <math/fenv.h>.
60684         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60685         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60686         && !UNIX98].  Enables tests for XOPEN2K8.
60687         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60688         POSIX2008]: Likewise.
60690         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60691         (struct rusage): Do not expect type or its members.
60693         [BZ #3439]
60694         * math/math.h (FP_NAN): Define macro to integer constant usable in
60695         #if and use that to give value to enum constant.
60696         (FP_INFINITE): Likewise.
60697         (FP_ZERO): Likewise.
60698         (FP_SUBNORMAL): Likewise.
60699         (FP_NORMAL): Likewise.
60701 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60703         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60704         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60705         arguments.
60707 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60709         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60710         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60711         autoconf-time if not.
60712         * configure.in: Remove AC_PREREQ.
60714 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60716         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60717         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60718         of the internal implementation.
60720 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60722         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60723         except include of <misc/sys/syslog.h>.
60725 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60728         function returns with a NULL context exit with zero.
60730 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60732         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60734 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60736         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60737         (run_program_cmd): This.
60738         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60739         (tst_langinfo): New variable.  Use it.
60741 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60743         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60744         floating point opcodes.
60746 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60748         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60749         variable.
60751         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60753         * sysdeps/mach/hurd/powerpc: Remove directory.
60754         * sysdeps/mach/powerpc: Likewise.
60756 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60758         * scripts/check-local-headers.sh: Ignore c++ headers.
60760 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60762         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60763         __libc_cleanup_region_start argument.
60765 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60767         [BZ #14784]
60768         [BZ #14785]
60769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60770         x * y using scaling, not as x * y + z.
60771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60773         * math/libm-test.inc (fma_test): Add more tests.
60774         (fma_test_towardzero): Likewise.
60775         (fma_test_downward): Likewise.
60776         (fma_test_upward): Likewise.
60778 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60780         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60782 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60784         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60785         New variable.
60787 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60789         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60791 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60794         Fix sort order.
60795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60796         Likewise.
60798 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60801         Fix the order of the list for glibc 2.17.
60802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60803         Likewise.
60805 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60809 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60811         [BZ #14610]
60812         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60813         for low part of x being zero before using __atanl (y).
60814         * math/libm-test.inc (atan2_test): Add another test.
60816         * manual/install.texi (Configuring and compiling): Document
60817         general use of test-wrapper and test-wrapper-env.
60818         * INSTALL: Regenerated.
60820         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60821         (__fma): Do not extract and scale down low bits on after-rounding
60822         systems when result rounded to normal precision would have normal
60823         exponent.
60824         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60825         (__fmal): Do not extract and scale down low bits on after-rounding
60826         systems when result rounded to normal precision would have normal
60827         exponent.
60828         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60829         (__fmal): Do not extract and scale down low bits on after-rounding
60830         systems when result rounded to normal precision would have normal
60831         exponent.
60832         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60833         macro.
60834         (fma_test): Add more tests.
60835         (fma_test_towardzero): Likewise.
60836         (fma_test_downward): Likewise.
60837         (fma_test_upward): Likewise.
60839 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60841         * sysdeps/i386/tininess.h: Renamed to ...
60842         * sysdeps/x86/tininess.h: This.
60843         * sysdeps/x86_64/tininess.h: Removed.
60845 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60847         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60848         input.  Use $(build-program-cmd).
60849         ($(objpfx)tst-array1-static.out): Likewise.
60850         ($(objpfx)tst-array2.out): Likewise.
60851         ($(objpfx)tst-array3.out): Likewise.
60852         ($(objpfx)tst-array4.out): Likewise.
60853         ($(objpfx)tst-array5.out): Likewise.
60854         ($(objpfx)tst-array5-static.out): Likewise.
60856 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60858         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60859         if defined.
60861         * nss/nsswitch.h (nss_interface_function): Provide new
60862         macro for use with NSS functions.
60863         * grp/initgroups.c: Use new macro.
60864         * nss/getXXbyYY.c: Likewise.
60865         * nss/getXXbyYY_r.c: Likewise.
60866         * nss/getXXent.c: Likewise.
60867         * nss/getXXent_r.c: Likewise.
60868         * sysdeps/posix/getaddrinfo.c: Likewise.
60870 2012-10-30  Andreas Jaeger  <aj@suse.de>
60872         * po/ru.po: Update Russion translation from translation project.
60874 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60876         [BZ #14152]
60877         [BZ #14783]
60878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60879         result and shift together with sticky bit instead of replicating
60880         round-to-nearest rounding.
60881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60883         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60884         missing underflow exceptions.
60885         (fma_test_towardzero): Add more tests.
60886         (fma_test_downward): Likewise.
60887         (fma_test_upward): Likewise.
60889         [BZ #14047]
60890         * sysdeps/generic/tininess.h: New file.
60891         * sysdeps/i386/tininess.h: Likewise.
60892         * sysdeps/sh/tininess.h: Likewise.
60893         * sysdeps/x86_64/tininess.h: Likewise.
60894         * stdlib/tst-strtod-underflow.c: Likewise.
60895         * stdlib/tst-tininess.c: Likewise.
60896         * stdlib/strtod_l.c: Include <tininess.h>.
60897         (round_and_return): Do not set errno for exact underflow cases.
60898         Force an underflow exception when setting errno for underflow.
60899         Determine underflow based on rounding to normal precision if
60900         TININESS_AFTER_ROUNDING.
60901         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60902         ERANGE for exact underflow cases.
60903         * stdlib/Makefile (tests): Add tst-tininess and
60904         tst-strtod-underflow.
60905         ($(objpfx)tst-tininess): Use $(link-libm).
60906         ($(objpfx)tst-strtod-underflow): Likewise.
60908 2012-10-30  Andreas Jaeger  <aj@suse.de>
60910         [BZ#14767]
60911         * elf/Makefile (tests): Remove conditional for have-initfini-array
60912         since this is now always required and the variable does not exist
60913         anymore.
60914         (tests-static): Likewise.
60915         (modules-names): Likewise.
60917         * po/eo.po: Add Esperanto translation from translation project.
60919         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60920         merged with constructor/destructor.
60921         (init_array): Likewise.
60922         * elf/tst-array2dep.c (fini_array): Likewise.
60923         (init_array): Likewise.
60925 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60927         * manual/message.texi: Delete @cartouche tags.
60929 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60931         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60932         EOPNOTSUPP.
60933         * sysdeps/mach/hurd/fsync.c: Likewise.
60935         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60936         [_POSIX_REALTIME_SIGNALS]: Change condition to
60937         [_POSIX_REALTIME_SIGNALS > 0].
60939 2012-10-27  Andreas Jaeger  <aj@suse.de>
60941         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60942         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60943         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60944         [__WORDSIZE != 64]: Likewise.
60946 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60948         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60949         *  iconvdata/tst-tables.sh: Likewise.
60951 2012-10-25  David S. Miller  <davem@davemloft.net>
60953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60954         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60955         of strtoull.
60957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60958         ifunc-impl-list.c
60959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60960         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60961         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60962         file.
60964 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60966         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60967         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60968         __getdirentries.
60970 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60971             Jim Blandy  <jimb@codesourcery.com>
60973         * scripts/cross-test-ssh.sh: New file.
60974         * manual/install.texi (Configuring and compiling): Document use of
60975         cross-test-ssh.sh.
60976         * INSTALL: Regenerated.
60978 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60980         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60981         EOPNOTSUPP.
60983 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60985         * Makeconfig (run-program-prefix): Fix comment.
60987 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60988             Jim Blandy  <jimb@codesourcery.com>
60990         * Makeconfig (test-wrapper): New variable,
60991         (test-wrapper-env): Likewise.
60992         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60993         (run-built-tests): Define to yes.
60994         (run-program-prefix): Use $(test-wrapper).
60995         (built-program-cmd): Likewise.
60996         * Rules (make-test-out): Use $(test-wrapper-env) and
60997         $(host-built-program-cmd).
60998         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60999         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61000         tst-pathopt.sh.
61001         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61002         $(test-wrapper-env) to tst-rtld-load-self.sh.
61003         ($(objpfx)order2.out): Use $(test-wrapper).
61004         ($(objpfx)tst-initorder.out): Likewise.
61005         ($(objpfx)tst-initorder2.out): Likewise.
61006         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61007         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61008         (test_wrapper_env): New variable.  Use it to run ld.so.
61009         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61010         Use it to run ld.so.
61011         (test_wrapper_env): Likewise.
61012         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61013         $(test-wrapper) to run-iconv-test.sh.
61014         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61015         (ICONV): Use $test_wrapper.
61016         * posix/Makefile ($(objpfx)globtest.out): Pass
61017         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61018         globtest.sh, not $(run-program-prefix).
61019         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61020         (test_wrapper): Likewise.
61021         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61022         set together with run_via_rtld_prefix.
61023         (run_program_prefix): Define in terms of test_wrapper and
61024         run_via_rtld_prefix.
61026 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61028         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61029         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61030         Targets removed.
61032         [BZ #14743]
61033         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61034         Declare __clock_getres, __clock_gettime, __clock_settime,
61035         __clock_nanosleep, and __clock_getcpuclockid.
61036         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61037         Remove librt_hidden_def (clock_gettime).
61038         * sysdeps/unix/clock_gettime.c: Likewise.
61039         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61040         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61041         * rt/clock_getres.c: Define __clock_getres as an alias.
61042         * sysdeps/posix/clock_getres.c: Likewise.
61043         * rt/clock_settime.c: Define __clock_settime as an alias.
61044         * sysdeps/unix/clock_settime.c: Likewise.
61045         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61046         * sysdeps/unix/clock_nanosleep.c: Likewise.
61047         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61048         * rt/clock-compat.c: New file.
61049         * rt/Makefile (librt-routines): Add clock-compat and move
61050         $(clock-routines) to ...
61051         (routines): ... here, new variable.
61052         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61053         Don't add get_clockfreq here.
61054         * rt/Versions (libc: GLIBC_2.17): New version set.
61055         Add clock_* symbols here.
61056         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61057         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61058         (GLIBC_2.17): Add clock_* symbols.
61059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61061         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61063         Likewise.
61064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61065         Likewise.
61066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61070         * NEWS: Mention the move.
61072         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61073         Use __open, __read, __close rather than their public counterparts.
61074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61075         (__get_clockfreq_via_cpuinfo): Likewise.
61076         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61077         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61079         * config.h.in (HAVE_IFUNC): New #undef.
61080         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61081         was successful.
61082         * configure: Regenerated.
61084 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61086         * configure.in: Move READELF check to start of file.
61087         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61088         libc_cv_asm_gnu_indirect_function in the process.
61089         * configure: Regenerated.
61091 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61093         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61094         send the output to /dev/null.
61095         (libc_cv_cc_with_libunwind): Likewise.
61096         (libc_cv_as_noexecstack): Likewise.
61097         * configure: Regenerate.
61099 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61101         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61103         * posix/globtest.sh (TMPDIR): Do not set.
61104         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61105         (testout): Likewise.
61107 2012-10-24  Andreas Jaeger  <aj@suse.de>
61109         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61110         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61111         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61112         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61113         posix_fadvise64, posix_fallocate64.
61115         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61116         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61117         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61118         Likewise.
61119         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61120         Likewise.
61121         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61124         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61125         <bits/fcntl-linux.h>.
61126         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61129         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61130         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61131         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61132         [__WORDSIZE != 64]: Likewise.
61134 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61136         * Makeconfig (run-built-tests): New variable.
61137         * Rules [$(cross-compiling) = yes]: Change condition to
61138         [$(run-built-tests) = no].
61139         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61140         to [$(run-built-tests) = yes].
61141         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61142         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61143         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61144         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61145         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61146         * io/Makefile [$(cross-compiling) = no]: Likewise.
61147         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61148         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61149         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61150         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61151         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61152         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61153         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61154         * string/Makefile [$(cross-compiling) = no]: Likewise.
61156         * posix/Makefile ($(objpfx)globtest.out): Pass
61157         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61158         $(rtld-installed-name).
61159         * posix/globtest.sh (elf_objpfx): Remove variable.
61160         (rtld_installed_name): Likewise.
61161         (library_path): Likewise.
61162         (run_program_prefix): New variable.  Use for running globtest
61163         binary.
61165 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61166             Joseph Myers  <joseph@codesourcery.com>
61168         * Makeconfig (host-built-program-cmd): New variable.
61169         * elf/Makefile (tst-stackguard1-ARGS): Use
61170         $(host-built-program-cmd).
61171         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61172         (tst-spawn-ARGS): Likewise.
61173         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61175 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61176             Jim Blandy  <jimb@codesourcery.com>
61178         * Makeconfig (run-via-rtld-prefix): New variable.
61179         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61180         (built-program-cmd): Likewise.
61182 2012-10-22  Andreas Jaeger  <aj@suse.de>
61184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61185         __O_RSYNC if it exists, otherwise to O_SYNC.
61187 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61188             Joseph Myers  <joseph@codesourcery.com>
61190         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61191         /dev/null.
61192         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61193         from /dev/null
61194         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61195         /dev/null.
61197 2012-10-22  Andreas Jaeger  <aj@suse.de>
61199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61200         Define always.
61201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61204         bits/fcntl-linux.h.
61206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61207         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61209         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61210         to __O_LARGEFILE.
61211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61212         to __O_LARGEFILE.
61214 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61215             Joseph Myers  <joseph@codesourcery.com>
61217         * config.make.in (NM): New variable.
61219 2012-10-21  Andreas Jaeger  <aj@suse.de>
61221         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61222         definitions and declarations that are provided by
61223         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61225 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61227         [BZ #14683]
61228         * elf/Makefile (tests-static): Add tst-leaks1-static.
61229         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61230         ($(objpfx)tst-leaks1-static): New rule.
61231         ($(objpfx)tst-leaks1-static-mem): Likewise.
61232         (tst-leaks1-static-ENV): New macro.
61233         * elf/dl-open.c (dl_open_worker): Check the main application
61234         only if SHARED is defined.
61235         * elf/tst-leaks1-static.c: New file.
61237 2012-10-20  Andreas Jaeger  <aj@suse.de>
61239         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61240         generic values for Linux.
61241         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61242         and declarations that are provided by <bits/fcntl-linux.h> and
61243         include <bits/fcntl-linux.h>.
61244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61245         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61247 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61249         * io/fcntl.h: Move include of <bits/types.h> to the top and
61250         include it unconditionally.
61252 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61254         * wcsmbs/Makefile (tests-ifunc): New variable.
61255         (tests): Add $(tests-ifunc).
61256         * wcsmbs/test-wcschr-ifunc.c: New file.
61257         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61258         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61259         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61260         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61261         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61263         * string/Makefile (tests-ifunc): New variable.
61264         (tests): Add $(tests-ifunc).
61265         * string/test-memccpy.c (TEST_NAME): New macro.
61266         * string/test-memchr.c (TEST_NAME): Likewise.
61267         * string/test-memcmp.c (TEST_NAME): Likewise.
61268         * string/test-memcpy.c (TEST_NAME): Likewise.
61269         * string/test-memmem.c (TEST_NAME): Likewise.
61270         * string/test-memmove.c (TEST_NAME): Likewise.
61271         * string/test-memset.c (TEST_NAME): Likewise.
61272         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61273         * string/test-stpcpy.c (TEST_NAME): Likewise.
61274         * string/test-stpncpy.c (TEST_NAME): Likewise.
61275         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61276         * string/test-strcasestr.c (TEST_NAME): Likewise.
61277         * string/test-strcat.c (TEST_NAME): Likewise.
61278         * string/test-strchr.c (TEST_NAME): Likewise.
61279         * string/test-strcmp.c(TEST_NAME): Likewise.
61280         * string/test-strcpy.c (TEST_NAME): Likewise.
61281         * string/test-strcspn.c (TEST_NAME): Likewise.
61282         * string/test-strlen.c (TEST_NAME): Likewise.
61283         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61284         * string/test-strncmp.c (TEST_NAME): Likewise.
61285         * string/test-strncpy.c (TEST_NAME): Likewise.
61286         * string/test-strnlen.c (TEST_NAME): Likewise.
61287         * string/test-strpbrk.c (TEST_NAME): Likewise.
61288         * string/test-strrchr.c (TEST_NAME): Likewise.
61289         * string/test-strspn.c (TEST_NAME): Likewise.
61290         * string/test-strstr.c (TEST_NAME): Likewise.
61291         * string/test-bcopy-ifunc.c: New file.
61292         * string/test-bzero-ifunc.c: Likewise.
61293         * string/test-memccpy-ifunc.c: Likewise.
61294         * string/test-memchr-ifunc.c: Likewise.
61295         * string/test-memcmp-ifunc.c: Likewise.
61296         * string/test-memcpy-ifunc.c: Likewise.
61297         * string/test-memmem-ifunc.c: Likewise.
61298         * string/test-memmove-ifunc.c: Likewise.
61299         * string/test-mempcpy-ifunc.c: Likewise.
61300         * string/test-memset-ifunc.c: Likewise.
61301         * string/test-rawmemchr-ifunc.c: Likewise.
61302         * string/test-stpcpy-ifunc.c: Likewise.
61303         * string/test-stpncpy-ifunc.c: Likewise.
61304         * string/test-strcasecmp-ifunc.c: Likewise.
61305         * string/test-strcasestr-ifunc.c: Likewise.
61306         * string/test-strcat-ifunc.c: Likewise.
61307         * string/test-strchr-ifunc.c: Likewise.
61308         * string/test-strchrnul-ifunc.c: Likewise.
61309         * string/test-strcmp-ifunc.c: Likewise.
61310         * string/test-strcpy-ifunc.c: Likewise.
61311         * string/test-strcspn-ifunc.c: Likewise.
61312         * string/test-strlen-ifunc.c: Likewise.
61313         * string/test-strncasecmp-ifunc.c: Likewise.
61314         * string/test-strncat-ifunc.c: Likewise.
61315         * string/test-strncmp-ifunc.c: Likewise.
61316         * string/test-strncpy-ifunc.c: Likewise.
61317         * string/test-strnlen-ifunc.c: Likewise.
61318         * string/test-strpbrk-ifunc.c: Likewise.
61319         * string/test-strrchr-ifunc.c: Likewise.
61320         * string/test-strspn-ifunc.c: Likewise.
61321         * string/test-strstr-ifunc.c: Likewise.
61323         * debug/Makefile (tests-ifunc): New variable.
61324         (tests): Add $(tests-ifunc).
61325         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61326         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61327         * debug/test-stpcpy_chk-ifunc.c: New file.
61328         * debug/test-strcpy_chk-ifunc.c: Likewise.
61330 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61332         [BZ #13601]
61333         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61334         header is not read in.
61336 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61338         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61339         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61340         directly.  Pass built executable to script as
61341         $(built-program-cmd).
61342         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61343         $testprogram without using LD_LIBRARY_PATH and $ldso.
61345         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61346         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61347         $(rtld-installed-name).
61348         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61349         (rtld_installed_name): Likewise.
61350         (library_path): Likewise.
61351         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61352         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61353         $(run-program-prefix) to tst-tables.sh.
61354         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61355         it to run tst-table-from and tst-table-to.
61356         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61357         Pass it to tst-table.sh.
61358         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61359         $(run-program-prefix) to tst-gettext.sh.
61360         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61361         tst-translit.sh.
61362         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61363         tst-gettext2.sh.
61364         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61365         to run tst-gettext.
61366         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61367         to run tst-gettext2.
61368         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61369         to run tst-translit.
61370         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61371         $(run-program-prefix) to tst-mtrace.sh.
61372         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61373         to run tst-mtrace.
61374         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61375         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61376         $(rtld-installed-name).
61377         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61378         (rtld_installed_name): Likewise.
61379         (run_program_prefix): New variable.  Use it to run wordexp-test.
61381         * Makeconfig (ARCH): Remove all definitions.
61382         (machine): Likewise.
61383         [ARCH]: Remove conditional code.
61384         [!objdir]: Give error.
61385         [!objdir] (objpfx): Remove.
61386         [!objdir] (common-objpfx): Likewise.
61387         [!objdir] (common-objdir): Likewise.
61388         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61389         AC_CONFIG_FILES call.
61390         * configure: Regenerated.
61392         [BZ #13888]
61393         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61394         or TMPDIR.
61395         (testout): Likewise.
61397         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61398         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61399         $(rtld-installed-name).
61400         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61401         (rtld_installed_name): Likwise.
61402         (runit): Remove function.
61403         (run_getconf): New variable,  Use it for running getconf binary.
61405 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61407         [BZ #14716]
61408         * string/test-memmem.c (check_result): New function.
61409         (do_one_test): Use it.
61410         (check1): New function.
61411         (test_main): Use it.
61413 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61415         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61417 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61419         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61420         (_G_LSEEK64): Likewise.
61421         (_G_MMAP64): Likewise.
61422         (_G_FSTAT64): Likewise.
61423         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61424         (_G_LSEEK64): Likewise.
61425         (_G_MMAP64): Likewise.
61426         (_G_FSTAT64): Likewise.
61427         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61428         unconditional.  Call __mmap64 directly.
61429         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61430         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61431         __lseek64 directly.
61432         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61433         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61434         __mmap64 directly.
61435         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61436         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61437         __lseek64 directly.
61438         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61439         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61440         __lseek64 directly.
61441         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61442         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61443         __lseek64 directly.
61444         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61445         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61446         __fxstat64 directly.
61447         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61448         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61449         unconditional.
61450         (freopen64) [!_G_OPEN64]: Remove conditional code.
61451         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61452         unconditional.
61453         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61454         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61455         unconditional.
61456         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61457         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61458         unconditional.
61459         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61460         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61461         unconditional.
61462         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61463         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61464         unconditional.
61465         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61466         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61467         unconditional.
61468         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61469         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61470         unconditional.
61471         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61473 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61475         [BZ #12140]
61476         * manual/memory.texi (Malloc Tunable Parameters): Add note
61477         about free list pointers overwriting some perturb bytes.
61478         Wording suggested by Roland McGrath.
61480 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61482         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61483         (lgamma_test): Likewise.
61484         (tgamma_test): Likewise.
61486 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61488         [BZ #14700]
61489         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61490         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61492 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61494         * NEWS: Mention BZ #14716.
61495         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61496         when removing AVAILABLE1_USES_J macro.
61498 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61500         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61501         (__bswap_64): __uint64_t for unsigned 64-bit int.
61503 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61505         * include/string.h (memmem): Declare libc hidden alias.
61506         * string/memmem.c (memmem): Define libc hidden alias.
61507         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61508         __read, __close instead of open, read, close.
61510 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61513         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61514         global and hidden.
61515         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61516         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61517         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61518         Likewise.
61519         (__rawmemchr_sse2): Likewise.
61520         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61521         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61522         (__strchr_sse2): Likewise.
61523         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61524         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61525         (__strcasecmp_sse2): Likewise.
61526         (__strncasecmp_sse2): Likewise.
61527         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61528         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61529         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61530         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61531         (__strrchr_sse2): Likewise.
61532         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61533         ifunc-impl-list.c.
61534         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61535         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61536         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61537         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61538         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61540         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61541         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61542         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61543         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61544         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61545         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61546         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61547         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61548         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61549         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61550         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61551         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61552         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61553         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61554         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61555         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61556         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61557         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61558         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61559         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61560         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61561         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61562         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61563         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61565         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61566         global and hidden.
61567         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61568         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61569         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61570         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61571         Likewise.
61572         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61573         Likewise.
61574         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61575         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61576         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61577         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61578         ifunc-impl-list.c.
61579         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61580         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61581         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61582         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61583         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61584         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61585         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61586         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61587         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61588         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61589         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61590         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61591         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61592         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61593         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61595         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61596         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61597         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61598         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61599         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61600         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61601         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61602         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61603         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61604         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61605         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61606         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61607         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61608         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61609         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61610         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61611         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61612         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61613         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61614         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61615         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61616         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61617         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61618         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61619         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61621         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61622         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61623         * include/ifunc-impl-list.h: New file.
61624         * misc/ifunc-impl-list.c: Likewise.
61625         * misc/Makefile (routines): Add ifunc-impl-list.
61626         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61627         * string/test-string.h: Include <ifunc-impl-list.h>.
61628         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61629         TEST_NAME]: New variables.
61630         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61631         are defined.
61632         (test_init): Call __libc_ifunc_impl_list to initialize
61633         func_list if TEST_IFUNC and TEST_NAME are defined.
61635         * string/Makefile (strop-tests): Add bcopy and bzero.
61636         * string/test-bcopy.c: New file.
61637         * string/test-bzero.c: Likewise.
61638         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61639         defined.
61640         * string/test-memset.c: Support bzero test if TEST_BZERO is
61641         defined.
61642         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61643         __libc_memmove.
61644         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61645         __libc_memset.
61646         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61647         of memset.
61649 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61651         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61652         * configure: Regenerated.
61654         * Makeconfig (+link-static-before-libc): Don't include
61655         $(link-static-libc).
61657         * libio/libio.h (_IO_pos_t): Remove.
61659 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61661         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61662         McGrath.
61664 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61666         * crypt/crypt-entry.c: Include fips-private.h.
61667         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61668         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61669         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61670         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61672 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61674         * crypt/crypt-private.h: Include stdbool.h.
61675         (_ufc_setup_salt_r): Return bool.
61676         * crypt/crypt-entry.c: Include errno.h.
61677         (__crypt_r): Return NULL with EINVAL for bad salt.
61678         * crypt/crypt_util.c (bad_for_salt): New.
61679         (_ufc_setup_salt_r): Check that salt is long enough and within
61680         the specified alphabet.
61681         * crypt/badsalttest.c: New file.
61682         * crypt/Makefile (tests): Add it.
61683         ($(objpfx)badsalttest): New.
61685 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61687         * NEWS: Add entry for BZ #14602.
61689 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61691         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61692         type-generic.
61693         * math/libm-test.inc: Update comment listing what functions and
61694         macros are tested.
61695         (isgreater_test): New function.
61696         (isgreaterequal_test): Likewise.
61697         (isless_test): Likewise.
61698         (islessequal_test): Likewise.
61699         (islessgreater_test): Likewise.
61700         (isunordered_test): Likewise.
61701         (main): Call the new functions.
61703 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61705         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61706         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61707         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61708         * sysdeps/i386/configure: Regenerated.
61709         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61710         * sysdeps/mach/configure: Regenerated.
61711         * sysdeps/mach/hurd/configure: Regenerated.
61712         * sysdeps/powerpc/configure: Regenerated.
61713         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61714         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61715         * sysdeps/s390/s390-32/configure: Regenerated.
61716         * sysdeps/s390/s390-64/configure: Regenerated.
61717         * sysdeps/sh/configure: Regenerated.
61718         * sysdeps/sparc/configure: Regenerated.
61719         * sysdeps/unix/sysv/linux/configure: Regenerated.
61720         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61721         * sysdeps/x86_64/configure: Regenerated.
61723         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61724         defined.  Don't check if MAP is NULL.
61726 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61728         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61729         (_G_stat64): Likewise.
61730         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61731         (_G_stat64): Likewise.
61732         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61733         instead of struct _G_stat64.
61734         * libio/fileops.c (mmap_remap_check): Likewise.
61735         (decide_maybe_mmap): Likewise.
61736         (_IO_new_file_seekoff): Likewise.
61737         (_IO_file_stat): Likewise.
61738         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61739         _G_off64_t.
61740         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61741         instead of struct _G_stat64.
61742         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61744 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61746         [BZ #14602]
61747         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61748         Replace with ...
61749         (CHECK_EOL): New macro.
61750         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61751         CHECK_EOL.
61752         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61753         Replace with CHECK_EOL.
61754         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61755         Replace with CHECK_EOL.
61757 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61759         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61760         type-generic.
61761         * math/libm-test.inc: Update comment listing what functions and
61762         macros are tested.
61763         (finite_test): New function.
61764         (isinf_test): Likewise.
61765         (isnan_test): Likewise.
61766         (fpclassify_test): Test subnormal input.
61767         (isfinite_test): Likewise.
61768         (isnormal_test): Likewise.
61769         (main): Call the new functions.
61771 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61773         [BZ #14660]
61774         * Makerules (%.dynsym): Force C locale when running
61775         $(OBJDUMP) --dynamic-syms.
61777 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61779         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61780         <stdint.h>.
61782 2012-10-06  David S. Miller  <davem@davemloft.net>
61784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61785         upper 32-bits of the length value in %o2 since we use branch-on-register
61786         tests which consider the entire 64-bit register.
61788 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61790         * string/test-strstr.c (check2): Add a test for page boundary.
61792 2012-10-05  David S. Miller  <davem@davemloft.net>
61794         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61795         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61796         file.
61797         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61798         sysdep_routines.
61799         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61800         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61801         and bzero when HWCAP_SPARC_CRYPTO is present.
61803 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61805         [BZ #14602]
61806         * string/test-strstr.c (check2): New function.
61807         (test_main): Call check2.
61809         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61810         and bug-strchr1.
61811         * string/bug-strcasestr1.c (do_test): Moved to ...
61812         * string/test-strcasestr.c (check1): Here.  New function.
61813         (do_one_test): Break out result checking code into ...
61814         (check_result): This.  New function.
61815         (do_one_test): Call check_result.
61816         (test_main): Call check1.
61817         * string/bug-strchr1.c (do_test): Moved to ...
61818         * string/test-strchr.c (check1): Here.  New function.
61819         (do_one_test): Break out result checking code into ...
61820         (check_result): This.  New function.
61821         (do_one_test): Call check_result.
61822         (test_main): Call check1.
61823         * string/bug-strstr1.c (main): Moved to ...
61824         * string/test-strstr.c (check1): Here.  New function.
61825         (do_one_test): Break out result checking code into ...
61826         (check_result): This.  New function.
61827         (do_one_test): Call check_result.
61828         (test_main): Call check1.
61829         * string/bug-strcasestr1.c: Removed.
61830         * string/bug-strchr1.c: Likewise.
61831         * string/bug-strstr1.c: Likewise.
61833         * elf/Makefile (dl-routines): Add hwcaps.
61834         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61835         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61836         (_dl_important_hwcaps): Moved to ...
61837         * elf/dl-hwcaps.c: Here.  New file.
61838         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61840         [BZ #14557]
61841         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61842         if IS_IN_rtld isn't defined.
61844         * elf/dl-support.c (_dl_sysinfo_map): New.
61845         Include "get-dynamic-info.h" and "setup-vdso.h".
61846         (_dl_non_dynamic_init): Call setup_vdso.
61847         * elf/dynamic-link.h: Don't include <assert.h>.
61848         (elf_get_dynamic_info): Moved to ...
61849         * elf/get-dynamic-info.h: Here.  New file.
61850         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61851         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61852         * elf/setup-vdso.h: Here.  New file.
61853         * elf/rtld.c: Include "setup-vdso.h".
61854         (dl_main): Call setup_vdso.
61856 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61858         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61859         creal in comment listing functions tested.  List finite, isinf,
61860         isnan, isless, islessequal, isgreater, isgreaterequal,
61861         islessgreater, isunordered, lgamma_r and pow10 as functions and
61862         macros not tested.  Mention which functions not tested are aliases
61863         for other functions.  Fix typo.  Note that signs of NaNs are not
61864         tested.
61866         * scripts/config.guess: Update from config.git.
61867         * scripts/config.sub: Likewise.
61869 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61871         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61872         * misc/madvise.c (madvise): Renamed to __madvise.
61873         Make madvise a weak alias.
61874         * include/sys/mman.h: Declare __madvise.
61875         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61876         * sysdeps/unix/syscalls.list
61877         (madvise): Make __madvise the strong name, and madvise a weak alias.
61878         * sysdeps/unix/sysv/linux/syscalls.list
61879         (madvise, mmap): Remove redundant entries.
61880         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61881         * malloc/malloc.c (mtrim): Likewise.
61882         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61884 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61886         * sysdeps/mach/hurd/dl-cache.c: File removed.
61887         * config.h.in (USE_LDCONFIG): New #undef.
61888         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61889         * configure: Regenerated.
61890         * elf/Makefile (dl-routines): Add dl-cache only under
61891         [$(use-ldconfig) = yes].
61892         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61893         cache on [USE_LDCONFIG].
61894         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61895         [USE_LDCONFIG].
61896         * elf/rtld.c (dl_main): Likewise.
61898 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61900         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61901         _SC_LEVEL4_CACHE_LINESIZE.
61903 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61905         * sysdeps/unix/bsd/confstr.h: File removed.
61907 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61909         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61910         sys/sdt-config.h.
61912 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61914         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61915         Make 'mapoff' field ElfW(Off) rather than off_t.
61917 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61919         * nscd/Makefile: Remove nscd-cflags and all its users.
61920         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61921         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61923         [BZ #10631]
61924         * malloc.c (malloc_printerr): Clarify error message.
61926 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61928         [BZ #14648]
61929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61930         Set bit_FMA_Usable if FMA is supported.
61931         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61932         macro.
61933         (bit_FMA4_Usable): Updated.
61934         (index_FMA_Usable): New macro.
61935         (CPUID_FMA): Likewise.
61936         (HAS_FMA): Defined with bit_FMA_Usable.
61938 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61940         * bits/types.h (__swblk_t): Type removed.
61941         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61942         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61943         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61944         (__SWBLK_T_TYPE): Likewise.
61945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61946         (__SWBLK_T_TYPE): Likewise.
61947         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61948         (__SWBLK_T_TYPE): Likewise.
61949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61950         (__SWBLK_T_TYPE): Likewise.
61952 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61953             Honza Horak <hhorak@redhat.com>
61955         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61956         (xdr_mapname): Use YPMAXMAP as maxsize.
61957         (xdr_peername): Use YPMAXPEER as maxsize.
61958         (xdr_keydat): Use YPAXRECORD as maxsize.
61959         (xdr_valdat): Use YPMAXRECORD as maxsize.
61961 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61963         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61965         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61966         * csu/init-first.c: ... here.
61967         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61968         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61969         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61970         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61971         * sysdeps/i386/init-first.c: File removed.
61972         * sysdeps/sh/init-first.c: File removed.
61974 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61976         [BZ #14645]
61977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61978         if x * y might underflow to zero and z is zero.
61979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61981         * math/libm-test.inc (min_subnorm_value): New variable.
61982         (fma_test): Add more tests.
61983         (fma_test_towardzero): Likewise.
61984         (fma_test_downward): Likewise.
61985         (fma_test_upward): Likewise.
61986         (initialize): Set min_subnorm_value.
61988 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61990         [BZ #14638]
61991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61992         0 + 0.
61993         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61994         mode for addition resulting in exact zero.
61995         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61997         exact 0 + 0.
61998         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62000         * math/libm-test.inc (fma_test): Add more tests.
62001         (fma_test_towardzero): New function.
62002         (fma_test_downward): Likewise.
62003         (fma_test_upward): Likewise.
62004         (main): Call the new functions.
62006 2012-09-28  David S. Miller  <davem@davemloft.net>
62008         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62010 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62012         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62013         instead of SIGALRM.
62015         * sysdeps/gnu/_G_config.h: Moved to ...
62016         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62017         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62018         * sysdeps/generic/_G_config.h: ... here.
62020         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62022         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62024         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62025         Conditionalize target on [libnss_test1.so-version].
62027         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62029         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62030         (elfobjdir): Move out of conditionals.
62032         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62033         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62034         (__nss_lookup_function): Conditionalize label remove_from_tree on
62035         [!DO_STATIC_NSS || SHARED], matching its only use.
62037 2012-09-28  David S. Miller  <davem@davemloft.net>
62039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62040         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62041         file.
62042         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62043         sysdep_routines.
62044         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62046         when HWCAP_SPARC_CRYPTO is present.
62048 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62050         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62052 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62054         [BZ #6530]
62055         * stdio-common/vfprintf.c (process_string_arg): Revert
62056         2000-07-22 change.
62058 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62060         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62061         for testcase.
62062         * stdio-common/tst-sprintf.c: Include <locale.h>
62063         (main): Test sprintf's handling of incomplete multibyte
62064         characters.
62066 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62068         * elf/dl-runtime.c (VERSYMIDX): Removed.
62069         * elf/dl-version.c (VERSYMIDX): Likewise.
62070         * elf/do-rel.h (VERSYMIDX): Likewise.
62071         (VALIDX): Likewise.
62072         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62073         * elf/rtld.c (VALIDX): Likewise.
62074         (ADDRIDX): Likewise.
62075         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62076         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62077         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62078         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62079         (VALIDX): Likewise.
62080         (ADDRIDX): Likewise.
62082 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62084         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62086 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62088         [BZ #11438]
62089         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62090         to global scope.
62091         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62092         addresses are in the same scope as 192.0.2/24.
62093         * posix/gai.conf: Document new scope table defaults.
62095 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62097         [BZ #5298]
62098         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62099         for ftell.  Compute offsets from write pointers instead.
62100         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62102 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62104         [BZ #14543]
62105         * libio/Makefile (tests): New test case tst-fseek.
62106         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62107         combination works in wide mode.
62108         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62109         state when the external buffer state changes.
62111 2012-09-27  David S. Miller  <davem@davemloft.net>
62113         [BZ #14376]
62114         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62115         pass reloc->r_addend in as the 'high' argument to
62116         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62120 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62122         * rt/tst-aio2.c: Include <pthread.h>.
62123         * rt/tst-aio3.c: Likewise.
62125 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62127         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62129 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62131         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62132         contents on [SHARED].
62134 2012-09-26  Marek Polacek  <polacek@redhat.com>
62136         [BZ #14530]
62137         [BZ #13741]
62138         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62139         for C++ and GCC <4.3 as well as for non GCC compilers.
62141 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62145 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62147         * Makefile.in (all, install): Declare with .PHONY.
62148         Reported by Michael Hope <michael.hope@linaro.org>.
62150 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62152         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62153         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62154         system header.
62155         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62156         Likewise.
62157         (sydep_routines): Add the new and the internal functions.
62158         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62159         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62161         (GLIBC_2.17): Add the new function.
62162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62163         (GLIBC_2.17): Likewise.
62164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62165         (GLIBC_2.17): Likewise.
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62167         (GLIBC_2.17): Likewise.
62168         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62170 2012-09-25  Alan Modra  <amodra@gmail.com>
62172         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62173         Add release barrier before setting once_control to say
62174         initialisation is done.  Add hints on lwarx.  Use macro in
62175         place of isync.
62176         (clear_once_control): Add release barrier.
62178 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62180         [BZ #13629]
62181         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62182         specially.
62183         * math/s_clog10.c (__clog10): Likewise.
62184         * math/s_clog10f.c (__clog10f): Likewise.
62185         * math/s_clog10l.c (__clog10l): Likewise.
62186         * math/s_clogf.c (__clogf): Likewise.
62187         * math/s_clogl.c (__clogl): Likewise.
62188         * math/Makefile (libm-calls): Add x2y2m1.
62189         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62190         (__x2y2m1): Likewise.
62191         (__x2y2m1l): Likewise.
62192         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62193         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62194         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62196         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62197         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62198         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62199         * sysdeps/i386/fpu/libm-test-ulps: Update.
62200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62202         [BZ #14621]
62203         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62204         int as type of variable DEPTH.
62205         (glob): Use size_t instead of int as type of variables NEWCOUNT
62206         and OLD_PATHC.
62208 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62210         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62211         Add s_sincosf-sse2.
62212         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62213         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62214         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62215         macros for using routine as __sincosf_ia32.
62216         Use macro for function declaration and weak_alias.
62217         * sysdeps/i386/fpu/libm-test-ulps: Update.
62219         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62222         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62223         subnormal argument.
62224         * math/s_cexpf.c (__cexpf): Likewise.
62225         * math/s_csinf.c (__csinf): Likewise.
62226         * math/s_csinhf.c (__csinhf): Likewise.
62227         * math/s_ctanf.c (__ctanf): Likewise.
62228         * math/s_ctanhf.c (__ctanhf): Likewise.
62229         * math/s_ccosh.c (__ccoshf): Likewise.
62230         * math/s_cexp.c (__cexpl): Likewise.
62231         * math/s_csin.c (__csin): Likewise.
62232         * math/s_csinh.c (__csinh): Likewise.
62233         * math/s_ctan.c (__ctan): Likewise.
62234         * math/s_ctanh.c (ctanh): Likewise.
62235         * math/s_ccoshl.c (__ccoshl): Likewise.
62236         * math/s_cexpl.c (__cexpl): Likewise.
62237         * math/s_csinl.c (__csinl): Likewise.
62238         * math/s_csinhl.c (__csinhl): Likewise.
62239         * math/s_ctanl.c (__ctanl): Likewise.
62240         * math/s_ctanhl.c (__ctanhl): Likewise.
62242 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62244         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62245         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62246         (_IO_off_t): Define to __off_t, not _G_off_t.
62247         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62248         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62249         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62250         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62251         type of __dummy and __dummy2 fields.
62252         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62253         (_G_ssize_t): Likewise.
62254         (_G_off_t): Likewise.
62255         (_G_pid_t): Likewise.
62256         (_G_uid_t): Likewise.
62257         (_G_wchar_t): Likewise.
62258         (_G_wint_t): Likewise.
62259         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62260         (_G_ssize_t): Likewise.
62261         (_G_off_t): Likewise.
62262         (_G_pid_t): Likewise.
62263         (_G_uid_t): Likewise.
62264         (_G_wchar_t): Likewise.
62265         (_G_wint_t): Likewise.
62266         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62267         (_G_ssize_t): Likewise.
62268         (_G_off_t): Likewise.
62269         (_G_pid_t): Likewise.
62270         (_G_uid_t): Likewise.
62271         (_G_wchar_t): Likewise.
62272         (_G_wint_t): Likewise.
62274 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62276         * malloc/arena.c: Include malloc-sysdep.h.
62277         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62278         is sufficient to shrink the heap or an unmap is needed.
62279         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62280         new function check_may_shrink_heap.
62281         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62282         new function check_may_shrink_heap.
62284 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62286         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62287         comments.
62289 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62291         * catgets/test-gencat.sh: Add "set -e".
62292         * elf/tst-pathopt.sh: Likewise.
62293         * grp/tst_fgetgrent.sh: Likewise.
62294         * iconvdata/run-iconv-test.sh: Likewise.
62295         * intl/tst-gettext.sh: Likewise.
62296         * intl/tst-gettext2.sh: Likewise.
62297         * intl/tst-gettext4.sh: Likewise.
62298         * intl/tst-gettext6.sh: Likewise.
62299         * intl/tst-translit.sh: Likewise.
62300         * io/ftwtest-sh: Likewise.
62301         * libio/test-freopen.sh: Likewise.
62302         * malloc/tst-mtrace.sh: Likewise.
62303         * posix/globtest.sh: Likewise.
62304         * posix/tst-getconf.sh: Likewise.
62305         * posix/wordexp-tst.sh: Likewise.
62306         * stdio-common/tst-printf.sh: Likewise.
62307         * stdio-common/tst-unbputc.sh: Likewise.
62308         * stdlib/tst-fmtmsg.sh: Likewise.
62309         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62310         * catgets/Makefile: Do not specify -e option when running
62311         testsuite shell scripts.
62312         * elf/Makefile: Likewise.
62313         * grp/Makefile: Likewise.
62314         * iconvdata/Makefile: Likewise.
62315         * intl/Makefile: Likewise.
62316         * io/Makefile: Likewise.
62317         * libio/Makefile: Likewise.
62318         * malloc/Makefile: Likewise.
62319         * posix/Makefile: Likewise.
62320         * stdio-common/Makefile: Likewise.
62321         * stdlib/Makefile: Likewise.
62322         * sysdeps/x86_64/Makefile: Likewise.
62324         * io/ftwtest-sh: Add copyright header.
62325         * posix/globtest.sh: Likewise.
62326         * posix/tst-getconf.sh: Likewise.
62327         * posix/wordexp-tst.sh: Likewise.
62328         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62330 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62332         [BZ #13679]
62333         * Makeconfig (+link): Defined as $(+link-static) if
62334         $(build-shared) isn't yes.
62335         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62336         isn't yes.
62337         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62339         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62341         [BZ #14562]
62342         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62343         new chunk size with MALLOC_ALIGN_MASK.
62345 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62347         [BZ #5044]
62348         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62349         <rounding-mode.h>.
62350         (__printf_fphex): Determine rounding using get_rounding_mode and
62351         round_away.
62352         * stdio-common/tst-printf-round.c (struct hex_test): New
62353         structure.
62354         (hex_tests): New variable.
62355         (test_hex_in_one_mode): New function.
62356         (do_test): Also run tests for hex float output.
62358 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62360         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62361         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62362         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62363         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62364         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62365         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62366         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62367         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62369 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62371         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62372         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62373         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62374         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62376 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62378         [BZ #14579]
62379         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62380         mode only.
62381         * elf/tst-rtld-load-self.sh: New test.
62382         * elf/Makefile: Run it.
62384 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62386         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62387         (tst-writev-ENV): Remove.
62388         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62390 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62392         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62394 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62396         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62397         unconditional.
62398         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62399         Likewise.
62400         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62401         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62402         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62403         Likewise.
62405 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62407         [BZ #14587]
62408         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62409         * config.make.in (have-cpp-asm-debuginfo): Removed.
62410         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62411         * configure: Regenerated.
62413 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62415         [BZ #5044]
62416         * stdio-common/printf_fp.c: Include <stdbool.h> and
62417         <rounding-mode.h>.
62418         (___printf_fp): Determine rounding using get_rounding_mode and
62419         round_away.
62420         * stdio-common/tst-printf-round.c: New file.
62421         * stdio-common/Makefile (tests): Add tst-printf-round.
62422         (link-libm): New variable.
62423         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62425 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62427         [BZ #14576]
62428         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62429         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62430         Likewise.
62431         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62432         Likewise.
62434 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62436         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62437         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62438         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62439         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62441 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62443         [BZ #14518]
62444         * include/rounding-mode.h: New file.
62445         * sysdeps/generic/get-rounding-mode.h: Likewise.
62446         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62447         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62448         (MAX_VALUE): New macro.
62449         (MIN_VALUE): Likewise.
62450         (overflow_value): New function.
62451         (underflow_value): Likewise.
62452         (round_and_return): Use overflow_value and underflow_value to
62453         determine return values in overflow and underflow cases.  Use
62454         round_away to determine rounding depending on rounding mode.
62455         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62456         determine return values in overflow and underflow cases.
62457         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62458         (struct test_results): New structure.
62459         (struct test): Use struct test_results to store expected results
62460         for all rounding modes.
62461         (TEST): Include expected results for all rounding modes.
62462         (test_in_one_mode): New function.
62463         (do_test): Use test_in_one_mode to compute and check results.
62464         Check results for all rounding modes.
62465         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62466         $(link-libm).
62468 2012-12-09  Allan McRae  <allan@archlinux.org>
62470         * sysdeps/i386/fpu/libm-test-ulps: Update
62472 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62474         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62475         (_G_int32_t): Likewise.
62476         (_G_uint16_t): Likewise.
62477         (_G_uint32_t): Likewise.
62478         (_G_HAVE_BOOL): Likewise.
62479         (_G_HAVE_ATEXIT): Likewise.
62480         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62481         (_G_HAVE_IO_FILE_OPEN): Likewise.
62482         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62483         (_G_int32_t): Likewise.
62484         (_G_uint16_t): Likewise.
62485         (_G_uint32_t): Likewise.
62486         (_G_HAVE_BOOL): Likewise.
62487         (_G_HAVE_ATEXIT): Likewise.
62488         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62489         (_G_HAVE_IO_FILE_OPEN): Likewise.
62490         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62491         (_G_int32_t): Likewise.
62492         (_G_uint16_t): Likewise.
62493         (_G_uint32_t): Likewise.
62494         (_G_HAVE_BOOL): Likewise.
62495         (_G_HAVE_ATEXIT): Likewise.
62496         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62497         (_G_HAVE_IO_FILE_OPEN): Likewise.
62499 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62501         * csu/libc-tls.c: Update copyright years.
62503 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62505         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62506         [!_G_USING_THUNKS]: Remove conditional code.
62507         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62508         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62510         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62511         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62512         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62513         (_G_VTABLE_LABEL_PREFIX): Likewise.
62514         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62515         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62516         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62517         (_G_VTABLE_LABEL_PREFIX): Likewise.
62518         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62519         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62520         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62521         (_G_VTABLE_LABEL_PREFIX): Likewise.
62522         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62524 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62526         * libio/Makefile: Include ../Makeconfig before tests.
62527         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62528         only if $(build-shared) is yes.
62530         * iconv/gconv_db.c: Update copyright years.
62532 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62534         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62535         unwind info if defined PIC. Fix special cases description.
62536         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62538         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62539         DP_HI_MASK entry.
62540         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62542 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62544         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62546         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62547         is NULL.
62549         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62550         (LDLIBS-tst-chk4): This.
62551         (LDFLAGS-tst-chk5): Renamed to ...
62552         (LDLIBS-tst-chk5): This.
62553         (LDFLAGS-tst-chk6): Renamed to ...
62554         (LDLIBS-tst-chk6): This.
62555         (LDFLAGS-tst-lfschk4): Renamed to ...
62556         (LDLIBS-tst-lfschk4): This.
62557         (LDFLAGS-tst-lfschk5): Renamed to ...
62558         (LDLIBS-tst-lfschk5): This.
62559         (LDFLAGS-tst-lfschk6): Renamed to ...
62560         (LDLIBS-tst-lfschk6): This.
62562         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62563         on $(common-objpfx)soversions.mk.
62565 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62567         [BZ #10014]
62568         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62569         example host name.
62571 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62573         * malloc/arena.c (arena_get_retry): New function that gets
62574         another arena for the caller to try its request on.
62575         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62576         current arena cannot fulfill the request.
62577         (__libc_memalign): Likewise.
62578         (__libc_memalign): Likewise.
62579         (__libc_pvalloc): Likewise.
62580         (__libc_calloc): Likewise.
62582 2012-09-05  John Tobey  <john.tobey@gmail.com>
62584         [BZ #13542]
62585         * manual/arith.texi (Operations on Complex): Fix description
62586         of carg branch cut.
62588 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62590         [BZ #10014]
62591         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62592         host name.
62594         [BZ #10038]
62595         * manual/memory.texi (Memory): Make order of menu items match
62596         order of sections.
62598 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62600         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62601         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62602         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62604 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62606         * csu/libc-tls.c (static_dtv): Renamed to ...
62607         (_dl_static_dtv): This.  Make it global.
62608         (_dl_initial_dtv): Removed.
62609         (__libc_setup_tls): Updated.
62610         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62611         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62612         DL_INITIAL_DTV.
62614 2012-09-06  Petr Machata  <pmachata@redhat.com>
62616         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62617         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62618         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62619         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62621 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62623         [BZ #14545]
62624         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62625         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62626         freeing dtv[-1].
62628 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62630         [BZ #14544]
62631         * Makeconfig (link-static-before-libc): Replace $(+prector)
62632         with $(+prectorT).
62633         (link-static-after-libc): Replace $(+postctor) with
62634         $(+postctorT).
62635         (link-bounded): Replace $(+prector)/$(+postctor) with
62636         $(+prectorT)/$(+postctorT).
62637         (+prectorT): New macro.
62638         (+postctorT): Likewise.
62640 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62642         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62643         (round_str): Handle values above the maximum for IBM long double
62644         as inexact.
62645         * stdlib/tst-strtod-round.c (tests): Regenerated.
62647 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62649         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62650         assembler flag.
62651         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62652         zarch_nohighgprs around the zarch optimized routines.
62653         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62654         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62655         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62656         for zarch.
62658 2012-09-05  David S. Miller  <davem@davemloft.net>
62660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62662         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62663         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62664         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62665         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62666         entries.
62668 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62670         * malloc/arena.c: Fold copyright years.
62671         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62673 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62675         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62679         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62683         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62684         change internal state upon failure.
62686 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62688         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62689         * malloc/memusage.c (mmap): Likewise.
62690         (mmap64, mremap): Likewise.  Adjust name in comment.
62692 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62694         * libio/fileops.c: Fix typos in comments.
62695         * libio/oldfileops.c: Likewise.
62696         * libio/wfileops.c: Likewise.
62698 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62700         [BZ #1349]
62701         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62702         (tst-malloc-usable-ENV): Set environment for test case.
62703         * malloc/hooks.c (malloc_check_get_size): New function to get
62704         requested size.
62705         * malloc/malloc.c (musable): Use malloc_check_get_size.
62706         * malloc/tst-malloc-usable.c: New test case.
62708 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62710         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62712 2012-09-05  Allan McRae  <allan@archlinux.org>
62714         [BZ #13966]
62715         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62716         determine header location.
62717         * configure: Regenerated.
62719 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62721         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62722         float format.
62723         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62724         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62725         format.
62726         (test): Regenerate.
62728 2012-09-04  David S. Miller  <davem@davemloft.net>
62730         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62731         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62732         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62734 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62736         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62737         failures.
62739         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62741 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62743         [BZ #9914]
62744         * libio/iogetdelim.c: Include <limits.h>.
62745         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62746         + len + 1 would overflow.
62748 2012-09-03  Andreas Jaeger  <aj@suse.de>
62750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62751         * sysdeps/i386/fpu/libm-test-ulps: Update.
62753 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62755         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62756         Add s_sinf-sse2, s_conf-sse2.
62758         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62759         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62760         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62761         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62763         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62764         for using routine as __sinf_ia32.
62765         Use macro for function declaration and weak_alias.
62766         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62767         for using routine as __cosf_ia32.
62768         Use macro for function declaration and weak_alias.
62770         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62771         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62773         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62774         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62777         * math/libm-test.inc (cos_test): Add more test cases.
62778         (sin_test): Likewise.
62779         (sincos_test): Likewise.
62781 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62784         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62785         hidden.
62786         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62788 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62790         [BZ #14538]
62791         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62792         first element of the GOT.
62793         (elf_machine_load_address): Return the difference between
62794         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62796 2012-09-01  Allan McRae  <allan@archlinux.org>
62798         [BZ #13412]
62799         * configure.in (AWK): Require gawk version 3.0 or later.
62800         * configure: Regenerated.
62802 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62804         * sysdeps/unix/sysv/linux/kernel-features.h
62805         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62806         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62807         [__NR_clock_getres]: Make code unconditional.
62808         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62809         (clock_getcpuclockid): Remove code left unreachable by removal of
62810         conditionals.
62811         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62812         code unconditional.
62813         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62814         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62815         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62816         Make code unconditional.
62817         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62818         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62819         * sysdeps/unix/sysv/linux/clock_settime.c
62820         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62821         conditional code.
62822         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62823         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62825 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62827         [BZ #14476]
62828         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62829         scripts/test-installation.pl.
62831         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62832         and $ld_so_version if it is set.
62834 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62836         [BZ #14516]
62837         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62838         failure if reading from procfs failed.
62839         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62841 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62843         * sysdeps/unix/sysv/linux/kernel-features.h
62844         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62845         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62846         Remove conditional code.
62847         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62848         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62849         Remove conditional code.
62850         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62851         * sysdeps/unix/sysv/linux/i386/fxstat.c
62852         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62853         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62854         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62855         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62856         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62857         * sysdeps/unix/sysv/linux/i386/lxstat.c
62858         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62859         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62860         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62861         Remove conditional code.
62862         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62863         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62864         Remove conditional code.
62865         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62866         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62867         <kernel-features.h>.
62868         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62869         Remove.
62870         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62871         Remove conditional code.
62872         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62873         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62874         Remove conditional.
62876 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62878         [BZ #5400]
62879         * NEWS: Add fixed bug number.
62881 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62883         [BZ #14519]
62884         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62885         underflowing exponent in case of negative sign.
62886         * stdlib/tst-strtod-round-data: Add more tests.
62887         * stdlib/tst-strtod-round.c (tests): Regenerated.
62889         [BZ #3479]
62890         * stdlib/strtod_l.c (NDIG): Remove.
62891         (HEXNDIG): Likewise.
62892         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62893         smallest representable value.
62894         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62895         lie within an exact representation of 1/2 ulp of the result.
62896         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62897         unconditionally.
62898         (TENS_P9_IDX): Define unconditionally.
62899         (TENS_P9_SIZE): Likewise.
62900         (TENS_P10_IDX): Likewise.
62901         (TENS_P10_SIZE): Likewise.
62902         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62903         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62904         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62905         entries for 10^2^13 and 10^2^14.
62906         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62907         (TENS_P13_IDX): Define.
62908         (TENS_P13_SIZE): Likewise.
62909         (TENS_P14_IDX): Likewise.
62910         (TENS_P14_SIZE): Likewise.
62911         (_fpioconst_pow10): Change array size to
62912         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62913         unconditional.
62914         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62915         1024]: Add entries for 10^2^13 and 10^2^14.
62916         [LAST_POW10 > _LAST_POW10]: Remove #error.
62917         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62918         (_fpioconst_pow10): Change array size to
62919         FPIOCONST_POW10_ARRAY_SIZE.
62920         * stdlib/gen-fpioconst.c: New file.
62921         * stdlib/gen-tst-strtod-round.c: Likewise.
62922         * stdlib/tst-strtod-round-data: Likewise.
62923         * stdlib/tst-strtod-round.c: Likewise.
62924         * stdlib/Makefile (tests): Add tst-strtod-round.
62926         [BZ #14459]
62927         * stdlib/strtod_l.c: Include <stdint.h>.
62928         (NDEBUG): Do not define.
62929         (round_and_return): Change EXPONENT parameter to type intmax_t.
62930         Rearrange calculations to avoid internal overflow possibilities.
62931         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62932         Rearrange calculations to avoid internal overflow possibilities.
62933         Assert that number fits inside MPNSIZE limbs.
62934         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62935         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62936         calculations and add assertions to avoid internal overflow
62937         possibilities.  Add casts to avoid signed/unsigned operations.
62938         * stdlib/tst-strtod-overflow.c: New file.
62939         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62941 2012-08-25  Marek Polacek  <polacek@redhat.com>
62943         * time/time.h: Fix some typos in comments.
62945 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62947         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62948         * posix/tst-rfc3484-2.c: Likewise.
62949         * posix/tst-rfc3484-3.c: Likewise.
62951 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62953         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62954         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62956 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62958         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62959         #include of fxstatat64.c.
62961 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62963         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62964         * shadow/getspent_r.c: Likewise.
62965         * shadow/getspnam.c: Likewise.
62966         * shadow/getspnam_r.c: Likewise.
62967         * gshadow/getsgent.c: Likewise.
62968         * gshadow/getsgent_r.c: Likewise.
62969         * gshadow/getsgnam.c: Likewise.
62970         * gshadow/getsgnam_r.c: Likewise.
62971         * inet/getnetbyad.c: Likewise.
62972         * inet/getnetbyad_r.c: Likewise.
62973         * inet/getnetbynm.c: Likewise.
62974         * inet/getnetbynm_r.c: Likewise.
62975         * inet/getnetent.c: Likewise.
62976         * inet/getnetent_r.c: Likewise.
62977         * inet/getproto.c: Likewise.
62978         * inet/getproto_r.c: Likewise.
62979         * inet/getprtent.c: Likewise.
62980         * inet/getprtent_r.c: Likewise.
62981         * inet/getprtname.c: Likewise.
62982         * inet/getprtname_r.c: Likewise.
62983         * inet/getrpcbyname.c: Likewise.
62984         * inet/getrpcbyname_r.c: Likewise.
62985         * inet/getrpcbynumber.c: Likewise.
62986         * inet/getrpcbynumber_r.c: Likewise.
62987         * inet/getrpcent.c: Likewise.
62988         * inet/getrpcent_r.c: Likewise.
62989         * inet/getaliasent.c: Likewise.
62990         * inet/getaliasent_r.c: Likewise.
62991         * inet/getaliasname.c: Likewise.
62992         * inet/getaliasname_r.c: Likewise.
62993         * nscd/getgrgid_r.c: Likewise.
62994         * nscd/getgrnam_r.c: Likewise.
62995         * nscd/gethstbyad_r.c: Likewise.
62996         * nscd/gethstbynm3_r.c: Likewise.
62997         * nscd/getpwnam_r.c: Likewise.
62998         * nscd/getpwuid_r.c: Likewise.
62999         * nscd/getsrvbynm_r.c: Likewise.
63000         * nscd/getsrvbypt_r.c: Likewise.
63001         * nscd/gai.c: Likewise.
63003         * configure.in (build_nscd): New substituted variable, set
63004         by --disable-build-nscd and defaults to $use_nscd.
63005         * configure: Regenerated.
63006         * config.make.in (build-nscd): New substituted variable.
63007         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63008         Change conditional to require [$(build-nscd) = yes] as well.
63009         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63011         [BZ# 13696]
63012         * configure.in (use_nscd): New substituted variable, set by
63013         --disable-nscd.  If enabled, define USE_NSCD.
63014         * configure: Regenerated.
63015         * config.h.in: Add USE_NSCD.
63016         * config.make.in (use-nscd): New substituted variable.
63017         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63018         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63019         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63020         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63021         (CFLAGS-getgrnam_r.c): Likewise.
63022         (CFLAGS-initgroups.c): Likewise.
63023         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63024         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63025         Variables removed.
63026         * inet/getnetgrent_r.c
63027         (nscd_setnetgrent): New function, broken out of ...
63028         (setnetgrent): ... here.  Call it.
63029         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63030         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63031         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63032         * nscd/Makefile (routines, aux): Move definitions after include of
63033         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63034         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63035         Conditionalize on [USE_NSCD].
63036         (is_nscd, nscd_init_cb): Likewise.
63037         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63038         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63039         * nss/nss_db/db-init.c: Likewise.
63040         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63041         [USE_NSCD].
63042         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63043         (make_request): Use it.
63044         (cache_valid_p): New function.
63045         (__check_pf): Use it.
63046         * NEWS: Add item for --disable-nscd.
63048 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63050         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63051         to support sed >= 4.2.1-20-ga9bf076.
63052         * configure: Regenerated.
63054 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63056         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63057         Conditionalize whole body on [IREL].
63059 2012-08-22  Jeff Law <law@redhat.com>
63061         [BZ #14505]
63062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63063         if the family is PF_UNSPEC.
63065 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63067         * Makerules (lib-version): Rename from V.
63068         (install-lib-nosubdir): Change V to lib-version.
63070 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63072         [BZ #14252]
63073         * powerpc32/power6/wcschr.c: New file.
63074         * powerpc32/power6/wcscpy.c: New file.
63075         * powerpc32/power6/wcsrchr.c: New file.
63076         * powerpc64/power6/wcschr.c: New file.
63077         * powerpc64/power6/wcscpy.c: New file.
63078         * powerpc64/power6/wcsrchr.c: New file.
63080 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63082         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63083         (two_way_short_needle): Use it.
63084         * string/strstr.c (AVAILABLE1_USES_J): Define.
63085         * string/strcasestr.c: Likewise.
63087         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63088         array references.
63089         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63091         [BZ #11607]
63092         * NEWS: Add an entry.
63093         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63094         define their defaults.
63095         (two_way_short_needle): Detect end-of-string on-the-fly.
63096         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63097         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63098         * string/bug-strcasestr1.c: New test.
63099         * string/Makefile: Run it.
63101 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63103         [BZ #11607]
63104         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63105         the first character.
63107 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63109         * csu/elf-init.c (__libc_csu_irel): Function removed.
63110         * csu/libc-start.c (apply_irel): New function.
63111         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63113 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63115         * sysdeps/unix/sysv/linux/kernel-features.h
63116         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63117         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63118         <kernel-features.h>.
63119         [__NR_fadvise64_64]: Make code unconditional.
63120         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63121         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63122         !__NR_fadvise64_64)]: Likewise.
63123         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63124         !__NR_fadvise64_64))]: Likewise.
63125         [__NR_fadvise64]: Make code unconditional.
63126         [!__NR_fadvise64]: Remove conditional code.
63127         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63128         <kernel-features.h>.
63129         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63130         unconditional.
63131         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63132         conditional code.
63133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63134         not include <kernel-features.h>.
63135         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63136         unconditional.
63137         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63138         conditional code.
63139         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63140         include <kernel-features.h>.
63141         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63142         unconditional.
63143         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63144         conditional code.
63146 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63148         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63149         slight instruction rearrangements per scrollpipe analysis.
63150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63152 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63154         * manual/syslog.texi (syslog; vsyslog, closelog):
63155         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63156         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63158         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63159         DSOCAPS to match condition on defining it.
63161 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63163         * sysdeps/unix/sysv/linux/kernel-features.h
63164         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63166         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63167         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63169         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63170         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63172         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63173         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63175         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63176         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63178         * sysdeps/unix/sysv/linux/kernel-features.h
63179         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63180         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63181         unconditional.
63182         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63183         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63184         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63185         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63186         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63187         Make code unconditional.
63188         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63189         (__mmap64) [!__NR_mmap2]: Likewise.
63190         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63191         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63192         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63193         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63194         [__NR_mmap2]: Make code unconditional.
63195         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63196         (__mmap64) [!__NR_mmap2]: Likewise.
63198 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63200         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63202 2012-08-18  Andreas Jaeger  <aj@suse.de>
63204         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63206 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63208         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63209         * include/unistd.h (__have_sock_cloexec): Likewise.
63210         (__have_pipe2): Likewise.
63211         (__have_dup3): Likewise.
63213 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63215         [BZ #9685]
63216         * include/unistd.h (__have_pipe2): Change define into an extern int.
63217         (__have_dup3): Likewise.
63218         * socket/have_sock_cloexec.c: Include fcntl.h.
63219         (__have_pipe2): New variable.
63220         (__have_dup3): Likewise.
63222 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63224         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63226 2012-08-17  Marek Polacek  <polacek@redhat.com>
63228         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63229         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63231 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63233         * configure.in: Add AC_SUBST for sysheaders.
63234         * configure: Regenerated.
63235         * config.make.in (sysheaders): New substituted variable.
63237         * sysdeps/unix/mkfifo.c: Moved ...
63238         * sysdeps/posix/mkfifo.c: ... here.
63239         * sysdeps/unix/mkfifoat.c: Moved ...
63240         * sysdeps/posix/mkfifoat.c: ... here.
63242         * sysdeps/unix/utime.c: Moved ...
63243         * sysdeps/posix/utime.c: ... here.
63245         * sysdeps/unix/time.c: Moved ...
63246         * sysdeps/posix/time.c: ... here.
63247         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63248         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63250         * sysdeps/unix/nice.c: Moved ...
63251         * sysdeps/posix/nice.c: ... here.
63253         * sysdeps/unix/alarm.c: Moved ...
63254         * sysdeps/posix/alarm.c: ... here.
63256         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63258 2012-08-17  Jeff Law <law@redhat.com>
63260         * intl/Makefile (codeset_mo): New variable.
63261         ($(codeset_mo)): New target.
63262         (tst-codeset.out): Depend on that.  Remove explicit rule.
63263         (tst-gettext3.out, tst-gettext5.out): Likewise.
63264         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63265         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63266         * intl/tst-codeset.sh: Remove.
63267         * intl/tst-gettext3.sh: Likewise.
63268         * intl/tst-gettext5.sh: Likewise.
63270 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63272         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63273         * sysdeps/unix/syscalls.list: ... here.
63275         * sysdeps/posix/getaddrinfo.c
63276         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63277         (gaiconf_init, gaiconf_reload): Use them.
63278         [!_STATBUF_ST_NSEC]
63279         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63280         Define using time_t rather than struct timespec.
63282         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63283         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63284         Macros removed.
63285         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63286         [!NO_THREADS].
63287         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63288         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63289         Likewise.
63291         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63292         __libc_cleanup_push argument.
63294         * bits/param.h: New file.
63295         * misc/sys/param.h: New file.
63296         * include/sys/param.h: New file.
63297         * misc/Makefile (headers): Add bits/param.h.
63298         * sysdeps/generic/sys/param.h: File removed.
63299         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63300         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63301         * sysdeps/mach/hurd/bits/param.h: New file.
63302         * sysdeps/mach/hurd/sys/param.h: File removed.
63304         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63305         last change.
63307         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63308         [_IO_MTSAFE_IO].
63309         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63310         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63311         New macros.
63313         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63314         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63315         rather than -D_IO_MTSAFE_IO conditionally.
63316         * stdio-common/Makefile (CPPFLAGS): Likewise.
63317         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63318         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63319         Use $(libio-mtsafe).
63320         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63321         of -D_IO_MTSAFE_IO.
63322         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63323         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63324         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63325         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63326         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63327         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63328         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63329         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63330         (CFLAGS-fread_u_chk.c): Likewise.
63331         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63332         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63333         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63334         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63335         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63336         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63337         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63338         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63339         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63341         * libio/Makefile: Test [$(libc-reentrant) = yes]
63342         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63344         * Makeconfig
63345         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63346         * sysdeps/pthread/configure: File removed.
63347         * sysdeps/pthread/Makeconfig: New file.
63348         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63349         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63351 2012-08-16  Gary Benson  <gbenson@redhat.com>
63353         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63354         unmapping the first object in a namespace.
63356 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63358         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63359         (__internal_setnetgrent): ... this.  Add internal_function to
63360         definition.  Add libc_hidden_def.
63361         (setnetgrent): Update caller.
63362         (internal_endnetgrent): Renamed to ...
63363         (__internal_endnetgrent): ... this.  Add internal_function to
63364         definition.  Add libc_hidden_def.
63365         (endnetgrent): Update caller.
63366         (internal_getnetgrent_r): Renamed to ...
63367         (__internal_getnetgrent_r): ... this.  Add internal_function to
63368         definition.  Add libc_hidden_def.
63369         (__getnetgrent_r): Update caller.
63370         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63372 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63374         * stdlib/longlong.h: Update from GCC.
63376 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63378         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63379         on _QL, which is set by umul_ppmm but never used.
63380         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63381         variables, which are set by GMP macros but never used.
63382         * stdio-common/_itowa.c (_itowa): Likewise.
63383         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63384         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63386 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63388         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63389         struct La_sh_regs is not constant.
63390         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63391         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63392         and struct La_sparc64_regs are not constant.
63394 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63396         * sysdeps/unix/sysv/linux/kernel-features.h
63397         (__ASSUME_POSIX_TIMERS): Remove.
63398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63399         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63400         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63401         Make code unconditional.
63402         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63403         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63404         Make code unconditional.
63405         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63406         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63407         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63408         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63409         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63410         Make code unconditional.
63411         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63412         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63413         (__libc_missing_posix_timers): Remove.
63415 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63417         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63418         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63420         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63422         * elf/dl-sym.c: Include <stdlib.h>.
63424         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63425         constants, which avoids warnings in 32-bit builds.
63427         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63428         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63430         * misc/lseek.c: File moved to ...
63431         * io/lseek.c: ... here.
63433         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63435         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63436         shifting LEN more than 31 bits at once.
63438 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63440         [BZ #14195]
63441         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63442         segmentation fault for a case of two empty input strings.
63443         * string/test-strncasecmp.c (check1): Renamed to...
63444         (bz12205): ...this.
63445         (bz14195): Add new testcase for two empty input strings and N > 0.
63446         (test_main): Call new testcase, adapt for renamed function.
63448 2012-08-15  Andreas Jaeger  <aj@suse.de>
63450         [BZ #14090]
63451         * crypt/md5test2.c: New test, based on test supplied by Serge
63452         Belyshev <belyshev@depni.sinp.msu.ru>.
63453         * crypt/Makefile (xtests): Add md5test-giant..
63454         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63456 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63458         [BZ #14090]
63459         * crypt/md5.c (md5_process_block): Don't assume the buffer
63460         length is less than 2**32.
63461         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63462         length is less than 2**64.
63464 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63466         * string/str-two-way.h: Include <sys/param.h>.
63467         (MAX): Macro removed.
63469         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63470         Move #define and #undef of memmove to just before and after
63471         including <string.h>.
63473         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63474         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63475         and after including <string.h>.  Move declarations of
63476         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63477         to before #include "string/memmove.c".
63479         * include/dirent.h: Declare __getdirentries.
63481         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63482         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63484 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63486         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63487         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63488         * sysdeps/i386/configure: Regenerated.
63489         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63490         STABS_CURRENT_FILE, and STABS_FUN.
63491         (END): Remove call to STABS_FUN_END.
63492         (STABS_CURRENT_FILE1): Delete.
63493         (STABS_CURRENT_FILE): Likewise.
63494         (STABS_FUN): Likewise.
63495         (STABS_FUN_END): Likewise.
63496         (STABS_FUN2): Likewise.
63497         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63498         * sysdeps/x86_64/configure: Regenerated.
63500 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63502         * elf/dl-open.c: Include <atomic.h>.
63503         * elf/dl-lookup.c: Likewise.
63505 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63507         * sysdeps/unix/sysv/linux/kernel-features.h
63508         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63509         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63510         unconditionally.
63511         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63512         unconditionally.
63513         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63514         condition on __ASSUME_CLONE_THREAD_FLAGS.
63516 2012-08-14  Andreas Jaeger  <aj@suse.de>
63518         * sysdeps/i386/fpu/libm-test-ulps: Update.
63520 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63522         * include/atomic.h (atomic_exchange_and_add): Split into ...
63523         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63524         New atomic macros.
63526 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63530 2012-08-13  Jeff Law <law@redhat.com>
63532         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63533         null byte in the output string.
63535 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63537         * sysdeps/unix/sysv/linux/kernel-features.h
63538         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63539         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63540         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63541         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63542         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63543         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63544         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63546 2012-08-09  Jeff Law <law@redhat.com>
63548         [BZ #13939]
63549         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63550         When avoid_arena is set, don't retry in the that arena.  Pick the
63551         next one, whatever it might be.
63552         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63553         (arena_lock): Pass in new parameter to arena_get2.
63554         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63555         arena_get2.
63556         (__libc_malloc): Unify retrying after main arena failure with
63557         __libc_memalign version.
63558         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63560 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63562         [BZ #14166]
63563         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63564         to __redirect_strstr.
63565         (__strstr_sse42): Use typeof __redirect_strstr.
63566         (__strstr_ia32): Likewise.
63567         (__libc_strstr): New prototype.
63568         (strstr): Renamed to ...
63569         (__libc_strstr): This.
63570         (strstr): New strong alias of __libc_strstr.
63571         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63572         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63573         __redirect_time.
63574         Include <time.h>.
63575         (__libc_time): New prototype.
63576         (time_ifunc): Replace time with __libc_time.
63577         (time): New strong alias and hidden definition of __libc_time.
63578         (__GI_time): Remove strong alias.
63579         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63580         Include <stddef.h>.
63581         (memmove): Redefined to __redirect_memmove.
63582         (__memmove_sse2): Use typeof __redirect_memmove.
63583         (__memmove_ssse3): Likewise.
63584         (__memmove_ssse3_back): Likewise.
63585         (__libc_memmove): New prototype.
63586         (memmove): Renamed to ...
63587         (__libc_memmove): This.
63588         (memmove): New strong alias of __libc_memmove.
63590 2012-08-08  Mark Salter  <msalter@redhat.com>
63592         * elf/elf.h
63593         (R_MN10300_TLS_GD): Define.
63594         (R_MN10300_TLS_LD): Likewise.
63595         (R_MN10300_TLS_LDO): Likewise.
63596         (R_MN10300_TLS_GOTIE): Likewise.
63597         (R_MN10300_TLS_IE): Likewise.
63598         (R_MN10300_TLS_LE): Likewise.
63599         (R_MN10300_TLS_DTPMOD): Likewise.
63600         (R_MN10300_TLS_DTPOFF): Likewise.
63601         (R_MN10300_TLS_TPOFF): Likewise.
63602         (R_MN10300_SYM_DIFF): Likewise.
63603         (R_MN10300_ALIGN): Likewise.
63604         (R_MN10300_NUM): Update.
63606 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63609         Remove.
63611 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63613         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63615         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63616         sysdeps/unix -> sysdeps/posix move.
63617         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63619 2012-08-07      Allan McRae     <allan@archlinux.org>
63621         [BZ #14303]
63622         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63623         (SUNOS_CPP): Likewise.
63624         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63625         not found.
63626         (open_input): Call CPP using execvp.
63628 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63630         * sysdeps/unix/sysv/linux/kernel-features.h
63631         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63632         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63633         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63634         (__ASSUME_WAITID_SYSCALL): Likewise.
63635         * sysdeps/unix/sysv/linux/dl-execstack.c
63636         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63637         code unconditional.
63638         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63639         conditional code.
63640         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63641         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63642         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63643         code.
63644         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63645         unconditional.
63646         [__ASSUME_WAITID_SYSCALL]: Likewise.
63647         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63649 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63651         * sysdeps/unix/closedir.c: Renamed to ...
63652         * sysdeps/posix/closedir.c: ... here.
63653         * sysdeps/unix/dirfd.c: Renamed to ...
63654         * sysdeps/posix/dirfd.c: ... here.
63655         * sysdeps/unix/dirstream.h: Renamed to ...
63656         * sysdeps/posix/dirstream.h: ... here.
63657         * sysdeps/unix/fdopendir.c: Renamed to ...
63658         * sysdeps/posix/fdopendir.c: ... here.
63659         * sysdeps/unix/opendir.c: Renamed to ...
63660         * sysdeps/posix/opendir.c: ... here.
63661         * sysdeps/unix/readdir.c: Renamed to ...
63662         * sysdeps/posix/readdir.c: ... here.
63663         * sysdeps/unix/readdir_r.c: Renamed to ...
63664         * sysdeps/posix/readdir_r.c: ... here.
63665         * sysdeps/unix/rewinddir.c: Renamed to ...
63666         * sysdeps/posix/rewinddir.c: ... here.
63667         * sysdeps/unix/seekdir.c: Renamed to ...
63668         * sysdeps/posix/seekdir.c: ... here.
63669         * sysdeps/unix/telldir.c: Renamed to ...
63670         * sysdeps/posix/telldir.c: ... here.
63671         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63672         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63673         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63674         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63676         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63677         * bits/fcntl.h: ... here.
63679         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63680         not 0.
63681         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63682         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63683         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63684         (struct flock): Move l_start, l_len to the beginning.
63685         Use __pid_t for l_pid.
63686         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63687         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63688         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63689         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63690         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63691         [__USE_LARGEFILE64] (struct flock64): New type.
63692         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63694         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63695         * bits/dirent.h: ... here.
63697         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63698         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63700 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63703         Change from 2.6.0 to 2.6.16.
63704         * sysdeps/unix/sysv/linux/configure: Regenerated.
63705         * sysdeps/unix/sysv/linux/kernel-features.h
63706         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63707         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63708         version.
63709         (__ASSUME_UTIMES): Likewise.
63710         (__ASSUME_CLONE_STOPPED): Remove.
63711         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63712         architectures, not kernel version.
63713         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63714         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63715         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63716         (__ASSUME_WAITID_SYSCALL): Likewise.
63717         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63718         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63719         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63720         refer to older versions.
63722 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63724         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63725         Define alphasort64 as an alias.
63726         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63727         Define versionsort64 as an alias.
63728         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63729         Define scandir64 as an alias.
63730         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63731         Define scandirat64 as an alias.
63732         * dirent/alphasort64.c (alphasort64):
63733         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63734         * dirent/versionsort64.c: Likewise.
63735         * dirent/scandir64.c: Likewise.
63736         * dirent/scandirat64.c: Likewise.
63737         * sysdeps/wordsize-64/alphasort.c: File removed.
63738         * sysdeps/wordsize-64/alphasort64.c: File removed.
63739         * sysdeps/wordsize-64/scandir.c: File removed.
63740         * sysdeps/wordsize-64/scandir64.c: File removed.
63741         * sysdeps/wordsize-64/scandirat.c: File removed.
63742         * sysdeps/wordsize-64/scandirat64.c: File removed.
63743         * sysdeps/wordsize-64/versionsort.c: File removed.
63744         * sysdeps/wordsize-64/versionsort64.c: File removed.
63745         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63746         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63747         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63748         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63749         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63750         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63751         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63752         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63754         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63756         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63758         [defined __arch64__ || defined __sparcv9]
63759         (__INO_T_MATCHES_INO64_T): New macro.
63760         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63761         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63762         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63763         * sysdeps/unix/sysv/linux/bits/dirent.h
63764         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63765         (_DIRENT_MATCHES_DIRENT64): New macro.
63767         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63768         Define lockf64 as an alias.
63769         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63770         Define fseeko64 as an alias.
63771         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63772         Define ftello64 as an alias.
63773         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63774         Define _IO_fgetpos64 and fgetpos64 as aliases.
63775         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63776         Define _IO_fsetpos64 and fsetpos64 as aliases.
63777         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63778         Conditionalize body on this.
63779         * libio/fseeko64.c: Likewise.
63780         * libio/ftello64.c: Likewise.
63781         * libio/iofgetpos64.c: Likewise.
63782         * libio/iofsetpos64.c: Likewise.
63783         * sysdeps/wordsize-64/lockf.c: File removed.
63784         * sysdeps/wordsize-64/lockf64.c: File removed.
63785         * sysdeps/wordsize-64/fseeko.c: File removed.
63786         * sysdeps/wordsize-64/fseeko64.c: File removed.
63787         * sysdeps/wordsize-64/ftello.c: File removed.
63788         * sysdeps/wordsize-64/ftello64.c: File removed.
63789         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63790         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63791         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63792         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63793         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63794         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63795         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63796         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63798         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63801         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63804         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63805         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63806         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63808         [defined __arch64__ || defined __sparcv9]
63809         (__OFF_T_MATCHES_OFF64_T): New macro.
63810         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63811         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63813         (__OFF_T_MATCHES_OFF64_T): New macro.
63815 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63817         * stdlib/secure-getenv.c (__secure_getenv): Replace
63818         GLIBC_2_16 with GLIBC_2_17.
63820 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63823         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63825 2012-08-03  David S. Miller  <davem@davemloft.net>
63827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63829 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63832         Remove.
63833         (__ASSUME_CORRECT_SI_PID): Likewise.
63834         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63835         (__ASSUME_TMPFS_NAME): Likewise.
63836         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63837         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63838         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63839         (HAVE_AUX_SECURE): Make definition unconditional.
63840         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63841         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63843 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63845         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63846         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63847         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63848         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63849         __eloop_threshold instead of SYMLOOP_MAX.
63851         * sysdeps/generic/eloop-threshold.h: New file.
63852         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63853         of MAXSYMLINKS.
63854         * elf/chroot_canon.c (chroot_canon): Likewise.
63856 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63858         [BZ #13717]
63859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63860         Change to 2.6.0 everywhere.
63861         * sysdeps/unix/sysv/linux/configure: Regenerated.
63862         * sysdeps/unix/sysv/linux/kernel-features.h
63863         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63864         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63865         kernel versions.
63866         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63867         (__ASSUME_FUTEX_REQUEUE): Remove.
63868         (__ASSUME_STATFS64): Define unconditionally.
63869         (__ASSUME_AT_SECURE): Likewise.
63870         (__ASSUME_CORRECT_SI_PID): Likewise.
63871         (__ASSUME_TGKILL): Define without depending on kernel version for
63872         i386.
63873         (__ASSUME_UTIMES): Likewise.
63874         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63875         kernel version.
63876         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63877         (__ASSUME_TMPFS_NAME): Likewise.
63878         * README: Update reference to Linux kernel versions.
63880 2012-08-02  Marek Polacek  <polacek@redhat.com>
63882         [BZ# 14150]
63883         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63884         libc_cv_asm_type_prefix with %.
63885         * configure: Regenerated.
63886         * include/libc-symbols.h: Remove comment about
63887         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63888         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63889         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63890         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63891         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63892         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63893         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63894         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63895         * elf/tst-unique2mod1.c: Likewise.
63896         * elf/tst-unique1mod2.c: Likewise.
63897         * elf/tst-unique1mod1.c: Likewise.
63898         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63899         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63900         Replace ASM_TYPE_DIRECTIVE with .type.
63901         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63902         * sysdeps/i386/sysdep.h: Likewise.
63903         * sysdeps/x86_64/sysdep.h: Likewise.
63904         * sysdeps/sh/sysdep.h: Likewise.
63905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63906         Do not define ASM_TYPE_DIRECTIVE.
63907         * sysdeps/powerpc/sysdep.h: Likewise.
63908         * sysdeps/powerpc/powerpc32/sysdep.h:
63909         Replace ASM_TYPE_DIRECTIVE with .type.
63910         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63911         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63912         * sysdeps/i386/fpu/e_powf.S: Likewise.
63913         * sysdeps/i386/fpu/e_expl.S: Likewise.
63914         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63915         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63916         * sysdeps/i386/fpu/e_pow.S: Likewise.
63917         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63918         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63919         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63920         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63921         * sysdeps/i386/fpu/e_log2.S: Likewise.
63922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63923         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63924         * sysdeps/i386/fpu/e_powl.S: Likewise.
63925         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63926         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63927         * sysdeps/i386/fpu/e_logl.S: Likewise.
63928         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63929         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63930         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63931         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63932         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63933         * sysdeps/i386/fpu/e_log.S: Likewise.
63934         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63935         * sysdeps/i386/fpu/e_logf.S: Likewise.
63936         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63937         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63938         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63939         * sysdeps/i386/fpu/e_log10.S: Likewise.
63940         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63941         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63942         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63943         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63944         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63945         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63946         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63947         * sysdeps/i386/i686/strtok.S: Likewise.
63948         * sysdeps/i386/i386-mcount.S: Likewise.
63949         * sysdeps/i386/strtok.S: Likewise.
63950         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63951         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63953         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63954         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63955         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63956         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63957         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63958         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63959         * sysdeps/x86_64/_mcount.S: Likewise.
63960         * sysdeps/x86_64/strtok.S: Likewise.
63961         * sysdeps/sh/_mcount.S: Likewise.
63963 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63965         * libio/iofopen.c: Include <fcntl.h>.
63966         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63967         (_IO_fopen64, fopen64): Define as aliases.
63968         * libio/iofopen64.c: Include <fcntl.h>.
63969         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63970         Conditionalize body on this.
63971         * sysdeps/wordsize-64/iofopen.c: File removed.
63972         * sysdeps/wordsize-64/iofopen64.c: File removed.
63974 2012-08-01  Marek Polacek  <polacek@redhat.com>
63976         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63977         Use dlfcn directly instead of a variable.
63978         (binfmt-subdir): Do not define.
63979         (dlfcn): Likewise.
63981 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63984         Remove all definitions.
63985         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63986         <kernel-features.h>.
63987         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63988         (miss_F_GETOWN_EX): Remove all definitions.
63989         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63990         macro definition.
63991         [!__ASSUME_FCNTL64]: Remove conditional code.
63992         [__ASSUME_FCNTL64]: Make code unconditional.
63993         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63994         <kernel-features.h>.
63995         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63996         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63997         (lockf64) [__NR_fcntl64]: Make code unconditional.
63998         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64000         * sysdeps/unix/sysv/linux/kernel-features.h
64001         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64002         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64003         Make code unconditional.
64004         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64005         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64007         [__NR_vfork]: Make code unconditional.
64008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64011         [__NR_vfork]: Make code unconditional.
64012         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64013         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64015 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64017         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64018         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64020         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64021         Define mkstemp64 as an alias.
64022         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64023         Define mkstemps64 as an alias.
64024         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64025         Define mkostemp64 as an alias.
64026         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64027         Define mkostemps64 as an alias.
64028         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64029         Conditionalize body on this.
64030         * misc/mkostemp64.c: Likewise.
64031         * misc/mkostemps64.c: Likewise.
64032         * misc/mkstemps64.c: Likewise.
64033         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64034         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64035         * sysdeps/wordsize-64/mkostemp.c: File removed.
64036         * sysdeps/wordsize-64/mkstemp.c: File removed.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64038         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64040         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64042         [BZ #14138]
64043         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64044         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64045         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64046         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64048         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64049         compat_symbol macros from <shlib-compat.h> rather than the underlying
64050         default_symbol_version and symbol_version macros, so that DEFAULT
64051         lines in shlib-versions are respected.
64052         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64054 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64056         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64057         Declare with warn_unused_result.
64058         (setgid, setregid, setegid, setresgid): Likewise.
64059         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64060         Likewise.
64061         * WUR-REPORT: Remove set*id functions.
64063 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64065         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64067 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64069         [BZ #10191]
64070         * include/sys/socket.h (__libc_accept, __libc_accept4):
64071         Add attribute_hidden.
64072         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64074         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64075         use of PTR_MANGLE.
64076         * inet/getnetgrent_r.c (setup): Likewise.
64078         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64080 2012-07-31  David S. Miller  <davem@davemloft.net>
64082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64084 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64086         [BZ #13629]
64087         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64088         value between 1.0 and 2.0 and smaller part has absolute value less
64089         than 1.0.
64090         * math/s_clog10.c (__clog10): Likewise.
64091         * math/s_clog10f.c (__clog10f): Likewise.
64092         * math/s_clog10l.c (__clog10l): Likewise.
64093         * math/s_clogf.c (__clogf): Likewise.
64094         * math/s_clogl.c (__clogl): Likewise.
64095         * math/libm-test.inc (clog_test): Add more tests.
64096         (clog10_test): Likewise.
64097         * sysdeps/i386/fpu/libm-test-ulps: Update.
64098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64100 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64102         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64103         Exit with zero in case no suitable GID is found, and write a
64104         message to standard error.
64106 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64108         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64109         rather than to 1.
64110         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64111         (MAXPATHLEN): Removed.
64112         (NOGROUP, NODEV): New macros.
64113         (setbit, clrbit, isset, isclr): New macros.
64114         (howmany, roundup, powerof2): New macros.
64115         (DEV_BSIZE): New macro.
64117         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64118         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64120         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64121         definition on [!__NO_LONG_DOUBLE_MATH].
64123         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64124         PTR_MANGLE and PTR_DEMANGLE.
64126         * socket/accept4.c (accept4): Rename to __libc_accept4.
64127         Define accept4 as a weak alias.
64129         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64130         on [_DIRENT_HAVE_D_TYPE].
64131         * io/ftw.c (ftw_dir): Likewise.
64133         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64135         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64137         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64138         Use the BSD numbers rather than the arbitrary ones we had.
64139         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64140         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64141         (SIGXCPU, SIGXFSZ): New macros.
64142         (_NSIG): Now 32.
64144         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64145         initializer on [_LIBC_REENTRANT].
64147         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64148         definitions inside [_POSIX_MAPPED_FILES].
64150         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64152         * dirent/opendir.c: Include <fcntl.h>.
64154         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64155         (__libc_getspecific): Likewise.
64156         (__libc_key_create): Likewise.
64158         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64159         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64160         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64161         (tmpfile64): Define as alias.
64162         * sysdeps/wordsize-64/tmpfile.c: File removed.
64163         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64164         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64165         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64167         * stdio-common/vfscanf.c: Include <stdbool.h>.
64168         * nss/makedb.c: Likewise.
64169         * stdio-common/_i18n_number.h: Likewise.
64170         * argp/argp-help.c: Likewise.
64171         * posix/wordexp.c: Likewise.
64172         * sysdeps/posix/spawni.c: Likewise.
64173         * nss/nss_files/files-initgroups.c: Likewise.
64174         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64175         * nss/nss_files/files-initgroups.c: Likewise.
64176         * nss/nss_db/db-netgrp.c: Likewise.
64177         * nss/nss_db/db-initgroups.c: Likewise.
64178         * io/fchmodat.c: Include <sys/stat.h>.
64180         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64181         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64183         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64184         [HAVE_MMAP].
64186         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64187         Add multiple inclusion protection.
64189 2012-07-27  David S. Miller  <davem@davemloft.net>
64191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64193 2012-07-27  Gary Benson  <gbenson@redhat.com>
64195         [BZ #14298]
64196         * elf/rtld.c: Include <stap-probe.h>.
64197         (dl_main): Added static probes "init_start" and "init_complete".
64198         * elf/dl-load.c: Include <stap-probe.h>.
64199         (lose): Take new parameter "nsid".
64200         Added static probe "map_failed".
64201         (_dl_map_object_from_fd): Pass namespace id to lose.
64202         Added static probe "map_start".
64203         (open_verify): Pass namespace id to lose.
64204         * elf/dl-open.c: Include <stap-probe.h>.
64205         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64206         and "reloc_complete".
64207         * elf/dl-close.c: Include <stap-probe.h>.
64208         (_dl_close_worker): Added static probes "unmap_start" and
64209         "unmap_complete".
64210         * elf/rtld-debugger-interface.txt: New file documenting the above.
64212 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64214         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64215         rather than a string variable.
64216         * sunrpc/rpc_main.c (h_output): Likewise.
64217         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64219 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64221         * inet/check_native.c: New file.
64223 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64225         [BZ #13629]
64226         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64227         if larger part has absolute value 1.0.
64228         * math/s_clog10.c (__clog10): Likewise.
64229         * math/s_clog10f.c (__clog10f): Likewise.
64230         * math/s_clog10l.c (__clog10l): Likewise.
64231         * math/s_clogf.c (__clogf): Likewise.
64232         * math/s_clogl.c (__clogl): Likewise.
64233         * math/libm-test.inc (clog_test): Add more tests.
64234         (clog10_test): Likewise.
64235         * sysdeps/i386/fpu/libm-test-ulps: Update.
64236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64238         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64239         (pltexit): Likewise.
64240         (La_regs): Likewise.
64241         (La_retval): Likewise.
64242         (int_retval): Likewise.
64243         Update #error for removed macros to refer only to definitions in
64244         tst-audit.h.
64245         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64246         macro.
64247         (pltexit): Likewise.
64248         (La_regs): Likewise.
64249         (La_retval): Likewise.
64250         (int_retval): Likewise.
64251         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64252         macro.
64253         (pltexit): Likewise.
64254         (La_regs): Likewise.
64255         (La_retval): Likewise.
64256         (int_retval): Likewise.
64257         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64258         macro.
64259         (pltexit): Likewise.
64260         (La_regs): Likewise.
64261         (La_retval): Likewise.
64262         (int_retval): Likewise.
64263         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64264         macro.
64265         (pltexit): Likewise.
64266         (La_regs): Likewise.
64267         (La_retval): Likewise.
64268         (int_retval): Likewise.
64269         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64270         macro.
64271         (pltexit): Likewise.
64272         (La_regs): Likewise.
64273         (La_retval): Likewise.
64274         (int_retval): Likewise.
64275         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64276         macro.
64277         (pltexit): Likewise.
64278         (La_regs): Likewise.
64279         (La_retval): Likewise.
64280         (int_retval): Likewise.
64281         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64282         macro definitions in tst-audit.h.
64283         * sysdeps/i386/tst-audit.h: New file.
64284         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64285         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64286         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64287         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64288         * sysdeps/sh/tst-audit.h: Likewise.
64289         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64290         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64291         * sysdeps/x86_64/tst-audit.h: Likewise.
64293 2012-07-26  Andreas Jaeger  <aj@suse.de>
64295         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64296         ptrace.
64298         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64299         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64300         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64301         PTRACE_O_MASK.
64302         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64303         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64304         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64306         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64307         value.
64309         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64310         _sigsys.
64311         (si_call_addr, si_syscall, si_arch): Define new macro.
64312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64313         _sigsys.
64314         (si_call_addr, si_syscall, si_arch): Define new marcro.
64315         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64316         _sigsys.
64317         (si_call_addr, si_syscall, si_arch): Define new macro.
64318         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64319         _sigsys.
64320         (si_call_addr, si_syscall, si_arch): Define new macro.
64322 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64324         [BZ #13717]
64325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64326         Change to 2.4.21 where previously 2.4.1.
64327         * sysdeps/unix/sysv/linux/configure: Regenerated.
64328         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64329         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64330         Linux kernel version.
64331         (__ASSUME_STD_AUXV): Remove.
64332         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64333         kernel version.
64334         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64335         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64336         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64337         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64338         (__ASSUME_NETLINK_SUPPORT): Likewise.
64339         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64340         (__no_netlink_support): Remove conditional definition.
64341         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64342         Remove.
64343         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64344         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64345         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64346         (if_nameindex_ioctl): Remove.
64347         (if_nameindex_netlink): Do not handle __no_netlink_support.
64348         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64349         code.
64350         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64351         Remove conditional code.
64352         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64353         code.
64354         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64355         unconditional.
64356         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64357         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64358         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64359         Remove.
64360         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64361         [!__ASSUME_STD_AUXV]: Remove conditional code.
64362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64363         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64364         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64366         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64367         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64368         code.
64369         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64371         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64372         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64373         conditional code.
64374         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64376         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64377         code.
64378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64379         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64380         conditional code.
64381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64382         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64383         code unconditional.
64384         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64385         conditional code.
64386         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64387         unconditional.
64388         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64389         conditional code.
64390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64391         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64392         unconditional.
64393         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64394         conditional code.
64395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64396         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64397         code unconditional.
64398         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64399         conditional code.
64400         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64401         unconditional.
64402         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64403         conditional code.
64404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64405         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64406         code unconditional.
64407         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64408         conditional code.
64409         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64410         unconditional.
64411         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64412         conditional code.
64414 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64416         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64417         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64418         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64419         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64420         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64421         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64422         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64423         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64424         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64425         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64426         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64427         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64428         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64429         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64430         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64431         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64432         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64433         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64434         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64436         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64437         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64438         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64440 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64442         * Versions.def: Add GLIBC_2.17.
64443         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64444         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64445         Introduce __libc_secure_getenv.
64446         * stdlib/Versions (2.17): Add secure_getenv
64447         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64448         * stdlib/secure-getenv.c: Rename __secure_getenv to
64449         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64450         symbol __secure_getenv for GLIBC_2.0.
64451         * stdlib/tst-secure-getenv.c: New.
64452         * stdlib/Makefile (tests): Add testcase.
64453         * manual/startup.texi (Environment Access): Document
64454         secure_getenv.
64455         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64456         __libc_secure_getenv.
64457         * inet/ruserpass.c (ruserpass): Likewise.
64458         * malloc/mtrace.c (mtrace): Likewise.
64459         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64460         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64461         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64462         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64463         HAVE_SECURE_GETENV.
64464         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64465         __secure_getenv to __libc_secure_getenv.
64466         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64468         Likewise.
64469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64470         Likewise.
64471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64473         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64479 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64481         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64482         (struct La_i86_retval): Likewise.
64483         (struct La_x86_64_regs): Likewise.
64484         (struct La_x86_64_retval): Likewise.
64485         (struct La_x32_regs): Likewise.
64486         (struct La_x32_retval): Likewise.
64487         (struct La_ppc32_regs): Likewise.
64488         (struct La_ppc32_retval): Likewise.
64489         (struct La_ppc64_regs): Likewise.
64490         (struct La_ppc64_retval): Likewise.
64491         (struct La_sh_regs): Likewise.
64492         (struct La_sh_retval): Likewise.
64493         (struct La_s390_32_regs): Likewise.
64494         (struct La_s390_32_retval): Likewise.
64495         (struct La_s390_64_regs): Likewise.
64496         (struct La_s390_64_retval): Likewise.
64497         (struct La_sparc32_regs): Likewise.
64498         (struct La_sparc32_retval): Likewise.
64499         (struct La_sparc64_regs): Likewise.
64500         (struct La_sparc64_retval): Likewise.
64501         (struct audit_ifaces): Remove architecture-specific pltenter and
64502         pltexit members.
64503         * sysdeps/i386/ldsodefs.h: New file.
64504         * sysdeps/powerpc/ldsodefs.h: Likewise.
64505         * sysdeps/s390/ldsodefs.h: Likewise.
64506         * sysdeps/sh/ldsodefs.h: Likewise.
64507         * sysdeps/sparc/ldsodefs.h: Likewise.
64508         * sysdeps/x86_64/ldsodefs.h: Likewise.
64510 2012-07-25  Marek Polacek  <polacek@redhat.com>
64512         [BZ #6808]
64513         * math/libm-test.inc (yn_test): Add another test.
64514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64515         to ERANGE when the result is +-Inf.
64516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64517         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64518         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64519         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64521 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64523         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64524         equal to 0.
64525         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64526         clock_t.
64527         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64529 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64531         * configure.in <sysdeps resolving>: Correct printing
64532         Implies_before.
64533         * configure: Regenerate.
64535 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64537         * math/w_ilogb.c: Include <limits.h>.
64538         * math/w_ilogbl.c: Likewise.
64540 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64542         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64543         va_copy.  Document allowing for unavailable va_copy only as
64544         pre-C99 compatibility.
64545         * manual/string.texi (Copying and Concatenation): Use va_copy
64546         instead of __va_copy in concat example.
64548 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64550         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64551         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64552         it if not null.
64554         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64555         with O_NOLINK passed to __file_name_lookup.
64557         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64558         with O_NOLINK passed to __file_name_lookup.
64560         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64561         negative N or less than NGIDS.
64563         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64564         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64565         enough.  Use memcpy instead of strncpy.
64567 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64569         * elf/Makefile (check-data): Remove.
64570         (localplt.data): New vpath directive.
64571         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64572         instead of $(check-data).
64573         * scripts/data/localplt-generic.data: Move to ...
64574         * sysdeps/generic/localplt.data: ... here.
64575         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64576         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64577         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64579         ... here.
64580         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64582         ... here.
64583         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64585         ... here.
64586         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64588         ... here.
64589         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64591         ... here.
64592         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64594         ... here.
64596 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64598         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64599         PPC32 and PPC64 files.
64600         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64601         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64603 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64605         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64606         __makecontext_ret to ...
64607         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64608         ... here and call exit if uc_link is NULL.  New file.
64609         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64610         __makecontext_ret.S.
64611         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64612         __makecontext_ret to ...
64613         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64614         ... here and call exit if uc_link is NULL.  New file.
64615         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64616         __makecontext_ret.S.
64618 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64620         * elf/elf.h (R_390_IRELATIVE): New definition.
64621         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64622         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64623         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64625         (elf_machine_lazy_rel): Likewise.
64626         * sysdeps/s390/dl-irel.h: New file.
64627         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64628         * sysdeps/s390/s390-64/memset.S: New asm code.
64629         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64630         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64631         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64632         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64633         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64634         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64635         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64636         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64637         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64638         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64639         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64640         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64641         * sysdeps/s390/s390-32/memset.S: New asm code.
64642         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64644 2012-07-17  Marek Polacek  <polacek@redhat.com>
64646         [BZ #14349]
64647         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64648         * sysdeps/s390/s390-64/configure.in: Likewise.
64649         * sysdeps/sparc/configure.in: Likewise.
64650         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64651         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64652         * sysdeps/i386/configure.in: Likewise.
64653         * sysdeps/x86_64/configure.in: Likewise.
64654         * sysdeps/sh/configure.in: Likewise.
64655         * sysdeps/s390/s390-32/configure: Regenerated.
64656         * sysdeps/s390/s390-64/configure: Likewise.
64657         * sysdeps/x86_64/configure: Likewise.
64658         * sysdeps/sh/configure: Likewise.
64659         * sysdeps/powerpc/powerpc64/configure: Likewise.
64660         * sysdeps/powerpc/powerpc32/configure: Likewise.
64661         * sysdeps/sparc/configure: Likwise.
64662         * sysdeps/i386/configure: Likewise.
64664         * elf/dl-open.c: Comment fixes.
64666 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64668         * Makefile [CXX] (check-data): Remove.
64669         [CXX] (c++-types.data): New vpath directive.
64670         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64671         vpath.  Do not allow for C++ type data being missing.
64672         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64673         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64674         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64675         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64676         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64677         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64678         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64680         ... here.
64681         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64683         ... here.
64684         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64686         ... here.
64687         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64689         ... here.
64690         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64692         ... here.
64693         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64695         ... here.
64696         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64698         ... here.
64699         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64702         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64703         definitions to architecture-specific files.
64704         (TLS_IE): Likewise.
64705         (TLS_LD): Likewise.
64706         (TLS_GD): Likewise.
64707         * sysdeps/i386/tls-macros.h: New file.
64708         * sysdeps/powerpc/tls-macros.h: Likewise.
64709         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64710         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64711         * sysdeps/sh/tls-macros.h: Likewise.
64712         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64713         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64714         * sysdeps/x86_64/tls-macros.h: Likewise.
64716 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64718         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64719         zero value for regular exit case.
64721         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64722         (__start_context): Preserve zero value for regular exit case.
64724 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64725             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64727         * manual/setjmp.texi (setcontext): Clarify normal process
64728         termination when uc_link is the null pointer.
64729         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64730         exit call.
64732 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64734         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64735         preprocessor.  Test for each exception mask separately.
64737 2012-07-16  Andreas Jaeger  <aj@suse.de>
64739         * po/ru.po: Update from translation team.
64741 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64743         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64744         equal to 0.
64745         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64746         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64747         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64748         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64749         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64751 2012-07-13  Andreas Jaeger  <aj@suse.de>
64753         * po/fr.po: Update from translation team.
64755 2012-07-12  Marek Polacek  <polacek@redhat.com>
64757         [BZ #14173]
64758         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64759         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64760         loop condition.
64762 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64764         [BZ #13717]
64765         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64766         Change to 2.4.1 where previously 2.4.0.
64767         * sysdeps/unix/sysv/linux/configure: Regenerated.
64768         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64769         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64770         version.
64771         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64772         (__ASSUME_AT_CLKTCK): Remove.
64773         (__ASSUME_AT_PAGESIZE): Likewise.
64774         (__ASSUME_AT_XID): Likewise.
64775         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64776         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64777         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64778         unconditionally.
64779         (HAVE_AUX_PAGESIZE): Likewise.
64780         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64781         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64782         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64784 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64786         [BZ #14307]
64787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64788         the temporary buffer used to invoke __gethostbyname2_r,
64789         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64790         host_data / struct gaih_addrtuple.
64791         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64792         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64793         header file nss/nsswitch.h.
64794         * nss/nsswitch.h (global scope): Add definition of implementation
64795         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64796         resolv/nss_dns/dns-host.c).
64798 2012-07-11  Andreas Jaeger  <aj@suse.de>
64800         * po/fr.po: Update from translation team.
64802         * po/sv.po: Update from translation team
64803         * po/fr.po: Another update from translation team.
64805 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64807         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64808         for subnormals or multiply small sinh result by itself.
64809         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64812 2012-07-11  David S. Miller  <davem@davemloft.net>
64814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64816 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64818         [BZ #14347]
64819         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64820         (INTERNAL_MARK): Shift it here.
64822 2012-07-10  Marek Polacek  <polacek@redhat.com>
64824         [BZ #14151]
64825         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64826         libc_cv_asm_global_directive with .globl.
64827         * configure: Regenerated.
64828         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64829         with .globl.
64830         * sysdeps/i386/configure: Regenerated.
64831         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64832         with .globl.
64833         * sysdeps/x86_64/configure: Regenerated.
64834         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64835         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64836         * elf/tst-unique2mod2.c: Likewise.
64837         * elf/tst-unique2mod1.c: Likewise.
64838         * elf/tst-unique1mod2.c: Likewise.
64839         * elf/tst-unique1mod1.c: Likewise.
64840         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64841         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64842         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64843         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64844         * sysdeps/mach/sysdep.h: Likewise.
64845         * sysdeps/i386/sysdep.h: Likewise.
64846         * sysdeps/i386/i386-mcount.S: Likewise.
64847         * sysdeps/x86_64/_mcount.S: Likewise.
64848         * sysdeps/x86_64/sysdep.h: Likewise.
64849         * sysdeps/sh/_mcount.S: Likewise.
64850         * sysdeps/sh/sysdep.h: Likewise.
64851         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64852         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64853         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64854         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64855         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64856         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64857         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64858         * locale/localeinfo.h: Likewise.
64859         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64860         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64862 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64864         [BZ #14336]
64865         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64866         system".
64867         * manual/message.texi (The Uniforum approach): Likewise.
64868         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64869         (glibc iconv Implementation): Likewise.
64871 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64873         [BZ #14337]
64874         * math/s_clog.c (__clog): Avoid scaling a value down where that
64875         could result in underflow.
64876         * math/s_clog10.c (__clog10): Likewise.
64877         * math/s_clog10f.c (__clog10f): Likewise.
64878         * math/s_clog10l.c (__clog10l): Likewise.
64879         * math/s_clogf.c (__clogf): Likewise.
64880         * math/s_clogl.c (__clogl): Likewise.
64881         * math/libm-test.inc (clog_test): Add more tests.
64882         (clog10_test): Likewise.
64883         * sysdeps/i386/fpu/libm-test-ulps: Update.
64884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64886 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64888         [BZ #14283]
64889         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64890         by 7 not 8 to examine high bit of fractional part.
64892         [BZ #14042]
64893         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64894         for call to __mcount_internal.
64895         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64896         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64897         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64899 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64901         [BZ #14154]
64902         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64903         approximation for values within 0x1p-13f of an odd multiple of
64904         pi/4.
64905         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64906         exception.  Add more tests.
64907         * sysdeps/i386/fpu/libm-test-ulps: Update.
64909         [BZ #6778]
64910         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64911         inputs and return -1 for them.  Do not check for +Inf in case not
64912         reachable for +Inf.
64913         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64914         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64915         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64916         and return -1 for them.  Do not check for +Inf in case not
64917         reachable for +Inf.
64918         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64919         define.
64920         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64921         and return -1 for them.  Do not check for +Inf in case not
64922         reachable for +Inf.
64923         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64924         spurious underflow.
64925         * sysdeps/i386/fpu/libm-test-ulps: Update.
64926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64928 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64930         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64932 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64934         [BZ #14157]
64935         [BZ #14331]
64936         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64937         could result in spurious underflow.  Scale down values above
64938         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64939         * math/s_csqrtf.c (__csqrtf): Likewise.
64940         * math/s_csqrtl.c (__csqrtl): Likewise.
64941         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64942         spurious underflow.
64943         * sysdeps/i386/fpu/libm-test-ulps: Update.
64944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64946 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64948         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64949         xopen-msg.sed.
64950         * catgets/xopen-msg.awk: New file.
64951         * catgets/xopen-msg.sed: Removed.
64953         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64954         po2text.sed.
64955         * intl/po2test.awk: New file.
64956         * intl/po2test.sed: Removed.
64958 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64960         [BZ #14328]
64961         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64962         or multiply small sinh result by itself.
64963         * math/s_ctanf.c (__ctanf): Likewise.
64964         * math/s_ctanh.c (__ctanh): Likewise.
64965         * math/s_ctanhf.c (__ctanhf): Likewise.
64966         * math/s_ctanhl.c (__ctanhl): Likewise.
64967         * math/s_ctanl.c (__ctanl): Likewise.
64968         * math/libm-test.inc (ctan_test_tonearest): New function.
64969         (ctan_test_towardzero): Likewise.
64970         (ctan_test_downward): Likewise.
64971         (ctan_test_upward): Likewise.
64972         (ctanh_test_tonearest): Likewise.
64973         (ctanh_test_towardzero): Likewise.
64974         (ctanh_test_downward): Likewise.
64975         (ctanh_test_upward): Likewise.
64976         (main): Call these new functions.
64977         * sysdeps/i386/fpu/libm-test-ulps: Update.
64978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64980 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64982         * .gitignore: Delete /ports entry.
64984 2012-07-03  Andreas Jaeger  <aj@suse.de>
64986         * po/bg.po: Update from translation team.
64987         * po/cs.po: Likewise.
64988         * po/de.po: Likewise.
64989         * po/hr.po: Likewise.
64990         * po/nl.pl: Likewise.
64991         * po/pl.po: Likewise.
64992         * po/vi.po: Likewise.
64994 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64996         * Makeconfig [!+link] (+link-before-libc): New variable.
64997         [!+link] (+link-after-libc): Likewise.
64998         [!+link] (+link-tests): Likewise.
64999         [!+link] (+link): Define in terms of $(+link-before-libc) and
65000         $(+link-after-libc).
65001         [!+link-static] (+link-static-before-libc): New variable.
65002         [!+link-static] (+link-static-after-libc): Likewise.
65003         [!+link-static] (+link-static-tests): Likewise.
65004         [!+link-static] (+link-static): Define in terms of
65005         $(+link-static-before-libc) and $(+link-static-after-libc).
65006         [build-shared] (link-libc-before-gnulib): New variable.
65007         [build-shared] (link-libc-tests): Likewise.
65008         [build-shared] (link-libc): Define in terms of
65009         $(link-libc-before-gnulib).
65010         [!build-shared] (link-libc-tests): New variable.
65011         (link-libc-static-tests): New variable.
65012         [!gnulib] (gnulib-arch): New variable.
65013         [!gnulib] (gnulib-tests): Likewise.
65014         [!gnulib] (static-gnulib-arch): Likewise.
65015         [!gnulib] (static-gnulib-tests): Likewise.
65016         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65017         Define with "=" instead of ":=".
65018         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65019         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65020         * Rules (binaries-all-notests): New variable.
65021         (binaries-all-tests): Likewise.
65022         (binaries-static-notests): Likewise.
65023         (binaries-static-tests): Likewise.
65024         (binaries-all): Define using $(binaries-all-notests) and
65025         $(binaries-all-tests).
65026         (binaries-static): Define using $(binaries-static-notests) and
65027         $(binaries-static-tests).
65028         (binaries-shared-tests): New variable.
65029         (binaries-shared-notests): Likewise.
65030         (binaries-shared): Remove variable.
65031         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65032         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65033         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65034         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65035         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65036         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65037         * elf/Makefile (sln-modules): New variable.
65038         (extra-objs): Add $(sln-modules:=.o).
65039         (ldconfig-modules): Add static-stubs.
65040         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65041         * elf/static-stubs.c: New file.
65043         [BZ #14283]
65044         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65045         by 7 not 8 to examine high bit of fractional part.  Use volatile
65046         variables when splitting into final array of floats if
65047         __FLT_EVAL_METHOD__ != 0.
65048         * math/libm-test.inc (cos_test): Add another test.
65049         (sin_test): Likewise.
65050         * sysdeps/i386/fpu/libm-test-ulps: Update.
65052         [BZ #14273]
65053         * math/libm-test.inc (cosh_test): Add more tests.
65055         * version.h (RELEASE): Set to "development".
65056         (VERSION): Set to "2.16.90".
65058 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65060         * NEWS: Update copyright. Remove last-updated date.
65061         Mention math library bug fixes and timezone data changes.
65062         * README: Mention GNU/Hurd, x32, and HPPA support status.
65064 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65066         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65068 2012-06-27  Andreas Jaeger  <aj@suse.de>
65070         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65072 2012-06-25  Andreas Jaeger  <aj@suse.de>
65074         * sysdeps/s390/fpu/libm-test-ulps: Update.
65076 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65077             Thomas Schwinge  <thomas@codesourcery.com>
65079         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65080         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65081         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65082         fanotify_mark.
65084 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65086         * sysdeps/mach/start.c: Remove file.
65087         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65088         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65089         * sysdeps/sh/init-first.c: Likewise.
65091         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65092         registers for frame unwinding purposes, add CFI directives.
65093         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65094         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65095         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65096         Likewise.
65098         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65099         __fortify_fail returning.
65100         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65102         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65103         sysdeps/sh/____longjmp_chk.S.
65104         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65105         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65106         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65107         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65109         * sysdeps/sh/abort-instr.h: New file.
65110         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65111         process in case exit returns.
65113         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65114         initialize the GOT register before use.
65116         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65117         calculation of ARGC > 4.
65119         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65120         meaningful names to some local labels.
65122 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65123             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65125         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65126         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65127         (__arch_compare_and_exchange_val_16_acq): Likewise.
65128         (__arch_compare_and_exchange_val_32_acq): Likewise.
65129         (atomic_exchange_and_add): Fix gUSA sequence.
65130         (atomic_add): Likewise.
65131         (atomic_add_negative): Likewise.
65132         (atomic_add_zero): Likewise.
65133         (atomic_bit_test_set): Likewise.
65135 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65137         [BZ #13579]
65138         * include/link.h (struct link_map): Add l_free_initfini.
65139         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65140         l_initfini.
65141         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65142         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65143         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65144         set.
65146 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65148         * configure.in: Use AC_LANG_SOURCE.
65149         * configure: Regenerate.
65151 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65153         * configure.in (libc_cv_localstatedir): New substituted variable.
65154         * configure: Regenerated.
65155         * config.make.in (localstatedir): New variable, substituted from
65156         libc_cv_localstatedir.
65157         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65158         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65159         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65160         * sysdeps/gnu/configure: Regenerated.
65162 2012-06-21  Jeff Law  <law@redhat.com>
65164         [BZ #14277]
65165         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65166         free.  Simplify list management for _LIBC case.
65168 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65170         [BZ #14273]
65171         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65172         Clear sign bit of 64-bit integer value before comparing against
65173         overflow value.
65175         * sysdeps/mach/configure: Regenerated.
65177 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65179         [BZ #14278]
65180         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65182 2012-06-21  Jeff Law  <law@redhat.com>
65184         [BZ #13882]
65185         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65186         uint16_t for elements in the "seen" array to avoid char overflows.
65187         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65188         * elf/dl-open.c (dl_open_worker): Likewise.
65190 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65192         * scripts/list-sources.sh: Scan PORTS for translations.
65193         * po/libc.pot: Regenerated.
65195 2012-06-21  Andreas Jaeger  <aj@suse.de>
65197         [BZ #12194]
65198         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65199         warning.
65200         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65201         * bits/byteswap-16.h (__bswap_16): Likewise.
65202         * bits/byteswap.h (__bswap_constant_16): Likewise.
65204 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65206         [BZ #14117]
65207         * sysdeps/i386/fpu_control.h: Removed.
65208         * sysdeps/x86_64/fpu_control.h: Moved to ...
65209         * sysdeps/x86/fpu_control.h: Here.
65211         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65212         (_FPU_SETCW): Likewise.
65214 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65216         [BZ #14117]
65217         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65218         * sysdeps/x86/fpu/bits/mathinline.h: This.
65219         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65221         [BZ #14050]
65222         [BZ #14117]
65223         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65224         functions if __x86_64__ is defined.
65226 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65228         * string/endian.h: Add !__ASSEMBLER__ condition for including
65229         conversion interfaces.
65231 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65233         [BZ #14241]
65234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65235         of ABS(x) in calculating zero to negative powers other than odd
65236         integers.
65237         * math/libm-test.inc (pow_test): Add more tests.
65239 2012-06-15  Andreas Jaeger  <aj@suse.de>
65241         * manual/contrib.texi (Contributors): Update entry of Liubov
65242         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65243         Machado Filho.
65245 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65247         * string/string.h: Add __wur to GNU version of strerror_r.
65249 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65251         [BZ #14229]
65252         * string/Makefile (tests): Add tst-strtok_r.
65253         * string/tst-strtok_r.c: New file.
65254         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65255         RAX_LP/RDX_LP on SAVE_PTR.
65257 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65259         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65261 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65263         * libm_test.inc (csqrt_test): Allow more spurious underflow
65264         exceptions.
65265         (j0_test): Likewise.
65266         (j1_test): Likewise.
65267         (y0_test): Likewise.
65268         (y1_test): Likewise.
65270 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65272         * po/Makefile (libc.pot): Use UTF-8 charset.
65274 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65276         [BZ #14210]
65277         Suppress sign-conversion warning from FD_SET.
65278         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65279         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65280         not unsigned long int.
65281         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65283 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65285         [BZ #14050]
65286         [BZ #14117]
65287         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65288         __extern_always_inline instead of __extern_inline.
65289         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65290         (__signbit): Likewise.
65291         (__signbitl): Support C++ namespace.
65292         (lrintf): New inline function.
65293         (lrint): Likewise.
65294         (llrintf): Likewise.
65295         (llrint): Likewise.
65296         (fmaxf): Likewise.
65297         (fmax): Likewise.
65298         (fminf): Likewise.
65299         (fmin): Likewise.
65300         (rint): Likewise.
65301         (rintf): Likewise.
65302         (ceil): Likewise.
65303         (ceilf): Likewise.
65304         (floor): Likewise.
65305         (floorf): Likewise.
65306         (nearbyint): Likewise.
65307         (nearbyintf): Likewise.
65309 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65311         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65312         non-default versions.
65314 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65316         [BZ #14218]
65317         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65319 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65321         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65322         (FE_UPWARD, FE_DOWNWARD): Don't define.
65323         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65324         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65326         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65327         reading it.
65328         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65329         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65331 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65333         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65335         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65336         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65338 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65340         [BZ #14117]
65341         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65342         * sysdeps/i386/fpu/Implies: New file.
65343         * sysdeps/x86_64/fpu/Implies: Likewise.
65344         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65345         * sysdeps/x86/fpu/bits/fenv.h: This.
65347         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65348         __SSE_MATH__.
65350 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65352         [BZ #14134]
65353         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65354         character 0xffff that matches the last element of the
65355         conversion table.
65357 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65359         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65360         fmodl commit.
65362 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65365         values higher than 25.6283.
65367 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65369         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65370         subnormal exponent extraction and add some __builtin_expect.
65371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65372         Fix for subnormal mantissa calculation.
65374 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65376         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65377         cpu2 is -1 and errno is not ENOSYS.
65379 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65381         [BZ #14117]
65382         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65383         * sysdeps/x86/bits/string.h: This.
65384         * sysdeps/x86_64/bits/string.h: Removed.
65386         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65387         if not compiling for x86-64, but compiling for >= i486.
65389         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65390         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65392         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65393         New macro from Linux kernel 3.4.0.
65394         (FP_XSTATE_MAGIC2): Likewise.
65395         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65396         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65397         (struct _fpx_sw_bytes): New struct.
65398         (struct _xsave_hdr): Likewise.
65399         (struct _ymmh_state): Likewise.
65400         (struct _xstate): Likewise.
65402         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65403         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65404         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65405         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65406         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65407         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65409         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65410         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65411         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65412         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65413         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65414         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65416 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65418         [BZ #13743]
65419         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65420         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65421         (sysdep_headers): Include sys/platform/ppc.h.
65422         * sysdeps/powerpc/test-gettimebase.c: Test for
65423         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65424         * manual/Makefile (appendices): Include platform.texi.
65425         * manual/contrib.texi (Contributors): Update @node pointers.
65426         * manual/maint.texi (Maintenance): Likewise.
65427         (Platform): New node.
65428         * manual/platform.texi: New file.  Document the new features.
65430 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65431             Jakub Jelinek  <jakub@redhat.com>
65433         [BZ #14188]
65434         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65435         where __builtin_expect is unavailable.
65437 2012-06-03  David S. Miller  <davem@davemloft.net>
65439         * stdlib/longlong.h: Updated from GCC.
65441 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65443         [BZ #14042]
65444         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65445         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65446         __mcount_internal.
65447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65448         (GLIBC_2.16): Likewise.
65450 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65452         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65454 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65457         (default-abi): New variable.
65458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65459         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65460         variable.
65461         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65462         Likewise.
65463         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65464         Likewise.
65465         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65466         Likewise.
65468         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65469         definition.  Document in comment.
65471 2012-06-01  David S. Miller  <davem@davemloft.net>
65473         * stdlib/longlong.h: Updated from GCC.
65475 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65477         [BZ #14117]
65478         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65479         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65480         sys/debugreg.h sys/io.h here.
65481         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65482         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65483         sys/io.h.
65484         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65485         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65486         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65487         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65488         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65489         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65491         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65492         Define only if __x86_64__ is defined.
65494 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65496         [BZ #14048]
65497         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65498         Use int64_t for variable i.
65499         * math/libm-test.inc (fmod_test): Add more tests.
65501         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65502         z computation is not scheduled after fetestexcept.
65503         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65504         Use math_force_eval instead of asm to ensure calculation scheduled
65505         before exception test.
65506         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65507         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65509 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65512         computation is not scheduled after fetestexcept.
65514 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65516         [BZ #14117]
65517         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65518         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65520 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65522         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65523         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65525 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65527         [BZ #14117]
65528         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65529         <bits/wordsize.h>.
65530         (__WCHAR_MIN): Support __WORDSIZE == 64.
65531         (__WCHAR_MAX): Likewise.
65533         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65534         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65536         [BZ #14183]
65537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65538         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65540         [BZ #14117]
65541         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65542         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65544         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65545         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65547         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65548         Defined to 1 if __x86_64__ isn't defined.
65549         (_STAT_VER_LINUX_OLD): New.
65550         (st_atime): Remove duplicate.
65551         (st_mtime): Likewise.
65552         (st_ctime): Likewise.
65554 2012-05-31  David S. Miller  <davem@davemloft.net>
65556         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65557         entries.
65559 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65561         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65562         gen-libm-test.pl.
65564         [BZ #14132]
65565         * elf/dl-reloc.c: Include <_itoa.h>.
65566         (_dl_reloc_bad_type): Remove use of INTUSE.
65567         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65568         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65569         * stdio-common/psiginfo.c (psiginfo): Likewise.
65570         * stdio-common/psignal.c (psignal): Likewise.
65571         * string/strsignal.c (strsignal): Likewise.
65572         * include/signal.h (_sys_siglist): Declare hidden proto.
65573         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65574         INTVARDEF with libc_hidden_data_def.
65575         * stdio-common/itoa-udigits.c: Likewise.
65576         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65577         (_itoa_lower_digits_internal): Remove declaration.
65578         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65579         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65580         (_sys_sigabbrev_internal): Remove aliases.
65581         (_sys_siglist): Define hidden alias.
65583 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65586         bits/sysctl.h.
65588 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65590         [BZ #14117]
65591         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65592         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65594         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65595         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65596         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65597         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65598         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65599         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65601         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65602         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65603         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65605         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65606         with __addr.
65607         (insw): Likewise.
65608         (insl): Likewise.
65609         (outsb): Likewise.
65610         (outsw): Likewise.
65611         (outsl): Likewise.
65613         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65614         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65615         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65617         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65618         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65619         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65620         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65621         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65622         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65624         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65625         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65627         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65628         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65630         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65631         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65634         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65635         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65636         to ...
65637         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65639         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65640         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65641         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65643         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65644         for x86-64.
65645         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65647 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65649         * math/math.h (M_El): Use two more decimal places.
65650         (M_LOG2El): Likewise.
65651         (M_LOG10El): Likewise.
65652         (M_LN2l): Likewise.
65653         (M_LN10l): Likewise.
65654         (M_PIl): Likewise.
65655         (M_PI_2l): Likewise.
65656         (M_PI_4l): Likewise.
65657         (M_1_PIl): Likewise.
65658         (M_2_PIl): Likewise.
65659         (M_2_SQRTPIl): Likewise.
65660         (M_SQRT2l): Likewise.
65661         (M_SQRT1_2l): Likewise.
65663 2012-05-31  David S. Miller  <davem@davemloft.net>
65665         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65666         values between float registers.
65667         * sysdeps/sparc/sparc64/memset.S: Likewise.
65668         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65670 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65672         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65673         -D_FORTIFY_SOURCE=1.
65674         (CPPFLAGS-tst-longjmp_chk.c): Define.
65675         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65676         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65677         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65678         CFLAGS-tst-wchar-h.c.
65680 2012-05-31  Marek Polacek  <polacek@redhat.com>
65682         [BZ #14132]
65683         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65684         __endmntent_internal): Remove declaration.
65685         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65686         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65687         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65689 2012-05-30  David S. Miller  <davem@davemloft.net>
65691         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65692         (___Q_simulate_exceptions): Use real FP ops rather than writing
65693         into the %fsr.
65694         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65695         Likewise.
65697 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65699         [BZ #14117]
65700         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65701         * sysdeps/x86/bits/xtitypes.h: This.
65703         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65704         * sysdeps/x86/bits/wordsize.h: This.
65706         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65707         * sysdeps/x86/bits/huge_vall.h: This.
65709         * sysdeps/i386/bits/select.h: Removed.
65710         * sysdeps/x86_64/bits/select.h: Renamed to ...
65711         * sysdeps/x86/bits/select.h: This.
65713         * sysdeps/i386/bits/setjmp.h: Removed.
65714         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65715         * sysdeps/x86/bits/setjmp.h: This.
65717         * sysdeps/i386/bits/mathdef.h: Removed.
65718         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65719         * sysdeps/x86/bits/mathdef.h: This.
65721 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65723         [BZ #14132]
65724         * include/sys/socket.h (__connect_internal)
65725         (__libc_sa_len_internal): Remove declaration.
65726         (__connect, __libc_sa_len): Declare hidden_proto.
65727         (SA_LEN): Remove use of INTUSE.
65728         * socket/connect.c: Add libc_hidden_def.
65729         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65730         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65731         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65732         alias.
65733         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65734         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65735         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65736         of adding _internal alias.
65738 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65740         [BZ #14117]
65741         * sysdeps/i386/bits/link.h: Removed.
65742         * sysdeps/i386/bits/linkmap.h: Likewise.
65743         * sysdeps/x86_64/bits/link.h: Renamed to ...
65744         * sysdeps/x86/bits/link.h: This.
65745         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65746         * sysdeps/x86/bits/linkmap.h: This.
65748         * sysdeps/i386/bits/endian.h: Removed.
65749         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65750         * sysdeps/x86/bits/endian.h: This.
65752         * sysdeps/i386/bits/byteswap.h: Removed.
65753         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65754         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65755         * sysdeps/x86/bits/byteswap.h: This.
65756         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65757         * sysdeps/x86/bits/byteswap-16.h: This.
65758         * sysdeps/i386/Implies: Add x86.
65759         * sysdeps/x86_64/Implies: Likewise.
65761 2012-05-30  David S. Miller  <davem@davemloft.net>
65763         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65764         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65765         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65766         (FP_TRAPPING_EXCEPTIONS): Define.
65767         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65768         (FP_TRAPPING_EXCEPTIONS): Define.
65769         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65770         subnormals only when inexact has been signalled or underflow
65771         exceptions are enabled.
65772         (_FP_PACK_CANONICAL): Likewise.
65774 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65776         [BZ #14183]
65777         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65778         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65780 2012-05-30  Richard Henderson  <rth@twiddle.net>
65782         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65783         with #ifndef NOT_IN_libc.
65785         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65786         marked to avoid plt entry.
65788 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65790         [BZ #14112]
65791         * Makeconfig (default-abi): New macro.
65792         (abi-includes): Likewise.
65793         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65794         $(abi-$(default-abi)-lib-soname) for soname if defined.
65795         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65796         abi-variants.
65797         * Makefile (installed-stubs): Likewise.
65798         * include/stubs-biarch.h: Removed.
65799         * scripts/lib-names.awk: Only handle one library at a time.
65800         * scripts/soversions.awk: Remove WORDSIZE support.
65801         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65802         entries.
65803         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65804         Removed.
65805         (syscall-list-default-condition): Likewise.
65806         (syscall-list-default-condition): Likewise.
65807         (syscall-list-includes): Likewise.
65808         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65809         syscall-list-* with abi-*.  Handle undefined abi-variants.
65810         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65811         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65812         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65813         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65814         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65815         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65816         Removed.
65817         (syscall-list-32-options): Likewise.
65818         (syscall-list-32-condition): Likewise.
65819         (syscall-list-64-options): Likewise.
65820         (syscall-list-64-condition): Likewise.
65821         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65822         macro.
65823         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65824         Renamed to ...
65825         (abi-*): This.
65826         (abi-64-ld-soname): New macro.
65827         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65828         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65829         Renamed to ...
65830         (abi-*): This.
65831         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65832         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65834 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65836         * sysdeps/unix/sysv/linux/kernel-features.h
65837         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65838         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65839         include <kernel-features.h>.
65840         [!__NR_ftruncate64]: Remove conditional code.
65841         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65842         [__NR_ftruncate64]: Make code unconditional.
65843         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65844         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65845         include <kernel-features.h>.
65846         [!__NR_ftruncate64]: Remove conditional code.
65847         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65848         [__NR_ftruncate64]: Make code unconditional.
65849         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65851         include <kernel-features.h>.
65852         [!__NR_ftruncate64]: Remove conditional code.
65853         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65854         [__NR_ftruncate64]: Make code unconditional.
65855         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65857         include <kernel-features.h>.
65858         [!__NR_ftruncate64]: Remove conditional code.
65859         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65860         [__NR_ftruncate64]: Make code unconditional.
65861         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65863         * configure.in (libc_cv_fpie): Weaken to a compile test using
65864         LIBC_TRY_CC_OPTION.
65865         * configure: Regenerated.
65867 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65873         Refreshed.
65874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65880         Refreshed.
65882 2012-05-27  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65885         (___Q_zero): New.
65886         (__Q_simulate_exceptions): Return void.  Change to simulate
65887         exceptions by writing into the %fsr.
65888         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65889         (__Qp_handle_exceptions): Likewise.
65890         (numbers): Delete.
65891         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65892         __Qp_handle_exceptions.
65893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65894         __Qp_handle_exceptions.
65895         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65896         as unused and give dummy FP_RND_NEAREST initializer.
65897         (FP_INHIBIT_RESULTS): Define.
65898         (___Q_simulate_exceptions): Update declaration.
65899         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65900         formatting.
65901         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65902         as unused and give dummy FP_RND_NEAREST initializer.
65903         (__Qp_handle_exceptions): Update declaration.
65904         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65905         formatting.
65907 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65909         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65910         the temporary FPU control word.
65911         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65912         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65913         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65914         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65915         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65916         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65917         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65918         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65919         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65920         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65921         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65923 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65925         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65926         fields.
65928 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65930         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65931         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65932         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65933         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65934         Likewise.
65935         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65936         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65937         Likewise.
65939 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65941         * po/h.po: Update from translation team.
65943 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65945         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65947         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65948         handling of denormals.
65949         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65950         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65951         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65952         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65954         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65956         Likewise.
65958 2012-05-26  Marek Polacek  <polacek@redhat.com>
65960         [BZ #14152]
65961         * math/libm-test.inc (fma_test): Don't always expect underflow
65962         exception.
65964 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65966         [BZ #12416]
65967         * elf/tst-execstack.c: Include stackinfo.h.
65968         (do_test): Adjust test case to ensure that pthread_getattr_np
65969         behaviour remains the same after marking stack executable.
65971 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65973         * sysdeps/unix/sysv/linux/kernel-features.h
65974         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65975         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65976         kernel-features.h.
65977         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65978         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65979         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65980         kernel-features.h.
65981         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65982         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65984 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65986         * configure.in: Define the default includes to being none.
65987         * configure: Regenerated.
65989 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65991         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65992         * sysdeps/x86_64/setjmp.S: Likewise.
65993         * sysdeps/i386/bsd-setjmp.S: Likewise.
65994         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65995         * sysdeps/i386/setjmp.S: Likewise.
65996         * sysdeps/i386/__longjmp.S: Likewise.
65997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65998         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66000         * include/stap-probe.h: New file.
66001         * configure.in: Handle --enable-systemtap.
66002         * configure: Regenerated.
66003         * config.h.in (USE_STAP_PROBE): New #undef.
66004         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66005         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66006         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66008 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66010         [BZ #13717]
66011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66012         to 2.4.0 where earlier.
66013         * sysdeps/unix/sysv/linux/configure: Regenerated.
66014         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66015         <kernel-features.h>.
66016         [__ASSUME_32BITUIDS]: Make code unconditional.
66017         [!__ASSUME_32BITUIDS]: Remove conditional code.
66018         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66019         <kernel-features.h>.
66020         [__ASSUME_32BITUIDS]: Make code unconditional.
66021         [!__ASSUME_32BITUIDS]: Remove conditional code.
66022         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66023         [__ASSUME_32BITUIDS]: Make code unconditional.
66024         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66025         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66026         <kernel-features.h>.
66027         [__ASSUME_32BITUIDS]: Make code unconditional.
66028         [!__ASSUME_32BITUIDS]: Remove conditional code.
66029         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66030         <kernel-features.h>.
66031         [__ASSUME_32BITUIDS]: Make code unconditional.
66032         [!__ASSUME_32BITUIDS]: Remove conditional code.
66033         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66034         <kernel-features.h>.
66035         [__ASSUME_32BITUIDS]: Make code unconditional.
66036         [!__ASSUME_32BITUIDS]: Remove conditional code.
66037         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66038         <kernel-features.h>.
66039         [__ASSUME_32BITUIDS]: Make code unconditional.
66040         [!__ASSUME_32BITUIDS]: Remove conditional code.
66041         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66042         <kernel-features.h>.
66043         [__ASSUME_32BITUIDS]: Make code unconditional.
66044         [!__ASSUME_32BITUIDS]: Remove conditional code.
66045         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66046         <kernel-features.h>.
66047         [__ASSUME_32BITUIDS]: Make code unconditional.
66048         [!__ASSUME_32BITUIDS]: Remove conditional code.
66049         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66050         <kernel-features.h>.
66051         [__ASSUME_32BITUIDS]: Make code unconditional.
66052         [!__ASSUME_32BITUIDS]: Remove conditional code.
66053         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66054         <kernel-features.h>.
66055         [__ASSUME_32BITUIDS]: Make code unconditional.
66056         [!__ASSUME_32BITUIDS]: Remove conditional code.
66057         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66058         <kernel-features.h>.
66059         [__ASSUME_32BITUIDS]: Make code unconditional.
66060         [!__ASSUME_32BITUIDS]: Remove conditional code.
66061         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66062         <kernel-features.h>.
66063         [__ASSUME_32BITUIDS]: Make code unconditional.
66064         [!__ASSUME_32BITUIDS]: Remove conditional code.
66065         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66066         <kernel-features.h>.
66067         [__NR_setresgid] (__setresgid): Do not declare.
66068         [__ASSUME_32BITUIDS]: Make code unconditional.
66069         [!__ASSUME_32BITUIDS]: Remove conditional code.
66070         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66071         <kernel-features.h>.
66072         [__NR_setresuid] (__setresuid): Do not declare.
66073         [__ASSUME_32BITUIDS]: Make code unconditional.
66074         [!__ASSUME_32BITUIDS]: Remove conditional code.
66075         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66076         <kernel-features.h>.
66077         [__ASSUME_32BITUIDS]: Make code unconditional.
66078         [!__ASSUME_32BITUIDS]: Remove conditional code.
66079         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66080         <kernel-features.h>.
66081         [__ASSUME_32BITUIDS]: Make code unconditional.
66082         [!__ASSUME_32BITUIDS]: Remove conditional code.
66083         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66084         <kernel-features.h>.
66085         [__ASSUME_32BITUIDS]: Make code unconditional.
66086         [!__ASSUME_32BITUIDS]: Remove conditional code.
66087         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66088         <kernel-features.h>.
66089         [__ASSUME_32BITUIDS]: Make code unconditional.
66090         [!__ASSUME_32BITUIDS]: Remove conditional code.
66091         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66092         <kernel-features.h>.
66093         [__ASSUME_32BITUIDS]: Make code unconditional.
66094         [!__ASSUME_32BITUIDS]: Remove conditional code.
66095         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66096         <kernel-features.h>.
66097         [__ASSUME_32BITUIDS]: Make code unconditional.
66098         [!__ASSUME_32BITUIDS]: Remove conditional code.
66099         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66100         <kernel-features.h>.
66101         [__ASSUME_32BITUIDS]: Make code unconditional.
66102         [!__ASSUME_32BITUIDS]: Remove conditional code.
66103         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66104         <kernel-features.h>.
66105         [__ASSUME_32BITUIDS]: Make code unconditional.
66106         [!__ASSUME_32BITUIDS]: Remove conditional code.
66107         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66108         <kernel-features.h>.
66109         [__ASSUME_32BITUIDS]: Make code unconditional.
66110         [!__ASSUME_32BITUIDS]: Remove conditional code.
66111         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66112         <kernel-features.h>.
66113         [__ASSUME_32BITUIDS]: Make code unconditional.
66114         [!__ASSUME_32BITUIDS]: Remove conditional code.
66115         * sysdeps/unix/sysv/linux/kernel-features.h
66116         (__ASSUME_SETRESUID_SYSCALL): Remove.
66117         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66118         (__ASSUME_32BITUIDS): Likewise.
66119         (__ASSUME_LDT_WORKS): Likewise.
66120         (__ASSUME_O_DIRECTORY): Likewise.
66121         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66122         architecture but not kernel version.
66123         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66124         (__ASSUME_MMAP2_SYSCALL): Likewise.
66125         (__ASSUME_STAT64_SYSCALL): Likewise.
66126         (__ASSUME_IPC64): Likewise.
66127         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66128         <kernel-features.h>.
66129         [__ASSUME_32BITUIDS]: Make code unconditional.
66130         [!__ASSUME_32BITUIDS]: Remove conditional code.
66131         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66132         <kernel-features.h>.
66133         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66134         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66135         132096]: Remove conditional code.
66136         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66137         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66138         <kernel-features.h>.
66139         [__ASSUME_32BITUIDS]: Make code unconditional.
66140         [!__ASSUME_32BITUIDS]: Remove conditional code.
66141         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66142         <kernel-features.h>.
66143         [__ASSUME_32BITUIDS]: Make code unconditional.
66144         [!__ASSUME_32BITUIDS]: Remove conditional code.
66145         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66146         <kernel-features.h>.
66147         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66148         unconditional.
66149         (__setresgid): Do not declare.
66150         [__ASSUME_32BITUIDS]: Make code unconditional.
66151         [!__ASSUME_32BITUIDS]: Remove conditional code.
66152         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66153         <kernel-features.h>.
66154         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66155         unconditional.
66156         (__setresuid): Do not declare.
66157         [__ASSUME_32BITUIDS]: Make code unconditional.
66158         [!__ASSUME_32BITUIDS]: Remove conditional code.
66159         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66160         <kernel-features.h>.
66161         [__ASSUME_32BITUIDS]: Make code unconditional.
66162         [!__ASSUME_32BITUIDS]: Remove conditional code.
66163         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66164         <kernel-features.h>.
66165         [__ASSUME_32BITUIDS]: Make code unconditional.
66166         [!__ASSUME_32BITUIDS]: Remove conditional code.
66168 2012-05-25  Richard Henderson  <rth@twiddle.net>
66170         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66171         dl_hwcap to ifunc resolver.
66172         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66173         elf_ifunc_invoke.
66174         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66175         dl_hwcap to ifunc resolver.
66176         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66178 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66180         [BZ #14153]
66181         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66182         for |x| <= 2**-26, not 2**-57.
66183         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66184         exception.
66186 2012-05-24  Jeff Law  <law@redhat.com>
66188         * stdio-common/Makefile (tests): Add bug25.
66189         * stdio-common/bug25.c: New test.
66191 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66193         [BZ #13576]
66194         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66195         multiple of MALLOC_ALIGNMENT in size.
66196         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66198 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66200         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66201         Require >= 256.
66202         (FILENAME_MAX): Use macro-int-constant.
66203         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66204         (_IOFBF): Use macro-int-constant.
66205         (_IOLBF): Likewise.
66206         (_IONBF): Likewise.
66207         (SEEK_CUR): Likewise.
66208         (SEEK_END): Likewise.
66209         (SEEK_SET): Likewise.
66210         (TMP_MAX): Likewise.
66211         (EOF): Use macro-int-constant.  Require < 0.
66212         (NULL): Use macro-constant.  Require == 0.
66213         (stdin): Require type to be FILE *.
66214         (stdout): Likewise.
66215         (stderr): Likewise.
66216         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66217         macro-int-constant.
66218         (EXIT_SUCCESS): Likewise.
66219         (NULL): Use macro-constant.  Require == 0.
66220         (RAND_MAX): Use macro-int-constant.
66221         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66222         [C99-based standards] (strtof): Require function.
66223         [C99-based standards] (strtold): Likewise.
66224         [C99-based standards] (strtoll): Likewise.
66225         [C99-based standards] (strtoull): Likewise.
66226         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66227         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66228         [ISO || ISO99 || ISO11] (math.h): Likewise.
66229         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66230         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66233 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66235         [BZ #14132]
66236         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66237         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66238         * intl/dgettext.c (DCGETTEXT): Likewise.
66239         * intl/gettext.c (DCGETTEXT): Likewise.
66240         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66241         * posix/regex_internal.h (gettext): Likewise.
66242         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66243         Remove declaration.
66244         * include/argz.h (__argz_count_internal)
66245         (__argz_stringify_internal): Remove declaration.
66246         (__argz_count, __argz_stringify): Declare hidden proto.
66247         * intl/dcgettext.c: Remove use of INTDEF.
66248         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66249         * string/argz-stringify.c: Likewise.
66250         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66251         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66252         Declare hidden proto.
66253         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66254         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66255         Declare hidden proto.
66256         * include/stdio.h (__asprintf_internal): Don't declare.
66257         (__asprintf): Don't define as macro.  Declare hidden proto.
66258         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66259         (__fsetlocking): Declare hidden proto.
66260         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66261         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66262         hidden proto.
66263         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66264         (_IO_setlinebuf): Remove use of INTUSE.
66265         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66266         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66267         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66268         Remove declaration.
66269         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66270         (_IO_do_flush): Remove use of INTUSE.
66271         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66272         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66273         (_IO_adjust_column, _IO_least_wmarker)
66274         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66275         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66276         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66277         (_IO_default_doallocate, _IO_wdefault_doallocate)
66278         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66279         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66280         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66281         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66282         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66283         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66284         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66285         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66286         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66287         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66288         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66289         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66290         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66291         proto.
66292         (_IO_flush_all_internal, _IO_adjust_column_internal)
66293         (_IO_default_uflow_internal, _IO_default_finish_internal)
66294         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66295         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66296         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66297         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66298         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66299         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66300         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66301         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66302         (_IO_file_close_internal, _IO_file_close_it_internal)
66303         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66304         (_IO_file_init_internal, _IO_file_attach_internal)
66305         (_IO_file_fopen_internal, _IO_file_read_internal)
66306         (_IO_file_sync_internal, _IO_file_seek_internal)
66307         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66308         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66309         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66310         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66311         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66312         (_IO_list_all_internal, _IO_link_in_internal)
66313         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66314         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66315         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66316         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66317         (_IO_do_write_internal, _IO_padn_internal)
66318         (_IO_getline_info_internal, _IO_getline_internal)
66319         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66320         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66321         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66322         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66323         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66324         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66325         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66326         with libc_hidden_ver, remove use of INTUSE.
66327         * libio/genops.c: Likewise.
66328         * libio/freopen.c: Likewise.
66329         * libio/freopen64.c: Likewise.
66330         * libio/iofclose.c: Likewise.
66331         * libio/iofdopen.c: Likewise.
66332         * libio/iofflush.c: Likewise.
66333         * libio/iofflush_u.c: Likewise.
66334         * libio/iofgets.c: Likewise.
66335         * libio/iofgets_u.c: Likewise.
66336         * libio/iofopen.c: Likewise.
66337         * libio/iofopncook.c: Likewise.
66338         * libio/iofread.c: Likewise.
66339         * libio/iofread_u.c: Likewise.
66340         * libio/ioftell.c: Likewise.
66341         * libio/iofwrite.c: Likewise.
66342         * libio/iogetline.c: Likewise.
66343         * libio/iogets.c: Likewise.
66344         * libio/iogetwline.c: Likewise.
66345         * libio/iopadn.c: Likewise.
66346         * libio/iopopen.c: Likewise.
66347         * libio/ioseekoff.c: Likewise.
66348         * libio/ioseekpos.c: Likewise.
66349         * libio/iosetbuffer.c: Likewise.
66350         * libio/iosetvbuf.c: Likewise.
66351         * libio/ioungetc.c: Likewise.
66352         * libio/ioungetwc.c: Likewise.
66353         * libio/iovdprintf.c: Likewise.
66354         * libio/iovsprintf.c: Likewise.
66355         * libio/iovsscanf.c: Likewise.
66356         * libio/memstream.c: Likewise.
66357         * libio/obprintf.c: Likewise.
66358         * libio/oldfileops.c: Likewise.
66359         * libio/oldiofclose.c: Likewise.
66360         * libio/oldiofdopen.c: Likewise.
66361         * libio/oldiofopen.c: Likewise.
66362         * libio/oldiopopen.c: Likewise.
66363         * libio/oldstdfiles.c: Likewise.
66364         * libio/putc.c: Likewise.
66365         * libio/setbuf.c: Likewise.
66366         * libio/setlinebuf.c: Likewise.
66367         * libio/stdfiles.c: Likewise.
66368         * libio/strops.c: Likewise.
66369         * libio/vasprintf.c: Likewise.
66370         * libio/vscanf.c: Likewise.
66371         * libio/vsnprintf.c: Likewise.
66372         * libio/vswprintf.c: Likewise.
66373         * libio/wfiledoalloc.c: Likewise.
66374         * libio/wfileops.c: Likewise.
66375         * libio/wgenops.c: Likewise.
66376         * libio/wmemstream.c: Likewise.
66377         * libio/wstrops.c: Likewise.
66378         * libio/__fpurge.c: Likewise.
66379         * libio/__fsetlocking.c: Likewise.
66380         * assert/assert.c: Likewise.
66381         * debug/fgets_chk.c: Likewise.
66382         * debug/fgets_u_chk.c: Likewise.
66383         * debug/fread_chk.c: Likewise.
66384         * debug/fread_u_chk.c: Likewise.
66385         * debug/gets_chk.c: Likewise.
66386         * debug/obprintf_chk.c: Likewise.
66387         * debug/vasprintf_chk.c: Likewise.
66388         * debug/vdprintf_chk.c: Likewise.
66389         * debug/vsnprintf_chk.c: Likewise.
66390         * debug/vsprintf_chk.c: Likewise.
66391         * malloc/mtrace.c: Likewise.
66392         * misc/error.c: Likewise.
66393         * misc/syslog.c: Likewise.
66394         * stdio-common/asprintf.c: Likewise.
66395         * stdio-common/fxprintf.c: Likewise.
66396         * stdio-common/getw.c: Likewise.
66397         * stdio-common/isoc99_fscanf.c: Likewise.
66398         * stdio-common/isoc99_scanf.c: Likewise.
66399         * stdio-common/isoc99_vfscanf.c: Likewise.
66400         * stdio-common/isoc99_vscanf.c: Likewise.
66401         * stdio-common/isoc99_vsscanf.c: Likewise.
66402         * stdio-common/printf-prs.c: Likewise.
66403         * stdio-common/printf_fp.c: Likewise.
66404         * stdio-common/printf_fphex.c: Likewise.
66405         * stdio-common/printf_size.c: Likewise.
66406         * stdio-common/putw.c: Likewise.
66407         * stdio-common/scanf.c: Likewise.
66408         * stdio-common/sprintf.c: Likewise.
66409         * stdio-common/tmpfile.c: Likewise.
66410         * stdio-common/vfprintf.c: Likewise.
66411         * stdio-common/vfscanf.c: Likewise.
66412         * stdlib/strfmon_l.c: Likewise.
66413         * sunrpc/openchild.c: Likewise.
66414         * sunrpc/xdr_stdio.c: Likewise.
66415         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66416         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66418 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66420         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66422         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66423         in the third column, to generate for the shared library an IFUNC
66424         that uses _dl_vdso_vsym.
66425         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66426         * Makeconfig (object-suffixes-noshared): New variable.
66428         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66429         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66430         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66431         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66433         [BZ #14132]
66434         * include/sys/time.h (__gettimeofday): Remove macro.
66435         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66436         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66437         Remove INTDEF.
66438         (__gettimeofday): Add libc_hidden_def.
66439         (gettimeofday): Add libc_hidden_weak.
66440         * sysdeps/mach/gettimeofday.c: Likewise.
66441         * sysdeps/posix/gettimeofday.c: Likewise.
66442         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66443         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66444         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66445         (__gettimeofday_internal): Remove strong_alias.
66446         (__gettimeofday): Add libc_hidden_def.
66447         (gettimeofday): Add libc_hidden_weak.
66448         * sysdeps/unix/syscalls.list (gettimeofday):
66449         Remove __gettimeofday_internal alias.
66451 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66452             H.J. Lu  <hongjiu.lu@intel.com>
66454         [BZ #12495]
66455         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66456         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66457         (largebin_index_32_big): New.
66458         (largebin_index): Use it for 16-byte alignment.
66459         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66460         correction with front_misalign.
66462 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66466         Likewise.
66467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66468         Likewise.
66469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66470         Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66472         Likewise.
66473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66474         Likewise.
66475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66476         Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66478         Likewise.
66479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66480         Likewise.
66481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66482         Likewise.
66483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66484         Likewise.
66485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66486         Likewise.
66487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66488         Likewise.
66490         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66491         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66493 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66495         [BZ #10846]
66496         [BZ #14036]
66497         * math/libm-test.inc (exp_test): Add test from bug 14036.
66498         (pow_test): Add test from bug 10846.
66500         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66501         and other flags.
66502         (special_function): Do not include flags in test name.
66503         (parse_args): Likewise.
66504         * sysdeps/i386/fpu/libm-test-ulps: Update.
66505         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66506         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66507         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66510         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66511         exceptions.
66512         * math/libm-test.inc ("Philosophy"): Update comment about
66513         exception testing.
66514         (UNDERFLOW_EXCEPTION): New macro.
66515         (UNDERFLOW_EXCEPTION_OK): Likewise.
66516         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66517         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66518         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66519         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66520         (INVALID_EXCEPTION_OK): Update value.
66521         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66522         (OVERFLOW_EXCEPTION_OK): Likewise.
66523         (IGNORE_ZERO_INF_SIGN): Likewise.
66524         (test_exceptions): Handle underflow exceptions.
66525         (acos_test): Update for underflow exception expectations.
66526         (cexp_test): Likewise.
66527         (clog_test): Likewise.
66528         (clog10_test): Likewise.
66529         (csqrt_test): Likewise.
66530         (ctan_test): Likewise.
66531         (ctanh_test): Likewise.
66532         (exp_test): Likewise.
66533         (exp10_test): Likewise.
66534         (exp2_test): Likewise.
66535         (expm1_test): Likewise.
66536         (fma_test): Likewise.
66537         (j0_test): Likewise.
66538         (jn_test): Likewise.
66539         (nexttoward_test): Likewise.
66540         (pow_test): Likewise.
66541         (scalbn_test): Likewise.
66542         (scalbln_test): Likewise.
66543         (tan_test): Likewise.
66544         (y1_test): Likewise.
66545         * sysdeps/i386/fpu/libm-test-ulps: Update.
66546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66548 2012-05-23  David S. Miller  <davem@davemloft.net>
66550         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66551         (__libc_sigaction): Remove unused local variables.
66553 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66555         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66557 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66559         mktime: avoid signed integer overflow
66560         * time/mktime.c (__mktime_internal): Do not mishandle the case
66561         where diff == INT_MIN.
66563         mktime: simplify computation of average
66564         * time/mktime.c (ranged_convert): Use new time_t_avg function
66565         instead of rolling our own (probably-slower) code.
66567         mktime: do not assume signed right shift propagates sign bit
66568         * time/mktime.c (isdst_differ): New static function.
66569         (__mktime_internal): No need to normalize tm_isdst now.
66570         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66571         tm_isdst values.
66573         mktime: merge another wrapv change from gnulib
66574         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66575         from some compilers.
66577         mktime: remove incorrect attempt at unusual arithmetics
66578         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66579         The code didn't really work on such machines anyway.
66580         (TYPE_MINIMUM): Assume two's complement.
66581         (twos_complement_arithmetic): Verify that long_int and time_t
66582         are two's complement (or unsigned, in the latter case).
66584         mktime: check signed shifts on long_int and time_t, too
66585         * time/mktime.c (SHR): Check that shifts work as desired
66586         on the types long_int and time_t too, as SHR is used on
66587         such types.
66589         mktime: do not assume 'long' is wide enough
66590         * time/mktime.c (verify): Move decl up.
66591         (long_int): New type.
66592         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66593         to remove assumption in the code that 'long' is wide enough to
66594         store year values.  This assumption is not true on x32 and on
66595         some non-glibc platforms.
66597         mktime: merge wrapv change from gnulib
66598         * time/mktime.c (WRAPV): New macro.
66599         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66600         (guess_time_tm, __mktime_internal): Do not assume that signed
66601         integer overflow wraps around; modern compilers generate code
66602         where this assumption is no longer valid.
66604 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66606         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66607         Replace "jmp L(pseudo_end)" with "ret".
66608         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66609         Likewise.
66611 2012-05-23  Andreas Jaeger  <aj@suse.de>
66613         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66614         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66616 2012-05-23  Andreas Jaeger  <aj@suse.de>
66617             Maximilian Attems  <max@stro.at>
66619         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66620         New macros.
66622 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66624         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66625         code so that pseudo_end is just ret and the stack pointer is
66626         correct also for static library in error case.
66628 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66630         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66631         move to syscalls.list.
66632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66637         * manual/install.texi (Running make install): Do not mention Linux
66638         kernel version for which pt_chown is not needed.
66639         (Linux): Do not mention problems with nscd with 2.0 kernels.
66640         * INSTALL: Regenerated.
66642 2012-05-23  Andreas Jaeger  <aj@suse.de>
66644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66645         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66646         macro.
66647         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66648         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66649         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66651         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66653         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66655         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66657         * sysdeps/unix/sysv/linux/bits/in.h
66658         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66660 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66662         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66663         (PREPARE_VERSION): Just use assert instead, it will be elided
66664         under [NDEBUG] anyway.
66666 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66668         * sysdeps/unix/sysv/linux/Makefile: Include
66669         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66670         (sysdep_routines): Remove sysctl.
66671         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66672         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66673         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66674         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66675         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66677 2012-05-22  Andreas Jaeger  <aj@suse.de>
66679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66680         that pseudo_end is just ret and the stack pointer is correct also
66681         for static library in error case.
66683 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66685         [BZ #14122]
66686         * nss/nsswitch.c (defconfig_entries): New variable.
66687         (__nss_database_lookup): Don't leak defconfig entries.
66688         (nss_parse_service_list): Don't leak on error paths.
66689         (free_database_entries): New function.
66690         (free_defconfig): New function.
66691         (free_mem): Move common code to free_database_entries.
66693 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66695         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66696         Add arch_prctl.
66697         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66699         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66700         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66702         New macro.
66703         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66704         (INTERNAL_SYSCALL_TYPES): Likewise.
66705         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66706         (LOAD_REGS_TYPES_[1-6]): Likewise.
66707         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66708         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66710 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66712         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66713         copysignl for GLIBC_2_0.
66714         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66715         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66717         logbl for GLIBC_2_0.
66718         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66719         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66721 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66723         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66724         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66726         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66727         Use "neg %eax".
66729         * time/mktime.c: Update copyright years.
66731 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66733         mktime: merge comment-quoting-style change from gnulib
66734         * time/mktime.c: Quote 'like this' in comments.
66735         The GNU coding standards suggest that we no longer quote `like this',
66736         as "`" and "'" are typically rendered asymmetrically nowadays.
66737         The typical gnulib style is to quote 'like this' when quoting
66738         code, and "like this" when quoting English.
66740         * time/mktime.c (compile-command): Add "-I.".
66742         mktime: merge mktime-internal.h change from gnulib
66743         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66745         mktime: merge time_r change from gnulib
66746         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66748         mktime: merge DEBUG change from gnulib
66749         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66750         case system <time.h> has a #define.
66752         mktime: merge <sys/types.h> change from gnulib
66753         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66754         since <time.t> is now guaranteed to define time_t.
66756         mktime: merge HAVE_CONFIG_H change from gnulib
66757         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66759 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66762         Use "neg %eax".
66764         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66765         __rlim_t cast.
66766         (struct rusage): Use anonymous union to pad each field to
66767         __syscall_slong_t.
66769 2012-05-21  David S. Miller  <davem@davemloft.net>
66771         * Makefules (o-iterator): Remove .s cases.
66772         (compile-command.s): Delete.
66773         (COMPILE.s): Delete.
66774         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66776 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66778         * configure.in (libc_cv_predef_stack_protector): Only consider
66779         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66780         * configure: Regenerated.
66782 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66785         New macro.  Use R*LP on int and pointer.
66786         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66787         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66788         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66789         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66791         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66792         [__WORDSIZE_TIME64_COMPAT32] instead of
66793         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66794         (struct utmp): Likewise.
66795         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66796         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66797         Renamed to ...
66798         (__WORDSIZE_TIME64_COMPAT32): This.
66799         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66800         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66801         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66802         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66803         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66804         (__WORDSIZE_TIME64_COMPAT32): New macro.
66806 2012-05-21  Andreas Jaeger  <aj@suse.de>
66808         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66809         only if [SHARED]. Add prototype for __wcschr_ia32.
66811 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66813         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66814         of %rbp unmolested in the jmp_buf while mangling the low bits.
66815         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66816         unmolested high bits of %rbp while demangling the low bits.
66817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66819 2012-05-21  Andreas Jaeger  <aj@suse.de>
66821         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66822         * sunrpc/svc_simple.c: Use it for registerrpc.
66823         * sunrpc/xcrypt.c: Use it for passwd2des.
66825         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66827 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66829         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66830         Don't define if [__SYSCALL_WORDSIZE != 32].
66831         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66832         New macro.
66834 2012-05-21  Bruno Haible  <bruno@clisp.org>
66835             Andreas Jaeger  <aj@suse.de>
66837         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66838         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66839         inptr and inend for must_buffer_ch.
66840         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66841         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66842         * stdio-common/Makefile (tests): Remove bug15.
66843         (bug15-ENV): Remove macro.
66844         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66845         anymore.
66847 2012-05-19  Andreas Jaeger  <aj@suse.de>
66848             Roland McGrath  <roland@hack.frob.com>
66850         * manual/contrib.texi: Completely rewritten. It contains now an
66851         alphabetical list of contributors and their contributions.
66853 2012-05-21  Richard Henderson  <rth@twiddle.net>
66855         * misc/getauxval.c (__getauxval): Use unsigned long int.
66856         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66857         (getauxval): Use unsigned long int.
66859 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66861         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66863 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66865         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66866         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66867         __alignof__ (long double).
66869 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66873 2012-05-20  Richard Henderson  <rth@twiddle.net>
66875         * misc/getauxval.c: New file.
66876         * misc/sys/auxv.h: New file.
66877         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66878         (routines): Add getauxval.
66879         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66880         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66881         * elf/dl-sysdep.c (_dl_auxv): Remove.
66882         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66883         * elf/dl-support.c (_dl_auxv): New variable.
66884         (_dl_aux_init): Initialize it.
66885         * manual/startup.texi (Auxiliary Vector): New node.
66886         * sysdeps/generic/bits/hwcap.h: New file.
66887         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66888         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66889         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66890         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66891         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66894         Update.
66895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66898         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66904 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66908 2012-05-19  David S. Miller  <davem@davemloft.net>
66910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66912 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66914         [BZ #14123]
66915         * math/s_ccosh.c: Include <float.h>
66916         (__ccosh): Avoid internal overflow calculating sinh and cosh
66917         values before multiplying by sin and cos values.
66918         * math/s_ccoshf.c: Likewise.
66919         * math/s_ccoshl.c: Likewise.
66920         * math/s_csin.c: Likewise.
66921         * math/s_csinf.c: Likewise.
66922         * math/s_csinl.c: Likewise.
66923         * math/s_csinh.c: Likewise.
66924         * math/s_csinhf.c: Likewise.
66925         * math/s_csinhl.c: Likewise.
66926         * math/libm-test.inc (ccos_test): Add more tests.
66927         (ccosh_test): Likewise.
66928         (csin_test): Likewise.
66929         (csinh_test): Likewise.
66930         * sysdeps/i386/fpu/libm-test-ulps: Update.
66931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66933 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66935         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66936         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66938         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66940 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66942         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66943         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66944         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66945         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66946         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66947         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66948         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66949         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66950         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66951         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66952         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66953         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66954         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66955         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66956         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66957         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66958         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66959         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66960         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66961         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66962         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66963         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66964         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66965         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66966         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66967         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66968         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66969         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66970         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66971         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66972         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66974 2012-05-18  Andreas Jaeger  <aj@suse.de>
66976         * csu/.gitignore: Delete.
66978 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66980         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66981         (timex): Use __syscall_slong_t.
66983 2012-05-18  Andreas Jaeger  <aj@suse.de>
66984             Carlos O'Donell  <carlos_odonell@mentor.com>
66986         * manual/install.texi (Configuring and compiling): Update
66987         description about files modified in the source directory.
66988         * INSTALL: Regenerated.
66990 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66992         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66993         value.  Use "or" to set return value to -1.
66994         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66995         negate return value.
66997 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66999         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67000         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67001         failure if the compiler has Graphite support disabled.
67002         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67003         Likewise.
67004         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67005         (CFLAGS-memmove.c): Likewise.
67006         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67007         Likewise.
67009 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67011         * sysdeps/x86_64/x32/_itoa.h: New file.
67013         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67014         getdents system call only if kernel and user dirents have the
67015         same d_ino and d_off.
67017         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67018         LLONG_MAX != LONG_MAX.
67019         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67020         (_fitoa_word): Likewise.
67022         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67023         years.
67024         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67025         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67026         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67028         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67029         include <bits/wordsize.h>.  Check __x86_64__ instead of
67030         __WORDSIZE.
67031         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67032         if __x86_64__ is defined.  Use anonymous union on fpstate.
67034         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67035         anonymous union.
67037 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67039         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67040         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67041         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67042         Refer to _rtld_local_ro instead of _rtld_global_ro.
67043         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67044         Likewise.
67045         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67046         Likewise.
67047         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67048         Likewise.
67049         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67050         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67051         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67053         [BZ #10882]
67054         * sysdeps/powerpc/powerpc32/dl-machine.c
67055         (__elf_machine_runtime_setup) [PROF]: Don't reference
67056         _dl_prof_resolve.
67058 2012-05-18  Andreas Jaeger  <aj@suse.de>
67060         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67061         function only available for GCCs before 3.4 since GCC 3.4
67062         introduced a builtin.
67063         (lrint): Likewise.
67064         (llrintf): Likewise.
67065         (llrint): Likewise.
67066         (fmaxf): Likewise.
67067         (fmax): Likewise.
67068         (fminf): Likewise.
67069         (fmin): Likewise.
67070         (rint): Likewise.
67071         (rintf): Likewise.
67072         (nearbyint): Likewise.
67073         (nearbyintf): Likewise.
67074         (ceil): Likewise.
67075         (ceilf): Likewise.
67076         (floor): Likewise.
67077         (floorf): Likewise.
67079 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67081         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67082         on both fields and cast pointer to __syscall_ulong_t.
67084         * bits/types.h (__fsword_t): New type.
67085         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67086         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67087         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67088         (__FSWORD_T_TYPE): Likewise.
67089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67090         (__FSWORD_T_TYPE): Likewise.
67091         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67092         (__FSWORD_T_TYPE): Likewise.
67093         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67094         (__FSWORD_T_TYPE): Likewise.
67095         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67096         __SWORD_TYPE with __fsword_t.
67097         (statfs64): Likewise.
67099 2012-05-17  David S. Miller  <davem@davemloft.net>
67101         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67103 2012-05-17  Andreas Jaeger  <aj@suse.de>
67105         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67106         warning.
67108 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67110         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67112 2012-05-17  Andreas Jaeger  <aj@suse.de>
67114         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67115         when it is used.
67117 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67119         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67121 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67123         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67124         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67126 2012-05-17  Andreas Jaeger  <aj@suse.de>
67127             Carlos O'Donell  <carlos_odonell@mentor.com>
67129         [BZ #14059]
67130         * sysdeps/x86_64/multiarch/init-arch.h
67131         (bit_YMM_Usable): Rename to...
67132         (bit_AVX_Usable): ... this.
67133         (bit_FMA4_Usable): New macro.
67134         (bit_XMM_state): New macro.
67135         (bit_YMM_state): New macro.
67136         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67137         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67138         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67139         (CPUID_OSXSAVE): New macro.
67140         (CPUID_AVX): New macro.
67141         (CPUID_FMA4): New macro.
67142         (index_YMM_Usable): Rename to...
67143         (index_AVX_Usable): ... this.
67144         (HAS_AVX): Use HAS_ARCH_FEATURE.
67145         (HAS_FMA4): Likewise.
67146         (HAS_YMM_USABLE): Remove.
67147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67148         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67149         are present.
67150         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67151         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67152         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67153         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67154         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67156 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67158         * math/libm-test.c: Support platforms without multiple rounding modes.
67159         * math/bug-nextafter.c: Support platforms without FP exceptions.
67160         * math/bug-nexttoward.c: Likewise.
67161         * math/test-fenv.c: Likewise.
67162         * math/test-misc.c: Likewise.
67163         * stdlib/bug-getcontext.c: Likewise.
67165 2012-05-17  Andreas Jaeger  <aj@suse.de>
67167         * manual/examples/search.c (critter_cmp): Change signature to
67168         avoid warnings.
67169         * manual/string.texi (Collation Functions): Likewise.
67171 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67173         * bits/types.h: Fold copyright years.
67174         * bits/typesizes.h: Likewise.
67175         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67176         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67179         * time/time.h: Likewise.
67181 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67183         [BZ #208]
67184         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67185         in instead of returning them.  Return void.
67186         (__libc_mallinfo): Accumulate over all arenas.
67187         (__malloc_stats): Adjust for change in int_mallinfo interface.
67189 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67191         [BZ #10375]
67192         * configure.in (NM): Add AC_CHECK_TOOL for it.
67193         (libc_extra_cflags): New substituted variable.
67194         Check for -fstack-protector being used implicitly.
67195         * configure: Regenerated.
67196         * config.make.in (config-extra-cflags): New variable,
67197         gets @libc_extra_cflags@.
67198         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67200         [BZ #10375]
67201         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67202         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67203         * configure: Regenerated.
67204         * config.make.in (CPPUNDEFS): New substituted variable.
67205         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67206         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67207         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67209 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67211         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67212         (mq_attr): Use __syscall_slong_t.
67214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67216         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67217         Check __x86_64__ instead of __WORDSIZE.
67218         (_STAT_VER_LINUX): Likewise.
67219         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67220         __syscall_ulong_t and __syscall_slong_t.
67221         (stat64): Likewise.
67223 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67225         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67229         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67231 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67233         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67234         __syscall_ulong_t.
67236         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67237         include <bits/wordsize.h>.  Check __x86_64__ instead of
67238         __WORDSIZE.
67239         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67240         defined.
67241         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67243         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67244         include <bits/wordsize.h>.  Check __x86_64__ instead of
67245         __WORDSIZE.
67246         (user_regs_struct): Use "__extension__ unsigned long long"
67247         instead of "unsigned long" if __x86_64__ is defined.
67248         (user): Likewise.  Pad after pointer field if __ILP32__ is
67249         defined.
67251 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67253         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67254         versions 5 to 9.
67255         * configure: Regenerated.
67256         * manual/install.texi (texinfo): Increase version requirement to
67257         4.5 or later.
67258         * INSTALL: Regenerated.
67260         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67262 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67264         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67266         * sysdeps/x86_64/x32/ffs.c: New file.
67268         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67269         __syscall_ulong_t.
67270         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67271         defined.  Use __syscall_ulong_t.
67272         (shminfo): Use __syscall_ulong_t.
67273         (shm_info): Likewise.
67275         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67276         __syscall_ulong_t.
67278         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67279         <bits/wordsize.h>.
67280         (msgqnum_t): Use __syscall_ulong_t.
67281         (msglen_t): Likewise.
67282         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67283         __syscall_ulong_t.
67285         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67286         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67288         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67290         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67291         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67293         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67294         __syscall_slong_t.
67296         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67297         include <bits/wordsize.h>.  Check __x86_64__ instead of
67298         __WORDSIZE.
67300         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67301         "unsigned long long int" if __x86_64__ is defined.
67302         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67304         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67305         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67306         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67308         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67309         <stdint.h>.
67310         (GET_PC): Cast to uintptr_t first.
67311         (GET_FRAME): Likewise.
67312         (GET_STACK): Likewise.
67314         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67316         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67318         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67320         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67321         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67322         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67323         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67324         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67325         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67326         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67327         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67328         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67329         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67330         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67331         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67332         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67333         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67334         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67335         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67337         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67339         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67340         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67341         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67342         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67344 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67346         * Makerules (+depfiles): Also collect depfiles from .oS in
67347         $(extra-objs).
67348         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67349         .oS, $(libnldbl-routines)).
67351         * Makerules (native-compile-mkdep-flags): Define.
67352         * sunrpc/Makefile (extra-objs): Add $(addprefix
67353         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67354         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67355         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67356         calling $(make-target-directory).
67358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67360         * bits/types.h (__snseconds_t): Removed.
67361         * time/time.h (struct timespec): Replace __snseconds_t with
67362         __syscall_slong_t.
67363         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67364         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67365         Likewise.
67366         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67367         (__SNSECONDS_T_TYPE): Likewise.
67368         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67369         (__SNSECONDS_T_TYPE): Likewise.
67370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67371         (__SNSECONDS_T_TYPE): Likewise.
67373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67375         * sysdeps/mach/hurd/bits/typesizes.h
67376         (__SYSCALL_SLONG_TYPE): New macro.
67377         (__SYSCALL_ULONG_TYPE): Likewise.
67379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67381         * bits/types.h (__syscall_slong_t): New type.
67382         (__syscall_ulong_t): Likewise.
67384         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67385         (__SYSCALL_ULONG_TYPE): Likewise.
67386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67387         (__SYSCALL_SLONG_TYPE): Likewise.
67388         (__SYSCALL_ULONG_TYPE): Likewise.
67389         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67390         (__SYSCALL_SLONG_TYPE): Likewise.
67391         (__SYSCALL_ULONG_TYPE): Likewise.
67392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67393         (__SYSCALL_SLONG_TYPE): Likewise.
67394         (__SYSCALL_ULONG_TYPE): Likewise.
67396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67398         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67399         Add sigaltstack-offsets.sym.
67400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67401         <sigaltstack-offsets.h>.
67402         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67403         longjmp_msg pointer.
67404         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67405         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67406         signal stack.
67407         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67409 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67411         * elf/stackguard-macros.h: Remove file.
67412         * sysdeps/generic/stackguard-macros.h: New file.
67413         * sysdeps/i386/stackguard-macros.h: Likewise.
67414         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67415         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67416         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67417         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67418         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67419         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67420         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67421         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67422         <elf/stackguard-macros.h>.
67424         [BZ #14109]
67425         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67426         __aligned__ in attribute.
67427         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67428         (gregset_t): Likewise.
67430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67432         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67433         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67434         * sysdeps/x86_64/x32/Implies-after: New file.
67436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67438         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67439         and access return value for _dl_profile_fixup.  Use R10_LP to
67440         load frame size.
67442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67444         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67448         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67449         * sysdeps/x86_64/x32/sysdep.h: New file.
67451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67453         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67454         * sysdeps/x86_64/setjmp.S: Likewise.
67456 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67458         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67460         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67461         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67462         remove unused global constant.
67464 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67466         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67467         include of <not-cancel.h>.
67469 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67471         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67473 2012-05-15  Jeff Law  <law@redhat.com>
67474             Andreas Jaeger  <aj@suse.de>
67476         [BZ #13594]
67477         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67478         out from...
67479         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67480         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67481         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67482         code changing __hst_map_handle.map.
67484 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67486         * configure.in (sysnames): Look for Implies-before and Implies-after
67487         files.
67488         * configure: Regenerated.
67490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67492         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67493         8-byte data alignment with LP_SIZE alignment.
67495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67497         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67498         into R10_LP.
67500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67502         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67506         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67507         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67508         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67509         Likewise.
67510         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67514         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67515         (stackinfo_sub_sp): Likewise.
67517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67520         RAX_LP.
67522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67525         into R*_LP.
67527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67529         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67530         sizes into R*_LP.
67532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67534         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67538         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67539         into R11_LP and load __x86_64_shared_cache_size_half into
67540         R8_LP.
67542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67544         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67545         R8_LP.
67547 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67550         logb for POWER7.
67551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67552         logbf for POWER7.
67553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67554         logbl for POWER7.
67555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67556         powerpc32/power7/fpu/s_logb.c via #include.
67557         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67558         powerpc32/power7/fpu/s_logbf.c via #include.
67559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67560         powerpc32/power7/fpu/s_logbl.c via #include.
67562 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67564         * README.libm: Remove file.
67566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67568         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67569         count for x32.  Use R*_LP and omit operand-size suffix.
67571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67573         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67574         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67575         * sysdeps/x86_64/x32/shlib-versions: New file.
67577 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67579         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67580         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67581         Use _dl_fatal_printf instead.
67583 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67585         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67586         set if not set by the user.  Do not allow for being unset.
67587         * sysdeps/unix/sysv/linux/configure: Regenerated.
67589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67591         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67592         the `q' suffix from lea and replace .quad with ASM_ADDR.
67594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67597         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67598         instead of $17.
67599         (PTR_DEMANGLE): Likewise.
67601 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67603         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67604         (LP_OP): Likewise.
67605         (ASM_ADDR): Likewise.
67606         (RAX_LP): Likewise.
67607         (RBP_LP): Likewise.
67608         (RBX_LP): Likewise.
67609         (RCX_LP): Likewise.
67610         (RDI_LP): Likewise.
67611         (RSI_LP): Likewise.
67612         (RSP_LP): Likewise.
67613         (R8_LP): Likewise.
67614         (R9_LP): Likewise.
67615         (R10_LP): Likewise.
67616         (R10_LP): Likewise.
67617         (R11_LP): Likewise.
67618         (R12_LP): Likewise.
67619         (R13_LP): Likewise.
67620         (R14_LP): Likewise.
67621         (R15_LP): Likewise.
67623 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67625         * sysdeps/x86_64/x32/dl-machine.h: New file.
67627 2012-05-14  Andreas Jaeger  <aj@suse.de>
67629         * manual/Makefile (subdir): Remove export of subdir.
67630         (all): Remove target.
67631         (.PHONY): Remove all from list.
67632         (mkinstalldirs): Remove.
67633         (.PHONY): Remove installdirs from list.
67634         ($(inst_infodir)/libc.info): Use make-target-directory.
67635         (installdirs): Remove.
67636         (subdir_%): Remove.
67637         (glibc-targets): Remove.
67638         (lib): Remove.
67639         (stubs): Remove.
67640         ($(objpfx)stubs ../po/manual.pot): Remove.
67641         ($(objpfx)stamp%): Remove.
67642         (make-target-directory): Remove.
67643         (subdir_install): Remove.
67644         (routines): Remove.
67645         (aux): Remove.
67646         (sources): Remove.
67647         (objects): Remove.
67648         (headers): Remove.
67650         [BZ #13750]
67651         * manual/.gitignore: Remove, it's not needed anymore.
67652         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67653         all files in it.
67654         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67655         directory.
67656         (texis): Renamed to $(objpfx)texis.
67657         (texis-path): New, contains path to generated files.
67658         (chapters.%): Use texis-path for complete path, add extra argument
67659         libc-texinfo.sh.
67660         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67661         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67662         (summary,texi, stamp-summary): Use complete path of
67663         files. Generate files in build dir.
67664         (dir-add.texi): Build in build dir.
67665         (libm-err.texi,stamp-libm-err): Likewise.
67666         (version.texi, stamp-version): Likewise.
67667         (.%c.texi): Likewise.
67668         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67669         (mostlyclean): Remove target.
67670         (realclean): Remove target.
67671         (generated): Add new variable with contents from mostlyclean and
67672         realclean, remove entries duplicated in common-mostlyclean, add
67673         stamp-libm-err and stamp-version.
67674         (generated-dirs): Add libc directory.
67675         ($(inst_infodir)/libc.info): Install files from build dir.
67677         * manual/install.texi (Configuring and compiling): Adjust since
67678         the info files are not part of the tar ball anymore.
67680 2012-05-14  Andreas Jaeger  <aj@suse.de>
67682         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67683         variable.
67685 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67687         [BZ #13717]
67688         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67689         to 2.2.0 where earlier.
67690         * sysdeps/unix/sysv/linux/configure: Regenerated.
67691         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67692         Remove conditional code.
67693         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67694         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67695         Remove conditional code.
67696         [!__NR_lchown]: Likewise.
67697         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67698         [__NR_lchown]: Likewise.
67699         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67700         comment referencing __ASSUME_LCHOWN_SYSCALL.
67701         * sysdeps/unix/sysv/linux/i386/sigaction.c
67702         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67703         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67704         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67705         Remove conditional code.
67706         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67707         (__protocol_available): Remove #if 0 code.
67708         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67709         conditional code.
67710         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67711         * sysdeps/unix/sysv/linux/kernel-features.h
67712         (__ASSUME_GETCWD_SYSCALL): Don't define.
67713         (__ASSUME_REALTIME_SIGNALS): Likewise.
67714         (__ASSUME_PREAD_SYSCALL): Likewise.
67715         (__ASSUME_PWRITE_SYSCALL): Likewise.
67716         (__ASSUME_POLL_SYSCALL): Likewise.
67717         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67718         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67719         non-SPARC.
67720         (__ASSUME_SIOCGIFNAME): Don't define.
67721         (__ASSUME_MSG_NOSIGNAL): Likewise.
67722         (__ASSUME_SENDFILE): Define unconditionally.
67723         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67724         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67725         conditional code.
67726         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67727         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67728         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67729         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67730         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67731         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67732         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67734         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67737         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67738         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67740         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67743         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67744         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67746         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67749         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67750         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67752         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67755         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67756         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67757         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67758         Remove conditional code.
67759         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67760         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67761         Remove conditional code.
67762         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67763         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67764         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67765         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67766         Remove conditional code.
67767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67768         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67769         Remove conditional code.
67770         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67771         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67772         Remove conditional code.
67773         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67774         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67775         Remove conditional code.
67776         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67777         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67778         Remove conditional code.
67779         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67780         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67781         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67782         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67783         * sysdeps/unix/sysv/linux/sigaction.c
67784         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67785         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67786         * sysdeps/unix/sysv/linux/sigpending.c
67787         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67788         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67789         * sysdeps/unix/sysv/linux/sigprocmask.c
67790         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67791         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67792         * sysdeps/unix/sysv/linux/sigsuspend.c
67793         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67794         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67795         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67796         (__libc_missing_rt_sigs): Remove.
67797         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67798         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67799         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67800         Remove conditional code.
67801         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67802         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67803         return 1.
67804         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67805         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67806         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67807         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67809 2012-05-14  Andreas Jaeger  <aj@suse.de>
67811         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67812         it's not used in glibc.
67813         (__coshm1): Likewise.
67814         (__acosh1p): Likewise.
67815         (__sgn): Likewise.
67817         * manual/string.texi (Copying and Concatenation): Add missing
67818         variable in concat example.
67819         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67823         [BZ #14103]
67824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67825         __builtin_clzl with __builtin_clzll.
67827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67829         [BZ #14104]
67830         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67831         libc_freeres_ptr.
67833 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67835         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67836         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67837         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67838         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67840 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67842         * NEWS: Update ia64 info.
67844 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67846         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67847         used as bcopy.
67849 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67851         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67852         * sysdeps/unix/syscalls.list (dup3): Likewise.
67853         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67854         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67856 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67858         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67859         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67861 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67863         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67864         thread pointer.
67865         (TLS_IE): Use mov/add instead of movq/addq to load thread
67866         pointer.
67867         (TLS_GD_PREFIX): New.
67868         (TLS_GD): Use it.
67870 2012-05-11  David S. Miller  <davem@davemloft.net>
67872         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67873         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67874         (_FPU_SETCW): Likewise.
67876 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67878         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67879         is 32-byte aligned.
67881 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67883         [BZ #11837]
67884         * iconvdata/gb18030.c: Update tables.
67885         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67886         characters specially.
67887         (BODY for TO_LOOP): Add encoding of missing ranges.
67889 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67891         [BZ #13673]
67892         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67893         * sysdeps/mach/hurd/dup3.c: Likewise.
67894         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67895         * sysdeps/powerpc/memmove.c:: Likewise.
67897 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67899         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67900         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67902 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67904         * elf/elf.h (R_X86_64_RELATIVE64): New.
67905         (R_X86_64_NUM): Updated.
67906         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67907         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67908         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67909         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67910         tst-quad1pie tst-quad2pie
67911         (modules-names): Add tst-quadmod1 tst-quadmod2.
67912         ($(objpfx)tst-quad1): New dependency.
67913         ($(objpfx)tst-quad2): Likewise.
67914         ($(objpfx)tst-quad1pie): Likewise.
67915         ($(objpfx)tst-quad2pie): Likewise.
67916         * sysdeps/x86_64/tst-quad1.c: New file.
67917         * sysdeps/x86_64/tst-quad1pie.c: New file.
67918         * sysdeps/x86_64/tst-quad2.c: Likewise.
67919         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67920         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67921         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67922         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67923         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67927         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67928         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67929         * streams/stropts.h (t_scalar_t): Define type.
67931         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67932         (_PATH_PRESERVE): Set to "/var/lib".
67933         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67935         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67936         instead of int.
67938         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67939         if __dir_mkfile succeeded.
67941         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67942         checking for _hurd_dtablesize.  Unlock it right after having
67943         finished _hurd_dtable allocation.
67945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67947         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67948         * sysdeps/mach/hurd/configure: Regenerated.
67949         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67950         special-casing to...
67951         * sysdeps/gnu/configure.in: ... this new file.
67952         * sysdeps/unix/sysv/linux/configure: Regenerated.
67953         * sysdeps/gnu/configure: New generated file.
67955         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67956         for Linux: use nsec instead of usec, as well as:
67957         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67958         members of type struct timespec.
67959         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67960         New macros.
67961         (struct stat64): Likewise.
67962         (_STATBUF_ST_NSEC): New macro.
67963         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67965         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67966         __strtoul_internal rather than strtoul.
67968 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67970         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67971         and reject them.
67973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67975         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67976         which preserves existing values.
67977         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67979 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67981         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67982         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67983         greater than FD_SETSIZE.
67985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67987         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67988         allocated, call __vm_protect to finish enabling the existing space, and
67989         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67990         allocate the remainder.
67992 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67994         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67995         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67997 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67999         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68000         sysdeps/mach/hurd/readlink.c.
68002         * posix/tst-sysconf.c (posix_options): Only use
68003         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68004         _POSIX_SYNCHRONIZED_IO when they are defined
68005         * sysdeps/mach/hurd/bits/posix_opt.h:
68006         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68007         (_XOPEN_REALTIME): Undefine macro.
68008         (_XOPEN_REALTIME_THREADS): Undefine macro.
68009         (_XOPEN_SHM): Undefine macro.
68010         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68011         macro to -1.
68012         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68013         macro to -1.
68014         (_POSIX_ASYNC_IO): Undefine macro.
68015         (_POSIX_PRIORITIZED_IO): Undefine macro.
68016         (_POSIX_SPIN_LOCKS): Define macro to -1.
68018         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68019         SA_NODEFER, SA_RESETHAND.
68020         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68021         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68022         F_DUPFD_CLOEXEC.
68024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68026         * elf/Makefile (pldd-modules): Define unconditionally.
68028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68030         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68032 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68034         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68035         Return ENOENT when name is empty.
68036         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68040         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68042         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68046         Fix mlock in all cases except non-readable pages.
68047         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68048         instead of VM_PROT_ALL as parameter to __vm_wire function.
68050         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68051         (__mkdir): When path is `/', just fail with EEXIST.
68052         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68056         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68057         <sys/uio.h> (for writev).
68058         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68059         and <sys/param.h> (for MIN).
68061 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68063         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68064         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68065         if interrupted.
68067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68069         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68070         Depend on against $(link-rpcuserlibs).
68072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68074         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68075         (__libc_stack_end): Do not use attribute_relro.
68076         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68077         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68078         to libthread-provided value.
68079         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68080         attribute_relro.
68082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68084         [BZ #3748]
68085         * bits/libc-lock.h (__libc_once_get): New macro.
68086         * sysdeps/mach/bits/libc-lock.h: Likewise.
68087         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68088         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68089         instead of using implementation details.
68091         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68092         * libio/freopen.c: Likewise.
68093         * libio/freopen64.c: Likewise.
68094         * misc/syslog.c: Likewise.
68095         * nscd/connections.c: Likewise.
68096         * nscd/netgroupcache.c: Likewise.
68097         * sysdeps/posix/getcwd.c: Likewise.
68099 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68101         * math/w_ilogbf.c: Add #include <limits.h>.
68103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68105         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68106         path instead of returning without unlocking.
68108         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68109         immediate-write ioctls.
68110         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68114         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68115         __builtin_frame_address instead of making assumptions about the
68116         location of the return address relative to DATA.  Force early load of
68117         the return address.
68118         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68119         __builtin_frame_address.
68121         dup3 for GNU Hurd.
68122         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68123         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68124         implement dup3 and do some further code clean-ups.
68125         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68126         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68130         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68132         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68133         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68134         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68135         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68136         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68137         d->port.lock.
68139         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68140         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68141         when handler == SIG_ERR, not when handler != SIG_ERR.
68143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68145         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68146         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68147         definitions.
68149         accept4 for GNU Hurd.
68150         * include/sys/socket.h (__libc_accept4): New prototype.
68151         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68152         to implement __libc_accept4.
68153         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68154         __libc_accept4.
68155         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68157         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68158         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68159         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68160         signal-defines.sym.
68162 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68164         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68166 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68168         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68169         assertion on O_CLOEXEC flag.
68170         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68171         * hurd/intern-fd.c: Likewise.
68172         * hurd/port2fd.c: Likewise.
68174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68176         [BZ #3906]
68177         * bits/in.h (IPV6_PKTINFO): Define new macro.
68178         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68180 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68182         [BZ #13954]
68183         [BZ #13955]
68184         [BZ #13956]
68185         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68187         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68188         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68190         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68191         * math/libm-test.inc (logb_test) : Additional logb tests.
68193 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68194             Andreas Jaeger  <aj@suse.de>
68196         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68197         * configure: Regenerated.
68198         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68199         * config.make.in (link-obsolete-rpc): New substituted variable.
68200         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68201         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68202         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68203         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68204         so that libc.a contains the symbols.
68205         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68206         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68207         * sunrpc/auth_none.c: Likewise.
68208         * sunrpc/auth_unix.c: Likewise.
68209         * sunrpc/authdes_prot.c: Likewise.
68210         * sunrpc/authuxprot.c: Likewise.
68211         * sunrpc/clnt_gen.c: Likewise.
68212         * sunrpc/clnt_perr.c: Likewise.
68213         * sunrpc/clnt_raw.c: Likewise.
68214         * sunrpc/clnt_simp.c: Likewise.
68215         * sunrpc/clnt_tcp.c: Likewise.
68216         * sunrpc/clnt_udp.c: Likewise.
68217         * sunrpc/clnt_unix.c: Likewise.
68218         * sunrpc/des_crypt.c: Likewise.
68219         * sunrpc/des_soft.c: Likewise.
68220         * sunrpc/get_myaddr.c: Likewise.
68221         * sunrpc/key_call.c: Likewise.
68222         * sunrpc/key_prot.c: Likewise.
68223         * sunrpc/netname.c: Likewise.
68224         * sunrpc/pm_getmaps.c: Likewise.
68225         * sunrpc/pm_getport.c: Likewise.
68226         * sunrpc/pmap_clnt.c: Likewise.
68227         * sunrpc/pmap_prot.c: Likewise.
68228         * sunrpc/pmap_prot2.c: Likewise.
68229         * sunrpc/pmap_rmt.c: Likewise.
68230         * sunrpc/publickey.c: Likewise.
68231         * sunrpc/rpc_cmsg.c: Likewise.
68232         * sunrpc/rpc_common.c: Likewise.
68233         * sunrpc/rpc_dtable.c: Likewise.
68234         * sunrpc/rpc_prot.c: Likewise.
68235         * sunrpc/rpc_thread.c: Likewise.
68236         * sunrpc/rtime.c: Likewise.
68237         * sunrpc/svc.c: Likewise.
68238         * sunrpc/svc_auth.c: Likewise.
68239         * sunrpc/svc_raw.c: Likewise.
68240         * sunrpc/svc_run.c: Likewise.
68241         * sunrpc/svc_tcp.c: Likewise.
68242         * sunrpc/svc_udp.c: Likewise.
68243         * sunrpc/svc_unix.c: Likewise.
68244         * sunrpc/svcauth_des.c: Likewise.
68245         * sunrpc/xcrypt.c: Likewise.
68246         * sunrpc/xdr.c: Likewise.
68247         * sunrpc/xdr_array.c: Likewise.
68248         * sunrpc/xdr_float.c: Likewise.
68249         * sunrpc/xdr_intXX_t.c: Likewise.
68250         * sunrpc/xdr_mem.c: Likewise.
68251         * sunrpc/xdr_rec.c: Likewise.
68252         * sunrpc/xdr_ref.c: Likewise.
68253         * sunrpc/xdr_sizeof.c: Likewise.
68254         * sunrpc/xdr_stdio.c: Likewise.
68256 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68258         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68259         change.  Update copyright years.
68261 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68263         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68265 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68266             Joseph Myers  <joseph@codesourcery.com>
68267             Paul Pluzhnikov  <ppluzhnikov@google.com>
68269         [BZ #14012]
68270         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68271         requiring rpcgen.
68272         [cross-compiling] (extra-libs): Likewise.
68273         [cross-compiling] (extra-libs-others): Likewise.
68274         [cross-compiling] (librpcsvc-routines): Likewise.
68275         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68276         [cross-compiling] (omit-deps): Likewise.
68277         (sunrpc-CPPFLAGS): New variable.
68278         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68279         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68280         (cross-rpcgen-objs): New variable.
68281         (extra-objs): Append $(cross-rpcgen-objs).
68282         ($(cross-rpcgen-objs)): New rule.
68283         ($(objpfx)cross-rpcgen): Likewise.
68284         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68285         comment.
68286         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68287         ($(objpfx)x%.stmp): Likewise.
68288         * sunrpc/proto.h [IS_IN_build] (_): Define.
68289         [IS_IN_build] (_libc_intl_domainname): Likewise.
68291 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68294         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68295         and R_X86_64_TPOFF64.
68297 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68299         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68300         sysdeps/unix/sysv/syscalls.list.
68301         (stime): Likewise.
68302         (utime): Likewise.
68303         * sysdeps/unix/sysv/syscalls.list: Remove file.
68305 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68307         [BZ #3440]
68308         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68309         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68310         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68311         (__LC_IDENTIFICATION): Make these macros useful in #if
68312         expressions, as required by C99.
68314 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68316         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68317         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68318         after this.
68320 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68322         * stdlib/longlong.h: Updated from GCC.
68324 2012-05-09  Andreas Jaeger  <aj@suse.de>
68326         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68327         default is first entry.
68328         (run_mode): Set type.
68329         (main): Remove informal message about syslog.
68330         (options): Fix typo.
68332         [BZ #14053]
68333         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68334         to asm.
68335         (lrint): Likewise.
68336         (llrintf): Likewise.
68337         (llrint): Likewise.
68338         (rint): Likewise.
68339         (rintf): Likewise.
68340         (nearbyint): Likewise.
68341         (nearbyintf): Likewise.
68343 2012-05-09  Andreas Jaeger  <aj@suse.de>
68344             Pedro Alves  <palves@redhat.com>
68346         * nscd/nscd.c (run_mode): Use enum.
68347         (main): Cleanup coding style issue.
68349 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68350             Andreas Jaeger  <aj@suse.de>
68352         * nscd/nscd.c (go_background): Replaced with...
68353         (run_mode): ... this.
68354         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68355         (options): Add -F --foreground.
68356         (main): Implement it.
68357         (parse_opt): Parse it.
68359 2012-05-09  Andreas Jaeger  <aj@suse.de>
68361         [BZ #14083]
68362         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68363         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68364         -Wconversion warning.
68365         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68366         Likewise.
68368 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68370         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68371         == 0.
68372         (LC_ALL): Use macro-int-constant.
68373         (LC_COLLATE): Likewise.
68374         (LC_CTYPE): Likewise.
68375         (LC_MESSAGES): Likewise.
68376         (LC_MONETARY): Likewise.
68377         (LC_NUMERIC): Likewise.
68378         (LC_TIME): Likewise.
68379         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68380         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68382         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68383         Specify type.
68384         [C99-based standards] (float_t): Expect type.
68385         [C99-based standards] (double_t): Expect type.
68386         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68387         type.
68388         [C99-based standards] (HUGE_VALL): Likewise.
68389         [C99-based standards] (INFINITY): Likewise.
68390         [C99-based standards] (NAN): Likewise.
68391         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68392         [C99-based standards] (FP_NAN): Likewise.
68393         [C99-based standards] (FP_NORMAL): Likewise.
68394         [C99-based standards] (FP_SUBNORMAL): Likewise.
68395         [C99-based standards] (FP_ZERO): Likewise.
68396         [C99-based standards] (FP_FAST_FMA): Use
68397         optional-macro-int-constant.  Specify type.  Require == 1.
68398         [C99-based standards] (FP_FAST_FMAF): Likewise.
68399         [C99-based standards] (FP_FAST_FMAL): Likewise.
68400         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68401         [C99-based standards] (FP_ILOGBNAN): Likewise.
68402         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68403         Specify type.
68404         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68405         [C99-based standards] (math_errhandling): Specify type.
68406         [ISO99 || ISO11] (signgam): Do not allow.
68407         [non-C99-based standards] (copysignf): Do not allow.
68408         [non-C99-based standards] (exp2f): Likewise.
68409         [non-C99-based standards] (log2f): Likewise.
68410         [non-C99-based standards] (modff): Allow.
68411         [non-C99-based standards] (erff): Do not allow.
68412         [non-C99-based standards] (erfcf): Likewise.
68413         [non-C99-based standards] (gammaf): Likewise.
68414         [non-C99-based standards] (hypotf): Likewise.
68415         [non-C99-based standards] (j0f): Likewise.
68416         [non-C99-based standards] (j1f): Likewise.
68417         [non-C99-based standards] (jnf): Likewise.
68418         [non-C99-based standards] (lgammaf): Likewise.
68419         [non-C99-based standards] (tgammaf): Likewise.
68420         [non-C99-based standards] (y0f): Likewise.
68421         [non-C99-based standards] (y1f): Likewise.
68422         [non-C99-based standards] (ynf): Likewise.
68423         [non-C99-based standards] (isnanf): Likewise.
68424         [non-C99-based standards] (acoshf): Likewise.
68425         [non-C99-based standards] (asinhf): Likewise.
68426         [non-C99-based standards] (atanhf): Likewise.
68427         [non-C99-based standards] (cbrtf): Likewise.
68428         [non-C99-based standards] (expm1f): Likewise.
68429         [non-C99-based standards] (ilogbf): Likewise.
68430         [non-C99-based standards] (log1pf): Likewise.
68431         [non-C99-based standards] (logbf): Likewise.
68432         [non-C99-based standards] (nextafterf): Likewise.
68433         [non-C99-based standards] (remainderf): Likewise.
68434         [non-C99-based standards] (rintf): Likewise.
68435         [non-C99-based standards] (scalbf): Likewise.
68436         [non-C99-based standards] (copysignl): Likewise.
68437         [non-C99-based standards] (exp2l): Likewise.
68438         [non-C99-based standards] (log2l): Likewise.
68439         [non-C99-based standards] (modfl): Allow.
68440         [non-C99-based standards] (erfl): Do not allow.
68441         [non-C99-based standards] (erfcl): Likewise.
68442         [non-C99-based standards] (gammal): Likewise.
68443         [non-C99-based standards] (hypotl): Likewise.
68444         [non-C99-based standards] (j0l): Likewise.
68445         [non-C99-based standards] (j1l): Likewise.
68446         [non-C99-based standards] (jnl): Likewise.
68447         [non-C99-based standards] (lgammal): Likewise.
68448         [non-C99-based standards] (tgammal): Likewise.
68449         [non-C99-based standards] (y0l): Likewise.
68450         [non-C99-based standards] (y1l): Likewise.
68451         [non-C99-based standards] (ynl): Likewise.
68452         [non-C99-based standards] (isnanl): Likewise.
68453         [non-C99-based standards] (acoshl): Likewise.
68454         [non-C99-based standards] (asinhl): Likewise.
68455         [non-C99-based standards] (atanhl): Likewise.
68456         [non-C99-based standards] (cbrtl): Likewise.
68457         [non-C99-based standards] (expm1l): Likewise.
68458         [non-C99-based standards] (ilogbl): Likewise.
68459         [non-C99-based standards] (log1pl): Likewise.
68460         [non-C99-based standards] (logbl): Likewise.
68461         [non-C99-based standards] (nextafterl): Likewise.
68462         [non-C99-based standards] (remainderl): Likewise.
68463         [non-C99-based standards] (rintl): Likewise.
68464         [non-C99-based standards] (scalbl): Likewise.
68465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68466         [non-C99-based standards] (FP_*): Do not allow.
68467         [C99-based standards] (FP_*): Change to
68468         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68469         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68470         allow.
68471         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68472         (SIG_ERR): Likewise.
68473         [X/Open-based standards] (SIG_HOLD): Likewise.
68474         (SIG_IGN): Likewise.
68475         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68476         positive value.
68477         (SIGFPE): Likewise.
68478         (SIGILL): Likewise.
68479         (SIGINT): Likewise.
68480         (SIGSEGV): Likewise.
68481         (SIGTER): Likewise.
68482         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68483         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68484         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68485         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68486         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68487         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68488         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68489         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68490         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68491         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68492         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68493         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68494         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68495         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68496         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68497         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68498         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68499         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68500         [X/Open-based standards] (SIGTRAP): Likewise.
68501         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68502         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68503         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68504         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68505         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68506         allow.
68508 2012-05-08  Ian Wienand  <ianw@vmware.com>
68510         [BZ #14080]
68511         * time/tzset.c (__tzset_parse_tz): Update default rules for
68512         daylight time changes in the Energy Policy Act of 2005.
68514 2012-05-09  Andreas Jaeger  <aj@suse.de>
68516         [BZ #13983]
68517         * elf/ldconfig.c (parse_conf): Change string to make clear that
68518         ldconfig only issued a warning if ld.so.conf does not exist.
68520 2012-05-08  David S. Miller  <davem@davemloft.net>
68522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68523         movxtod instead of popping the value on the stack.
68525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68527 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68529         * config.h.in: Add HAVE_ARM_PCS_VFP.
68531 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68533         [BZ #13979]
68534         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68535         checking but the checks are disabled for any reason.
68537 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68539         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68540         and ELF64_R_TYPE with ELFW(R_TYPE).
68542 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68544         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68545         (ulimit): Likewise.
68547         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68548         (settimeofday): Likewise.
68550 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68552         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68553         a struct th_u2 inside the union, and move tu_block/tu_code into
68554         a new th_u3 union of tu_block/tu_code inside of that.  Move
68555         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68556         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68557         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68558         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68559         (th_stuff): Change to th_u1.tu_stuff.
68560         (th_data): Define.
68561         (th_msg): Change to th_u1.th_u2.tu_data.
68563 2012-05-07  David S. Miller  <davem@davemloft.net>
68565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68567         [BZ #14074]
68568         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68569         (SETUP_PIC_REG): Use it.
68570         (SETUP_PIC_REG_LEAF): Use it.
68572 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68574         [BZ #13885]
68575         [BZ #13923]
68576         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68577         USE_AS_EXPM1L.
68578         (EXPL_FINITE): Likewise.
68579         (FLDLOG): Likewise.
68580         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68581         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68582         e_expl.S.
68583         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68584         USE_AS_EXPM1L.
68585         (EXPL_FINITE): Likewise.
68586         (FLDLOG): Likewise.
68587         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68588         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68589         e_expl.S.
68590         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68591         test of -max_value argument for long double.
68592         * sysdeps/i386/fpu/libm-test-ulps: Update.
68593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68595 2012-05-06  David S. Miller  <davem@davemloft.net>
68597         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68598         quad soft-float symbols whose references which are compiler
68599         generated.
68600         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68602 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68604         [BZ #13884]
68605         [BZ #13914]
68606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68607         USE_AS_EXP10L.
68608         (EXPL_FINITE): Likewise.
68609         (FLDLOG): Likewise.
68610         (c0): Likewise.
68611         (c1): Likewise.
68612         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68613         Adjust comments for base varying.
68614         (__expl_finite): Change alias to EXPL_FINITE.
68615         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68616         e_expl.S.
68617         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68618         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68619         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68620         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68621         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68622         USE_AS_EXP10L.
68623         (EXPL_FINITE): Likewise.
68624         (FLDLOG): Likewise.
68625         (c0): Likewise.
68626         (c1): Likewise.
68627         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68628         Adjust comments for base varying.
68629         (__expl_finite): Change alias to EXPL_FINITE.
68630         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68631         tests for bugs.
68632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68634         [BZ #14064]
68635         * math/libm-test.inc (check_float_internal): Correct ulp
68636         calculation for subnormal expected results.
68638 2012-05-06  Andreas Jaeger  <aj@suse.de>
68640         * Makeconfig (+math-flags): New, set to -frounding-math.
68641         (+cflags): Add +math-flags so that all of glibc gets compiled with
68642         it.
68644         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68646 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68648         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68649         Disable one test.
68651         [BZ #13787]
68652         [BZ #13922]
68653         [BZ #14036]
68654         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68655         (__ieee754_expl): Allow for and saturate large arguments.
68656         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68657         (u_threshold): Likewise.
68658         (__exp): Call __ieee754_exp before checking for overflow and
68659         underflow.
68660         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68661         (u_threshold): Likewise.
68662         (__expf): Call __ieee754_expf before checking for overflow and
68663         underflow.
68664         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68665         (u_threshold): Likewise.
68666         (__expl): Call __ieee754_expl before checking for overflow and
68667         underflow.
68668         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68669         (__ieee754_expl): Allow for and saturate large arguments.
68670         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68671         missing overflow exception on overflow.
68672         (expm1_test): Do not allow missing overflow exception on overflow.
68674         * sysdeps/i386/fpu/e_expl.c: Move to ...
68675         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68676         rather than using inline asm.
68677         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68678         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68679         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68681         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68682         (nice): Likewise.
68683         (poll): Likewise.
68684         (signal): Likewise.
68685         (time): Likewise.
68686         (times): Likewise.
68688 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68690         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68691         sysdeps/unix/common/syscalls.list.
68692         (fchmod): Likewise.
68693         (fchown): Likewise.
68694         (ftruncate): Likewise.
68695         (getrusage): Likewise.
68696         (gettimeofday): Likewise.
68697         (setpgid): Likewise.
68698         (setregid): Likewise.
68699         (setreuid): Likewise.
68700         (sigaction): Likewise.
68701         (truncate): Likewise.
68702         (vhangup): Likewise.
68703         * sysdeps/unix/common/syscalls.list: Remove file.
68704         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68705         * sysdeps/unix/sysv/linux/Implies: Likewise.
68707 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68709         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68711         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68712         Moved to ...
68713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68714         Here.
68715         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68716         to ...
68717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68718         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68719         to ...
68720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68721         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68722         to ...
68723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68724         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68725         to ...
68726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68727         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68728         to ...
68729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68730         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68731         to ...
68732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68733         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68734         to ...
68735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68736         Here.
68737         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68738         to ...
68739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68740         Here.
68741         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68742         to ...
68743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68744         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68745         Moved to ...
68746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68747         Here.
68748         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68749         to ...
68750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68752 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68754         * sysdeps/unix/common/bits/dirent.h: Remove file.
68755         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68757         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68758         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68759         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68760         * sysdeps/unix/bsd/isatty.c: Likewise.
68761         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68762         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68763         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68765 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68767         [BZ #13563]
68768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68769         long double comparison inaccuracies.
68770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68773 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68775         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68776         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68778 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68780         [BZ #14049]
68781         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68782         nonzero digits before rounding a hex value.
68783         * stdlib/tst-strtod.c (tests): Add another test.
68785 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68787         * sysdeps/s390/fpu/libm-test-ulps: Update.
68789 2012-05-03  Andreas Jaeger  <aj@suse.de>
68791         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68792         does not get optimized out.
68793         (malloc_opt_barrier): New.
68795 2012-05-03  Andreas Jaeger  <aj@suse.de>
68796             Roland McGrath  <roland@hack.frob.com>
68798         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68799         intermediate file deletion.
68800         (generated): Add .symlist files.
68802 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68804         [BZ #13775]
68805         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68806         Redirect under this condition.
68807         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68808         [__USE_GNU] (__dprintf_chk): Not under this condition.
68809         [__USE_GNU] (__vdprintf_chk): Likewise.
68810         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68811         under this condition.
68812         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68813         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68814         [__USE_XOPEN2K8] (vdprintf): Likewise.
68815         [__USE_GNU] (__dprintf_chk): Not under this condition.
68816         [__USE_GNU] (__vdprintf_chk): Likewise.
68817         [__USE_GNU] (dprintf): Likewise.
68818         [__USE_GNU] (vdprintf): Likewise.
68820 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68822         * elf/Makefile (common-generated): Set this instead of generated for
68823         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68824         $(all-built-dso)-derived lists.
68826 2012-05-03  Andreas Jaeger  <aj@suse.de>
68828         * sysdeps/i386/fpu/libm-test-ulps: Update.
68830         * FAQ: Removed.
68831         * FAQ.in: Likewise.
68832         * scripts/gen-FAQ.pl: Likewise.
68833         * manual/install.texi (Installation): Point to online location of
68834         FAQ.
68835         * Makefile (files-for-dist): Remove FAQ.
68836         (FAQ): Remove.
68838 2012-05-02  Allan McRae  <allan@archlinux.org>
68840         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68841         (LDFLAGS-reldepmod5.so): Likewise.
68842         (LDFLAGS-reldep6mod1.so): Likewise.
68843         (LDFLAGS-reldep6mod4.so): Likewise.
68844         (LDFLAGS-reldep8mod3.so): Likewise.
68845         (LDFLAGS-unload4mod1.so): Likewise.
68846         (LDFLAGS-unload4mod2.so): Likewise.
68847         (LDFLAGS-tst-initorder): Likewise.
68848         (LDFLAGS-tst-initordera2.so): Likewise.
68849         (LDFLAGS-tst-initordera3.so): Likewise.
68850         (LDFLAGS-tst-initordera4.so): Likewise.
68851         (LDFLAGS-tst-initorderb2.so): Likewise.
68852         (LDFLAGS-noload): Likewise.
68853         (LDFLAGS-next): Likewise.
68854         (LDFLAGS-order2mod1.so): Likewise.
68855         (LDFLAGS-order2mod2.so): Likewise.
68856         (LDFLAGS-tst-initorder2): Likewise.
68857         (LDFLAGS-tst-initorder2a.so): Likewise.
68858         (LDFLAGS-tst-initorder2b.so): Likewise.
68859         (LDFLAGS-tst-initorder2c.so): Likewise.
68860         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68862 2012-05-02  David S. Miller  <davem@davemloft.net>
68864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68866 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68868         [BZ #14055]
68869         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68871 2012-05-02  Andreas Jaeger  <aj@suse.de>
68873         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68874         since we manipulate rounding mode.
68875         (CPPFLAGS-test-idouble.c): Likewise.
68876         (CPPFLAGS-test-ifloat.c): Likewise.
68877         (CFLAGS-test-ldouble.c): Likewise.
68878         (CFLAGS-test-double.c): Likewise.
68879         (CFLAGS-test-float.c): Likewise.
68880         (CFLAGS-test-misc.c): Likewise.
68881         (CFLAGS-test-test-fenv.c): Likewise.
68883 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68885         [BZ #2550]
68886         [BZ #2570]
68887         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68888         comparisons to determine direction to adjust input.
68890 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68892         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68893         output to the target.
68895         * scripts/localplt.awk: New file.
68896         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68897         (check-localplt-CFLAGS): Variable removed.
68898         ($(all-built-dso:=.jmprel)): New static pattern rule.
68899         (generated): Add those targets.
68900         (localplt-built-dso): New variable.
68901         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68903         * elf/check-localplt.c: File removed.
68905         * scripts/check-execstack.awk: New file.
68906         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68907         (check-execstack-CFLAGS): Variable removed.
68908         ($(objpfx)check-execstack.h): Target removed.
68909         ($(objpfx)execstack-default): New target.
68910         (generated): Add that instead of check-execstack.h.
68911         ($(all-built-dso:=.phdr)): New static pattern rule.
68912         (generated): Add those targets.
68913         * elf/check-execstack.c: File removed.
68915         * scripts/check-textrel.awk: New file.
68916         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68917         (check-textrel-CFLAGS): Variable removed.
68918         (all-built-dso): Use := to define.o
68919         ($(all-built-dso:=.dyn)): New static pattern rule.
68920         (generated): Add those targets.
68921         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68922         * config.make.in (READELF): New substituted variable.
68923         * elf/check-textrel.c: File removed.
68925 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68927         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68928         allow.
68929         * conform/data/ctype.h-data [C99-based standards] (isblank):
68930         Expect function.
68931         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68932         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68934         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68935         Specify type.  Require positive value.
68936         (EILSEQ): Likewise.
68937         (ERANGE): Likewise.
68938         [ISO || POSIX] (EILSEQ): Do not expect.
68939         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68940         Specify type.  Require positive value.
68941         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68942         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68943         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68944         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68945         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68946         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68947         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68948         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68949         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68950         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68951         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68952         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68953         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68954         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68955         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68956         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68957         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68958         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68959         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68960         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68961         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68962         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68963         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68964         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68965         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68966         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68967         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68968         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68969         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68970         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68971         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68972         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68973         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68974         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68975         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68976         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68977         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68978         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68979         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68980         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68981         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68982         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68983         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68984         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68985         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68986         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68987         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68988         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68989         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68990         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68991         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68992         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68993         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68994         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68995         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68996         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68997         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68998         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68999         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69000         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69001         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69002         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69003         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69004         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69005         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69006         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69007         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69008         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69009         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69010         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69011         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69012         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69013         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69014         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69015         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69016         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69017         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69018         Require >= 2.
69019         (FLT_ROUNDS): Expect as macro, not constant.
69020         (FLT_MANT_DIG): Use macro-int-constant.
69021         (DBL_MANT_DIG): Likewise.
69022         (LDBL_MANT_DIG): Likewise.
69023         (FLT_DIG): Likewise.
69024         (DBL_DIG): Likewise.
69025         (LDBL_DIG): Likewise.
69026         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69027         (DBL_MIN_EXP): Likewise.
69028         (LDBL_MIN_EXP): Likewise.
69029         (FLT_MAX_EXP): Use macro-int-constant.
69030         (DBL_MAX_EXP): Likewise.
69031         (LDBL_MAX_EXP): Likewise.
69032         (FLT_MAX_10_EXP): Likewise.
69033         (DBL_MAX_10_EXP): Likewise.
69034         (LDBL_MAX_10_EXP): Likewise.
69035         (FLT_MAX): Use macro-constant.
69036         (DBL_MAX): Likewise.
69037         (LDBL_MAX): Likewise.
69038         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69039         (DBL_EPSILON): Likewise.
69040         (LDBL_EPSILON): Likewise.
69041         (FLT_MIN): Likewise.
69042         (DBL_MIN): Likewise.
69043         (LDBL_MIN): Likewise.
69044         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69045         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69046         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69047         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69048         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69049         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69050         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69051         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69052         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69053         [ISO11] (FLT_TRUE_MIN): Likewise.
69054         [ISO11] (LDBL_TRUE_MIN): Likewise.
69055         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69056         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69057         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69058         (SCHAR_MAX): Likewise.
69059         (UCHAR_MAX): Likewise.
69060         (CHAR_MIN): Likewise.
69061         (CHAR_MAX): Likewise.
69062         (MB_LEN_MAX): Use macro-int-constant.
69063         (SHRT_MIN): Use macro-int-constant.  Specify type.
69064         (SHRT_MAX): Likewise.
69065         (USHRT_MAX): Likewise.
69066         (INT_MAX): Likewise.
69067         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69068         bound negative.
69069         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69070         bound with "U".
69071         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69072         bound with "L".
69073         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69074         bound negative.  Suffix upper bound with "L".
69075         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69076         bound with "UL".
69077         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69078         Specify type.
69079         [C99-based standards] (LLONG_MAX): Likewise.
69080         [C99-based standards] (ULLONG_MAX): Likewise.
69081         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69082         == 0.
69083         [ISO11] (max_align_t): Require type.
69084         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69086         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69087         from $CFLAGS, without defining away __attribute__ calls.
69088         (checknamespace): Use $CFLAGS_namespace.
69090         * conform/conformtest.pl (@keywords): Only include C99 keywords
69091         for standards based on C99 or C11.
69093         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69094         Disable tests.
69095         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69096         UNIX98]: Likewise.
69098         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69099         usability of symbols in #if.
69101         * conform/conformtest.pl: If macro or constant types start
69102         "promoted:", expect the symbol to be of the following type
69103         promoted by the integer promotions.
69105         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69106         in one place.  Also handle "macro-constant".
69108         * conform/conformtest.pl: Only accept expected macro values with
69109         "==".  Parse all "macro" lines in one place.
69110         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69112         * conform/conformtest.pl: Handle braced types on "constant" lines
69113         instead of handling "typed-constant".
69114         * conform/data/signal.h-data: Use "constant" instead of
69115         "typed-constant".
69117         * conform/conformtest.pl: Handle "optional-" at start of lines in
69118         one place rather than duplicating several cases.  Handle each
69119         format of "macro" line with initial "optional-".
69121         * conform/conformtest.pl: Only accept expected constant or
69122         optional-constant values with "==".  Parse all "constant" lines in
69123         one place.  Parse all "optional-constant" lines in one place.
69124         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69125         * conform/data/fmtmsg.h-data: Likewise.
69126         * conform/data/netinet/in.h-data: Likewise.
69127         * conform/data/tar.h-data: Likewise.
69128         * conform/data/limits.h-data: Use "==" form on "constant" and
69129         "optional-constant" lines.
69131         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69132         Use -std=c99 for XOPEN2K.
69133         (@knownproblems): Remove.
69134         (newtoken): Don't check %isknown.
69136         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69137         Do not expect macro.
69138         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69139         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69140         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69141         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69142         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69143         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69144         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69145         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69146         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69147         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69148         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69149         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69150         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69151         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69152         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69153         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69154         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69155         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69156         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69157         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69158         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69159         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69160         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69161         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69162         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69163         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69164         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69165         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69166         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69167         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69168         [XPG3] (acosh): Likewise.
69169         [XPG3] (asinh): Likewise.
69170         [XPG3] (atanh): Likewise.
69171         [XPG3] (cbrt): Likewise.
69172         [XPG3] (expm1): Likewise.
69173         [XPG3] (ilogb): Likewise.
69174         [XPG3] (log1p): Likewise.
69175         [XPG3] (logb): Likewise.
69176         [XPG3] (nextafter): Likewise.
69177         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69178         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69179         [XPG3] (remainder): Likewise.
69180         [XPG3] (rint): Likewise.
69181         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69182         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69183         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69184         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69185         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69186         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69187         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69188         [UNIX98 || XOPEN2K] (scalb): Expect.
69189         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69190         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69191         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69192         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69193         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69194         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69195         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69196         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69197         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69198         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69199         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69200         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69201         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69202         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69203         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69204         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69205         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69206         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69207         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69208         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69209         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69210         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69211         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69212         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69213         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69214         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69215         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69216         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69217         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69218         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69219         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69220         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69221         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69222         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69223         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69224         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69225         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69226         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69227         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69228         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69229         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69230         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69231         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69232         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69233         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69234         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69235         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69236         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69237         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69238         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69239         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69240         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69241         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69242         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69243         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69244         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69245         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69246         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69247         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69248         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69249         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69250         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69251         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69252         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69253         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69254         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69255         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69256         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69257         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69258         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69259         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69260         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69261         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69262         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69263         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69264         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69265         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69266         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69267         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69268         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69269         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69270         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69271         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69272         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69273         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69274         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69275         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69276         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69277         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69278         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69279         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69280         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69281         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69282         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69283         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69284         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69285         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69286         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69287         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69288         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69289         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69290         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69291         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69292         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69293         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69294         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69295         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69296         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69297         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69298         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69299         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69300         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69301         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69302         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69303         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69304         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69305         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69306         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69307         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69308         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69309         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69310         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69311         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69312         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69313         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69314         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69315         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69316         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69317         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69318         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69319         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69320         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69321         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69322         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69323         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69324         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69325         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69327         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69328         _XOPEN_SOURCE_EXTENDED for XPG4.
69330         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69332         * Makeconfig (localtime): Remove variable.
69333         (inst_localtime-file): Likewise.
69335 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69338         Update.
69339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69340         Update.
69341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69342         Update.
69343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69344         Update.
69345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69346         Update.
69347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69348         Update.
69349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69350         Update.
69351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69352         Update.
69353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69354         Update.
69356 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69358         [BZ #2550]
69359         [BZ #2570]
69360         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69361         comparisons to determine direction to adjust input.
69362         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69363         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69364         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69365         Likewise.
69366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69367         Likewise.
69368         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69369         Likewise.
69370         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69371         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69372         Likewise.
69373         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69374         Likewise.
69375         * math/libm-test.inc (nexttoward_test): Add more tests.
69377 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69379         [BZ #14040]
69380         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69381         in version GLIBC_2.1, not GLIBC_2.0.
69382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69383         Likewise.
69385 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69387         [BZ #13942]
69388         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69389         (1 - x) * (1 + x).
69390         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69391         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69392         * math/libm-test.inc (acos_test): Add more tests.
69393         (asin_test): Likewise.
69394         * sysdeps/i386/fpu/libm-test-ulps: Update.
69395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69397         [BZ #14034]
69398         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69399         of square root.
69400         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69401         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69402         * math/libm-test.inc (acos_test_tonearest): New function.
69403         (acos_test_towardzero): Likewise.
69404         (acos_test_downward): Likewise.
69405         (acos_test_upward): Likewise.
69406         (asin_test_tonearest): Likewise.
69407         (asin_test_towardzero): Likewise.
69408         (asin_test_downward): Likewise.
69409         (asin_test_upward): Likewise.
69410         (main): Call the new functions.
69411         * sysdeps/i386/fpu/libm-test-ulps: Update.
69412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69414         [BZ #13884]
69415         [BZ #13924]
69416         * math/e_exp10.c: Include <float.h>.
69417         (__ieee754_exp10): Handle underflow here rather than multiplying
69418         large negative argument by M_LN10.
69419         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69420         of __ieee754_expf.
69421         * math/e_exp10l.c: Include <float.h>.
69422         (__ieee754_exp10l): Handle underflow here rather than multiplying
69423         large negative argument by M_LN10l.
69424         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69425         spurious overflow exception on underflow.
69427 2012-04-29  Marek Polacek  <polacek@redhat.com>
69429         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69430         (__fortify_function): New macro.
69431         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69432         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69433         __extern_always_inline.
69434         * libio/bits/stdio2.h: Likewise.
69435         * libio/bits/stdio.h: Likewise.
69436         * string/string.h: Likewise.
69437         * string/bits/string3.h: Likewise.
69438         * include/stdio.h: Likewise.
69439         * stdlib/bits/stdlib.h: Likewise.
69440         * stdlib/stdlib.h: Likewise.
69441         * rt/bits/mqueue2.h: Likewise.
69442         * rt/mqueue.h: Likewise.
69443         * posix/bits/unistd.h: Likewise.
69444         * posix/unistd.h: Likewise.
69445         * io/bits/poll2.h: Likewise.
69446         * io/bits/fcntl2.h: Likewise.
69447         * io/fcntl.h: Likewise.
69448         * io/sys/poll.h: Likewise.
69449         * misc/bits/syslog.h: Likewise.
69450         * misc/bits/syslog-ldbl.h: Likewise.
69451         * misc/sys/syslog.h: Likewise.
69452         * socket/bits/socket2.h: Likewise.
69453         * socket/sys/socket.h: Likewise.
69454         * debug/tst-chk1.c: Likewise.
69455         * wcsmbs/bits/wchar2.h: Likewise.
69456         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69457         * wcsmbs/wchar.h: Likewise.
69459 2012-04-29  Andreas Jaeger  <aj@suse.de>
69461         * Makerules (tests): Remove enable-check-abi protection.
69462         (check-abi-warn): Remove.
69463         (check-abi-%): Remove check-abi-warn usage.
69465         * configure.in: Remove check-abi configure option.
69466         * configure: Regenerated.
69467         * config.make.in (enable-check-abi): Remove.
69469 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69471         [BZ #14033]
69472         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69473         double functions to double *_finite functions.
69475         [BZ #13941]
69476         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69477         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69478         LDBL_MIN_EXP.
69479         * stdio-common/Makefile (tests): Add tst-sprintf3.
69480         * stdio-common/tst-sprintf3.c: New file.
69482         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69483         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69485 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69487         * conform/conformtest.pl: Remove duplicate typed-constant
69488         handling.
69490 2012-04-28  David S. Miller  <davem@davemloft.net>
69492         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69493         (check-abi-%): Remove AWK script prerequisite and explicit
69494         abilist directory.
69495         (check-abi): Rewrite to just diff the symlist with the abilist.
69496         (config-tls, config-abi-config): Delete, no longer used.
69497         (update-abi-%): Remove AWK script and explicit abilist directory.
69498         (update-abi): Rewrite to simply compare and conditionally copy the
69499         symlist and the sysdep abilist file.  Remove update-abi-config
69500         checks.
69501         * abilist/ld.abilist: Remove.
69502         * abilist/libBrokenLocale.abilist: Remove.
69503         * abilist/libanl.abilist: Remove.
69504         * abilist/libcrypt.abilist: Remove.
69505         * abilist/libdl.abilist: Remove.
69506         * abilist/librt.abilist: Remove.
69507         * abilist/libthread_db.abilist: Remove.
69508         * abilist/libutil.abilist: Remove.
69509         * scripts/extract-abilist.awk: Remove.
69510         * scripts/merge-abilist.awk: Remove.
69511         * sysdeps/generic/libcidn.abilist: New file.
69512         * sysdeps/generic/libnss_compat.abilist: New file.
69513         * sysdeps/generic/libnss_db.abilist: New file.
69514         * sysdeps/generic/libnss_dns.abilist: New file.
69515         * sysdeps/generic/libnss_files.abilist: New file.
69516         * sysdeps/generic/libnss_hesiod.abilist: New file.
69517         * sysdeps/generic/libnss_nis.abilist: New file.
69518         * sysdeps/generic/libnss_nisplus.abilist: New file.
69519         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69520         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69521         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69522         file.
69523         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69524         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69525         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69526         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69527         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69528         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69529         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69530         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69531         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69532         file.
69533         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69534         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69535         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69536         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69537         file.
69538         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69539         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69540         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69541         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69542         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69543         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69544         file.
69545         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69546         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69547         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69548         file.
69549         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69551         New file.
69552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69553         New file.
69554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69555         New file.
69556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69557         New file.
69558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69559         New file.
69560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69561         New file.
69562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69563         New file.
69564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69565         New file.
69566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69567         New file.
69568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69569         New file.
69570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69571         New file.
69572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69573         New file.
69574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69575         New file.
69576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69577         file.
69578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69579         New file.
69580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69581         New file.
69582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69583         file.
69584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69585         New file.
69586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69587         New file.
69588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69589         file.
69590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69591         New file.
69592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69593         New file.
69594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69595         New file.
69596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69597         New file.
69598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69599         New file.
69600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69601         New file.
69602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69604         file.
69605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69606         New file.
69607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69608         file.
69609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69610         file.
69611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69612         file.
69613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69614         file.
69615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69616         file.
69617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69618         New file.
69619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69620         file.
69621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69622         file.
69623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69624         New file.
69625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69626         file.
69627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69629         file.
69630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69631         New file.
69632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69633         file.
69634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69635         file.
69636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69637         file.
69638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69639         file.
69640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69641         file.
69642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69643         New file.
69644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69645         file.
69646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69647         file.
69648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69649         New file.
69650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69651         file.
69652         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69653         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69654         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69655         file.
69656         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69657         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69658         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69659         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69660         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69661         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69662         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69663         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69664         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69665         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69668         file.
69669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69670         New file.
69671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69672         file.
69673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69674         file.
69675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69676         file.
69677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69678         file.
69679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69680         file.
69681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69682         New file.
69683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69684         New file.
69685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69686         file.
69687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69688         New file.
69689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69690         file.
69691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69693         file.
69694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69695         New file.
69696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69697         file.
69698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69699         file.
69700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69701         file.
69702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69703         file.
69704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69705         file.
69706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69707         New file.
69708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69709         New file.
69710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69711         file.
69712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69713         New file.
69714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69715         file.
69717 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69719         * conform/conformtest.pl: Fix typo in handling typed-constant from
69720         allow-header.
69722 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69724         * README: Cut down references to pre-2.6 Linux kernels and
69725         Linuxthreads.  Update lists of configurations in libc and ports
69726         and sort alphabetically.  Say "or newer" with Linux kernel version
69727         requirements.
69729         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69731 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69733         [BZ #887]
69734         * math/libm-test.inc (logb_test_downward): New test to expose
69735         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69736         rounding mode.
69738 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69740         [BZ #14027]
69741         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69742         to be done.
69743         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69744         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69746 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69748         * sysdeps/unix/i386/brk.S: Remove file.
69749         * sysdeps/unix/i386/dl-brk.S: Likewise.
69750         * sysdeps/unix/i386/pipe.S: Likewise.
69751         * sysdeps/unix/i386/sigreturn.S: Likewise.
69752         * sysdeps/unix/i386/syscall.S: Likewise.
69753         * sysdeps/unix/i386/vfork.S: Likewise.
69754         * sysdeps/unix/i386/wait.S: Likewise.
69756         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69757         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69759         * configure.in (arm*-none*): Do not allow without
69760         --enable-hacker-mode.
69761         (netbsd*): Remove case setting base_os.
69762         (386bsd*): Likewise.
69763         (freebsd*): Likewise.
69764         (bsdi*): Likewise.
69765         (osf*): Likewise.
69766         (sunos*): Likewise.
69767         (ultrix*): Likewise.
69768         (newsos*): Likewise.
69769         (dynix*): Likewise.
69770         (*bsd*): Likewise.
69771         (sysv*): Likewise.
69772         (isc*): Likewise.
69773         (esix*): Likewise.
69774         (sco*): Likewise.
69775         (minix*): Likewise.
69776         (irix4*): Likewise.
69777         (irix6*): Likewise.
69778         (solaris[2-9]*): Likewise.
69779         (none): Likewise.
69780         * configure: Regenerated.
69782 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69784         [BZ #11521]
69785         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69786         overflow or cancellation in calculating denominator.
69787         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69789         down expression to avoid unexpected rounding in newer GCCs.
69790         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69792 2012-04-26  David S. Miller  <davem@davemloft.net>
69794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69795         long-double compat symbols.
69796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69810 2012-04-25  David S. Miller  <davem@davemloft.net>
69812         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69813         HWCAP_* values only after the memory barriers have been defined.
69814         (atomic_full_barrier): Define.
69815         (atomic_read_barrier): Define.
69816         (atomic_write_barrier): Define.
69818 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69820         * shlib-versions: Add libgcc_s version information.
69821         * sysdeps/generic/libgcc_s.h: Remove.
69822         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69823         libgcc_s.h.
69824         * sysdeps/gnu/unwind-resume.c: Likewise.
69825         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69827 2012-04-25  David S. Miller  <davem@davemloft.net>
69829         * sysdeps/unix/sparc/brk.S: Delete.
69830         * sysdeps/unix/sparc/dl-brk.S: Delete.
69831         * sysdeps/unix/sparc/pipe.S: Delete.
69832         * sysdeps/unix/sparc/sysdep.S: Delete.
69833         * sysdeps/unix/sparc/sysdep.h: Delete.
69834         * sysdeps/unix/sparc/vfork.S: Delete.
69835         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69836         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69837         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69838         (ret_ERRVAL, r0, r1, MOVE): Define.
69839         (JUMPTARGET): Remove.
69840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69841         sysdeps/unix/sparc/sysdep.h
69842         (ENTRY, END): Remove.
69843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69845 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69847         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69848         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69849         -DIS_IN_build.
69851         * timezone/README: Update upstream location and email address for
69852         tzcode and tzdata.
69853         * timezone/zdump.c: Update from tzcode 2012b.
69854         * timezone/zic.c: Likewise.
69856         * configure.in (libc_cv_as_needed): Remove test.
69857         * configure: Regenerated.
69858         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69859         conditional definition.
69860         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69861         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69862         * config.make.in (have-as-needed): Remove variable.
69864 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69865             Paul Pluzhnikov  <ppluzhnikov@google.com>
69867         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69868         strings correctly.
69870 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69872         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69873         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69874         * sysdeps/sh/strlen.S: Likewise.
69876 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69878         * sysdeps/unix/fork.S: Remove file.
69879         * sysdeps/unix/i386/fork.S: Likewise.
69880         * sysdeps/unix/sparc/fork.S: Likewise.
69882         * sysdeps/unix/system.c: Remove file.
69883         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69885         * sysdeps/unix/getegid.S: Remove file.
69886         * sysdeps/unix/geteuid.S: Likewise.
69888 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69890         * scripts/check-localplt.awk: New file.
69891         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69892         of diff.
69893         * scripts/data/localplt-generic.data: Add a comment.
69895         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69896         NODE when __dir_mkfile failed.
69897         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69898         Reported by Ludovic Courtès <ludo@gnu.org>.
69900 2012-04-24  Andreas Jaeger  <aj@suse.de>
69902         * Makerules (common-clean): Also remove gen-as-const-headers
69903         files.
69905 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69907         * Makerules (native-compile): Do not change working directory for
69908         build.  Use $(OUTPUT_OPTION) in command.
69909         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69911 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69913         [BZ #13886]
69914         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69915         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69916         * math/libm-test.inc (floor_test): Add more tests.
69917         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69919 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69921         * sysdeps/unix/getdents.c: Remove file.
69922         * sysdeps/unix/sysv/getdents.c: Likewise.
69923         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69925         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69926         sysdeps/unix/mman/syscalls.list.
69927         (mmap): Likewise.
69928         (mprotect): Likewise.
69929         (msync): Likewise.
69930         (munmap): Likewise.
69931         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69932         * sysdeps/unix/mman/syscalls.list: Remove.
69933         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69935         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69936         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69937         * configure: Regenerated.
69938         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69939         $(libgcc_s_suffix).
69940         * config.make.in (libgcc_s_suffix): Remove variable.
69942 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69944         * sysdeps/unix/sysv/gethostname.c: Move to ...
69945         * sysdeps/posix/gethostname.c: ... here.
69947         * sysdeps/unix/execve.S: Remove file.
69949         * sysdeps/unix/_exit.S: Remove file.
69951 2012-04-23  Andreas Jaeger  <aj@suse.de>
69953         [BZ #13739]
69954         * manual/Makefile: Remove make dist support, there's no
69955         need for a stand-alone documentation tar ball.
69956         (TEXI2DVI): Define always, it's not in Makeconfig.
69957         (dist): Removed.
69958         (tar-it): Removed.
69959         (edition): Removed.
69960         (glibc-doc-$(edition).tar): Removed
69961         (%.Z): Removed.
69962         (%.gz): Removed.
69963         (%.uu): Removed.
69964         (ETAGS): Remove, it's in Makeconfig.
69965         (move-if-change): Remove, it's in Makeconfig.
69967 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69969         [BZ #13970]
69970         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69971         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69972         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69973         (strtod_l, strtof_l, strtold_l): Remove __wur.
69974         It is not necessarily an error to ignore strtol's return value.
69975         One can reliably look at the stored endptr to decide whether
69976         the number had valid syntax.
69978 2012-04-21  Andreas Jaeger  <aj@suse.de>
69980         [BZ #13739]
69981         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69983 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69985         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69986         * sysdeps/unix/sysv/Versions: Remove file.
69988 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69990         [BZ #13927]
69991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69993 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69995         [BZ #7064]
69996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69997         version from __vm86.
69999 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70001         * sysdeps/unix/common/lxstat.c: Remove file.
70002         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70004         * sysdeps/unix/sysv/Makefile: Remove file.
70006         * sysdeps/unix/sysv/direct.h: Remove file.
70008         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70009         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70010         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70011         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70012         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70013         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70014         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70016         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70018         * sysdeps/unix/xmknod.c: Remove file.
70019         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70021         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70023         * sysdeps/unix/sysv/i386/time.S: Remove file.
70025         * sysdeps/unix/fxstat.c: Remove file.
70026         * sysdeps/unix/xstat.c: Likewise.
70027         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70029         * sysdeps/unix/sysv/sigaction.c: Remove file.
70031         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70032         (sysdep_headers): Remove variable.
70033         [termio.h not in sysdep_headers] (generated): Likewise.
70034         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70035         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70036         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70037         * sysdeps/unix/sysv/tcflow.c: Likewise.
70038         * sysdeps/unix/sysv/tcflush.c: Likewise.
70039         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70040         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70041         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70042         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70043         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70045         * sysdeps/unix/siglist.c: Remove file.
70047         * sysdeps/unix/getppid.S: Remove file.
70049         * sysdeps/unix/mkdir.c: Remove file.
70050         * sysdeps/unix/rmdir.c: Likewise.
70052 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70054         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70055         ERR_MAX value.
70056         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70057         errlist-compat value.
70059 2012-04-18  David S. Miller  <davem@davemloft.net>
70061         * sysdeps/generic/memcopy.h (reg_char): Delete.
70062         * debug/strcat_chk.c: Use char, not reg_char.
70063         * debug/strcpy_chk.c: Likewise.
70064         * debug/strncat_chk.c: Likewise.
70065         * debug/strncpy_chk.c: Likewise.
70066         * string/memchr.c: Likewise.
70067         * string/memrchr.c: Likewise.
70068         * string/rawmemchr.c: Likewise.
70069         * string/strcat.c: Likewise.
70070         * string/strchr.c: Likewise.
70071         * string/strchrnul.c: Likewise.
70072         * string/strcmp.c: Likewise.
70073         * string/strcpy.c: Likewise.
70074         * string/strncat.c: Likewise.
70075         * string/strncmp.c: Likewise.
70076         * string/strncpy.c: Likewise.
70078 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70080         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70081         __builtin_memcopy is called when src and dest ranges are known to not
70082         overlap.
70084 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70086         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70087         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70088         fwd_align_merge macro call.
70089         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70090         bwd_align_merge macro call.
70091         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70093 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70095         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70096         bwd_align_merge macros.
70097         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70098         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70099         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70101 2012-04-18  David S. Miller  <davem@davemloft.net>
70103         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70105 2012-04-18  Andreas Jaeger  <aj@suse.de>
70107         [BZ# 6794]
70108         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70109         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70110         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70112         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70113         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70116         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70117         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70118         Adjust for changed ldbl-128 files.
70120         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70121         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70122         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70124 2012-04-17  David S. Miller  <davem@davemloft.net>
70126         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70128 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70130         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70131         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70132         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70133         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70134         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70135         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70137 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70139         [BZ #6794]
70140         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70141         * math/libm-test.inc: Add ilogb errno and exception tests.
70142         * math/w_ilogb.c: New file: ilogb wrapper.
70143         * math/w_ilogbf.c: New file: ilogbf wrapper.
70144         * math/w_ilogbl.c: New file: ilogbl wrapper.
70145         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70146         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70147         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70148         exception being thrown with 0.0 as argument.
70149         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70150         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70151         exception being thrown with 0.0 as argument.
70152         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70153         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70154         exception being thrown with 0.0 as argument.
70155         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70156         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70157         exception being thrown with 0.0 as argument.
70158         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70159         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70160         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70161         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70162         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70163         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70164         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70165         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70166         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70168 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70170         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70171         with altivec.
70173 2012-04-16  Marek Polacek  <polacek@redhat.com>
70175         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70177 2012-04-16  Marek Polacek  <polacek@redhat.com>
70179         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70180         operands of fdivp instruction.
70182 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70184         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70185         * elf/tst-auditmod3b.c: Likewise.
70186         * elf/tst-auditmod4b.c: Likewise.
70187         * elf/tst-auditmod5b.c: Likewise.
70188         * elf/tst-auditmod6b.c: Likewise.
70189         * elf/tst-auditmod6c.c: Likewise.
70190         * elf/tst-auditmod7b.c: Likewise.
70191         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70192         * sysdeps/x86_64/preconfigure.in: Likewise.
70193         * sysdeps/x86_64/preconfigure: Regenerated.
70195 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70197         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70198         __ILP32__.
70200 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70202         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70203         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70205 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70207         [BZ #13973]
70208         * locale/iso-639.def: Fix gl language name. Spotted by
70209         Yaron Shahrabani.
70211 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70213         [BZ #2074]
70214         * libio/libio.h (__io_write_fn): Update comment.
70216 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70218         [BZ #2074]
70219         * stdio.texi (Hook Functions): The user provided writer function
70220         is not allowed to return -1.
70222 2012-04-11  David S. Miller  <davem@davemloft.net>
70224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70226 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70228         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70229         Add a leading slash to rtkaio.
70231 2012-04-11  Jim Meyering  <meyering@redhat.com>
70233         [BZ #11959]
70234         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70235         It is not necessarily an error to ignore fwrite's return
70236         value.  One can reliably use ferror to test for errors after
70237         the fact.
70239 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70241         * bits/types.h (__snseconds_t): New type.
70242         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70244         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70245         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70246         (__SNSECONDS_T_TYPE): Likewise.
70247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70248         (__SNSECONDS_T_TYPE): Likewise.
70249         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70250         (__SNSECONDS_T_TYPE): Likewise.
70252 2012-04-10  Andreas Jaeger  <aj@suse.de>
70254         [BZ #2636]
70255         * manual/time.texi (Processor Time): Return type of times is
70256         elapsed real time since an arbitrary point in the past.
70257         (CPU Time): Move CLK_TCK from here...
70258         (Processor Time): ...to here.  Correct description.
70259         * manual/conf.texi (Constants for Sysconf): Correct description of
70260         _SC_CLK_TCK.
70262 2012-04-10  David S. Miller  <davem@davemloft.net>
70264         [BZ #13967]
70265         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70266         where the is a gap between DT_REL(A) and DT_JMPREL.
70268 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70270         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70271         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70272         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70274 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70276         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70277         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70278         (dl_main): Handle --inhibit-cache.
70279         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70280         _dl_inhibit_cache.
70281         * elf/dl-load.c (_dl_map_object): Use it.
70282         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70284 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70286         [BZ #13872]
70287         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70288         (__ieee754_powl): Saturate large exponents rather than testing for
70289         overflow of y*log2(x).
70290         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70291         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70292         exceptions.
70294         [BZ #11521]
70295         * math/s_ctan.c: Include <float.h>.
70296         (__ctan): Avoid internal overflow or cancellation in calculating
70297         denominator.
70298         * math/s_ctanf.c: Likewise.
70299         * math/s_ctanl.c: Likewise.
70300         * math/s_ctanh.c: Likewise.
70301         * math/s_ctanhf.c: Likewise.
70302         * math/s_ctanhl.c: Likewise.
70303         * math/libm-test.inc (ctan_test): Add more tests.
70304         (ctanh_test): Likewise.
70305         * sysdeps/i386/fpu/libm-test-ulps: Update.
70306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70308 2012-04-09  Andreas Jaeger  <aj@suse.de>
70310         [BZ #6894]
70311         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70312         is an optional BSD extension.
70314         [BZ #10254]
70315         * manual/stdio.texi (Opening Streams): Document additional fopen
70316         parameters.
70318 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70320         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70321         %eax without telling the compiler.
70323 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70325         [BZ # 13963]
70326         * manual/install.texi: Use sourceware.org.
70328 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70330         [BZ #13873]
70331         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70332         (__ieee754_pow): Generate overflow and underflow using huge*huge
70333         and tiny*tiny rather than just returning constant infinity or zero
70334         for large exponents.
70335         * math/libm-test.inc (pow_test): Require overflow exceptions for
70336         applicable cases of large exponents.
70338         [BZ #706]
70339         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70340         (__ieee754_pow): Use iterative multiplication algorithm only for
70341         integer exponents with absolute value below 1024.  Check for odd
70342         integer exponents when using algorithm for real exponents.
70343         * math/libm-test.inc (pow_test): Add more tests.
70344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70346 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70348         [BZ #13705]
70349         * math/libm-test.inc (exp_test): Do not allow overflow exception
70350         on underflow test.
70352 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70354         [BZ #13705]
70355         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70356         instead of __kernel_standard_f.
70358 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70360         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70361         * sysdeps/x86_64/memset_chk.S: Likewise.
70363 2012-04-08  Andreas Jaeger  <aj@suse.de>
70365         [BZ #10153]
70366         * manual/startup.texi (Environment Access): Describe return value
70367         for putenv and setenv.
70369         [BZ #6895]
70370         * manual/filesys.texi (Directory Entries): Add description for
70371         DT_LNK.
70373         [BZ #6890]
70374         * manual/filesys.texi (Directory Entries): Clarify that it's file
70375         system not operating system in the description of DT_UNKNOWN.
70377         [BZ #6578]
70378         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70380 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70382         [BZ #6649]
70383         * manual/llio.texi (Opening and Closing Files): Add cross
70384         reference to explain mode argument.
70386 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70388         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70389         * sysdeps/x86_64/memset_chk.S: Likewise.
70391 2012-04-07  David S. Miller  <davem@davemloft.net>
70393         * elf/elf.h (R_SPARC_WDISP10): Define.
70394         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70395         R_SPARC_SIZE32.
70396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70397         R_SPARC_SIZE64 and R_SPARC_H34.
70399 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70401         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70402         conditions and remove no longer applicable assertion.
70404 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70406         * bits/byteswap.h: Include <features.h>.
70407         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70408         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70410 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70412         * bits/byteswap.h (__bswap_16): Removed.
70413         Include <bits/byteswap-16.h> to get __bswap_16.
70414         * sysdeps/i386/bits/byteswap.h: Likewise.
70415         * sysdeps/s390/bits/byteswap.h: Likewise.
70416         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70417         * bits/byteswap-16.h: New file.
70418         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70419         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70420         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70421         * string/Makefile (headers): Add bits/byteswap-16.h.
70423 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70425         [BZ #13895]
70426         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70427         extra indirection.
70428         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70429         * nss/tst-nss-static.c: New.
70431 2012-04-06  Robert Millan  <rmh@gnu.org>
70433         [BZ #6486]
70434         * manual/llio.texi (File Position Primitive): lseek
70435         refers to WHENCE when it really means OFFSET.
70437 2012-04-06  Andreas Jaeger  <aj@suse.de>
70439         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70440         strncmp declarations.
70442         * abilist/libc.abilist: Add __poll and __ppoll.
70444 2012-04-05  David S. Miller  <davem@davemloft.net>
70446         * scripts/check-local-headers.sh: Accept a host triplet in the
70447         path matched by the exclude regexp.
70449         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70450         definition.
70451         * sysdeps/powerpc/powerpc32/dl-machine.h
70452         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70453         * sysdeps/s390/s390-32/dl-machine.h
70454         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70455         * sysdeps/sparc/sparc32/dl-machine.h
70456         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70457         * sysdeps/sparc/sparc64/dl-machine.h
70458         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70460         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70461         lazy binding.
70462         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70463         undefined symbol errors.
70465         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70466         DT_NEEDED entries.
70468 2012-04-05  Michael Matz  <matz@suse.de>
70470         [BZ #13592]
70471         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70473 2012-04-05  Andreas Jaeger  <aj@suse.de>
70475         [BZ #13908]
70476         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70477         comment.
70479 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70481         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70482         which ROUND is no valid rounding mode.
70484 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70486         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70487         read again.
70488         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70490 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70492         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70493         an exception using FPU order intentionally.
70495 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70497         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70498         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70499         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70500         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70502 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70504         [BZ #12340]
70505         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70506         EINVAL when BUFLEN is too smal.
70508 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70510         [BZ #13553]
70511         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70512         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70514 2012-04-03  Andreas Jaeger  <aj@suse.de>
70516         [BZ #13938]
70517         * manual/setjmp.texi (System V contexts): Fix sentence.
70519         [BZ #13926]
70520         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70521         New macro for this case.
70522         [!__GNUC__] (__bswap_64): New inline function for this case.
70523         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70524         * bits/byteswap.h: Likewise.
70525         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70526         ull, guard with __GLIBC_HAVE_LONG_LONG.
70528         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70529         __GLIBC_HAVE_LONG_LONG.
70531         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70532         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70534 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70536         [BZ #13691]
70537         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70538         inptr and inend, rather than using last_ch.
70540 2012-04-02  David S. Miller  <davem@davemloft.net>
70542         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70543         * stdio-common/printf-parse.h (read_int): Change return type to
70544         'int', return -1 on INT_MAX overflow.
70545         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70546         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70547         overflows INT_MAX.  Check for overflow of in-format-string precision
70548         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70549         SIZE_MAX not INT_MAX for integer overflow test.
70550         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70551         skip the construct in the format string but do not record anything.
70552         * stdio-common/bug22.c: Adjust to test both width/prevision
70553         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70554         explicitly for proper errno values.
70556 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70558         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70559         CHAR_MAX.
70560         * string/test-strcmp.c [! WIDE]: Likewise.
70561         * time/tst-mktime2.c: Likewise for INT_MAX.
70562         * string/test-string.h: #include <sys/param.h> for MIN.
70564         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70565         * sysdeps/i386/init-first.c (init): Likewise.
70566         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70567         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70568         * sysdeps/sh/init-first.c (init): Likewise.
70570 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70572         * po/ru.po: Update from translation team.
70573         * po/vi.po: Likewise.
70575 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70577         * resolv/nss_dns/dns-host.c: Merge copyright years.
70579 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70581         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70582         Optimize memcpy with prefetch if
70583         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70584         src, dst pointers have unequal 16 byte alignments.
70586 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70588         [BZ #13928]
70589         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70590         from a CNAME entry and return the minimum ttl for the query.
70591         (gaih_getanswer_slice): Likewise.
70593 2012-03-30  Jeff Law  <law@redhat.com>
70595         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70596         due to long keys.
70597         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70598         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70600         * resolv/nss_dns/dns-host.c: Update copyright year.
70602 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70604         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70605         requests to save a system call.  Fix check that all bytes are sent.
70607         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70608         comments for sendmmsg.
70610 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70612         [BZ #13691]
70613         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70614         with only 1 character between 0x0041 and 0x01b0.
70615         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70616         * wcsmbs/tst-mbsnrtowcs.c: New file.
70618 2012-03-29  David S. Miller  <davem@davemloft.net>
70620         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70621         small copies by hand.
70623 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70625         [BZ #13761]
70626         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70627         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70628         group memberships.
70630 2012-03-28  David S. Miller  <davem@davemloft.net>
70632         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70633         that branches into memcpy.
70634         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70637         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70639         bits.
70640         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70641         implementation too.
70642         * sysdeps/sparc/mempcpy.S: New file.
70644         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70645         the IFUNC routine in the libc case.
70646         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70648         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70649         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70650         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70651         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70652         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70653         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70654         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70655         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70657         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70658         loop to 256 bytes instead of 64 bytes and fix test signedness.
70660         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70661         * sysdeps/sparc/sparc32/Makefile: rather than here...
70662         * sysdeps/sparc/sparc64/Makefile: and here.
70664 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70666         * malloc/mallocbug.c: Avoid warnings about unused variables.
70668 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70670         [BZ #13760]
70671         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70672         in the right place. Discard and retry query if response is
70673         larger than input buffer size.
70675 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70677         [BZ #369]
70678         [BZ #2678]
70679         [BZ #3866]
70680         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70681         x for large integer exponent.
70682         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70683         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70684         sign of result as needed afterwards.
70685         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70686         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70687         result for underflowing pow the same as for overflow.
70688         (__kernel_standard_l): Handle powl overflow and underflow here
70689         rather than calling __kernel_standard.
70690         * math/libm-test.inc (pow_test): Add more tests.
70692         [BZ #3868]
70693         [BZ #13879]
70694         [BZ #13910]
70695         [BZ #13911]
70696         [BZ #13912]
70697         [BZ #13913]
70698         [BZ #13915]
70699         [BZ #13916]
70700         [BZ #13917]
70701         [BZ #13918]
70702         [BZ #13919]
70703         [BZ #13920]
70704         [BZ #13921]
70705         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70706         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70707         (__kernel_standard_l): New function.
70708         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70709         __kernel_standard.
70710         * math/w_acosl.c (__acosl): Likewise.
70711         * math/w_asinl.c (__asinl): Likewise.
70712         * math/w_atan2l.c (__atan2l): Likewise.
70713         * math/w_atanhl.c (__atanhl): Likewise.
70714         * math/w_coshl.c (__coshl): Likewise.
70715         * math/w_exp10l.c (__exp10l): Likewise.
70716         * math/w_exp2l.c (__exp2l): Likewise.
70717         * math/w_fmodl.c (__fmodl): Likewise.
70718         * math/w_hypotl.c (__hypotl): Likewise.
70719         * math/w_j0l.c (__j0l, __y0l): Likewise.
70720         * math/w_j1l.c (__j1l, __y1l): Likewise.
70721         * math/w_jnl.c (__jnl, __ynl): Likewise.
70722         * math/w_lgammal.c (__lgammal): Likewise.
70723         * math/w_log10l.c (__log10l): Likewise.
70724         * math/w_log2l.c (__log2l): Likewise.
70725         * math/w_logl.c (__logl): Likewise.
70726         * math/w_powl.c (__powl): Likewise.
70727         * math/w_remainderl.c (__remainderl): Likewise.
70728         * math/w_scalbl.c (sysv_scalbl): Likewise.
70729         * math/w_sinhl.c (__sinhl): Likewise.
70730         * math/w_sqrtl.c (__sqrtl): Likewise.
70731         * math/w_tgammal.c (__tgammal): Likewise.
70732         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70733         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70734         * math/libm-test.inc (acos_test): Add more tests.
70735         (acosh_test): Likewise.
70736         (asin_test): Likewise.
70737         (atanh_test): Likewise.
70738         (exp_test): Likewise.
70739         (exp10_test): Likewise.
70740         (exp2_test): Likewise.
70741         (expm1_test): Likewise.
70742         (lgamma_test): Likewise.
70743         (log_test): Likewise.
70744         (log10_test): Likewise.
70745         (log1p_test): Likewise.
70746         (log2_test): Likewise.
70747         (pow_test): Do not allow some spurious overflow exceptions.
70748         (sqrt_test): Add more tests.
70749         (tgamma_test): Likewise.
70750         (y0_test): Likewise.
70751         (y1_test): Likewise.
70752         (yn_test): Likewise.
70754 2012-03-27  Anton Blanchard  <anton@samba.org>
70756         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70757         MAP_HUGETLB.
70758         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70759         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70762 2012-03-27  David S. Miller  <davem@davemloft.net>
70764         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70766         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70767         have-as-vis3 check.
70769 2012-03-27  Andreas Jaeger  <aj@suse.de>
70771         * sysdeps/x86_64/elf/configure.in: Moved to ...
70772         * sysdeps/x86_64/configure.in: ... here.
70773         * sysdeps/x86_64/elf/start.S: Moved to ...
70774         * sysdeps/x86_64/start.S: ... here.
70775         * sysdeps/x86_64/elf/configure: Delete.
70777         * sysdeps/x86_64/configure.in: Merge contents from
70778         sysdeps/i386/configure.in (without i686 check).
70780         * sysdeps/i386/elf/Versions: Merge into ...
70781         * sysdeps/i386/Versions: ... this.
70782         * sysdeps/i386/elf/Versions: Delete file.
70783         * sysdeps/i386/elf/start.S: Moved to ...
70784         * sysdeps/i386/start.S: ...here.
70785         * sysdeps/i386/elf/configure.in: Merge into...
70786         * sysdeps/i386/configure.in: ...here.
70787         * sysdeps/i386/elf/configure.in: Delete file.
70788         * sysdeps/i386/elf/configure: Delete file.
70790         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70791         * debug/backtracesyms.c: ... here.
70792         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70793         * debug/backtracesymsfd.c: ... here.
70794         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70795         * sysdeps/generic/ifunc-sel.h: ... here.
70797         * sysdeps/unix/i386/start.c: Delete file.
70798         * sysdeps/unix/sparc/start.c: Delete file.
70799         * sysdeps/unix/start.c: Delete file.
70801         * sysdeps/sh/elf/configure.in: Moved to ...
70802         * sysdeps/sh/configure.in: ... here.
70803         * sysdeps/sh/elf/start.S: Moved to ...
70804         * sysdeps/sh/start.S: ... here.
70805         * sysdeps/sh/elf/configure: Delete file.
70807         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70808         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70809         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70810         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70811         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70812         * sysdeps/powerpc/powerpc64/start.S: here.
70813         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70814         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70815         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70816         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70817         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70819         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70820         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70821         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70822         * sysdeps/powerpc/powerpc32/start.S: ... here.
70823         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70824         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70825         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70827         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70828         * sysdeps/powerpc/ifunc-sel.h: ... here.
70829         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70830         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70832         * sysdeps/sparc/elf/configure.in: Moved to ...
70833         * sysdeps/sparc/configure.in: ... here.
70834         * sysdeps/sparc/elf/configure: Delete file.
70835         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70836         * sysdeps/sparc/sparc32/start.S: ... here.
70837         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70838         * sysdeps/sparc/sparc64/start.S: ... here.
70839         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70840         * sysdeps/sparc/sparc32/Makefile: ... this.
70841         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70842         * sysdeps/sparc/sparc64/Makefile: ... this.
70844         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70845         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70846         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70847         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70848         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70849         * sysdeps/s390/s390-32/setjmp.S: ... here.
70850         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70851         * sysdeps/s390/s390-32/configure.in: ... here.
70852         * sysdeps/s390/s390-32/elf/configure: Delete file.
70853         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70854         * sysdeps/s390/s390-32/start.S: ... here.
70856         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70857         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70858         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70859         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70860         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70861         * sysdeps/s390/s390-64/setjmp.S: ... here.
70862         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70863         * sysdeps/s390/s390-64/configure.in: ... here
70864         * sysdeps/s390/s390-64/elf/configure: Delete file.
70865         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70866         * sysdeps/s390/s390-64/start.S: ... here.
70867         * sysdeps/s390/s390-64/elf/configure: Delete.
70869         * configure.in: Remove support for elf directories in sysdeps.
70871         * configure: Regenerated.
70872         * sysdeps/i386/configure: Regenerated.
70873         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70874         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70875         * sysdeps/s390/s390-32/configure: Regenerated.
70876         * sysdeps/s390/s390-64/configure: Regenerated.
70877         * sysdeps/sh/configure: Regenerated.
70878         * sysdeps/sparc/configure: Regenerated.
70879         * sysdeps/x86_64/configure: Regenerated.
70881 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70886         denormal result into account.
70888 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70890         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70891         Reported by Allan McRae <allan@archlinux.org>.
70893 2012-03-23  Jeff Law  <law@redhat.com>
70895         * nss/getnssent.c (__nss_getent): Fix typo.
70897 2012-03-23  David S. Miller  <davem@davemloft.net>
70899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70901 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70903         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70904         to pad to uint64_t for each field.
70905         (dl_tls_index): Replace unsigned long with uint64_t.
70907 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70908         Paul Pluzhnikov  <ppluzhnikov@google.com>
70910         [BZ #6528]
70911         * grp/Makefile (otherlibs): Don't set it.
70912         * inet/Makefile (otherlibs): Likewise.
70913         * login/Makefile (otherlibs): Likewise.
70914         * nscd/Makefile (otherlibs): Likewise.
70915         * posix/Makefile (otherlibs): Likewise.
70916         * pwd/Makefile (otherlibs): Likewise.
70917         * rt/Makefile (otherlibs): Likewise.
70918         * sunrpc/Makefile (otherlibs): Likewise.
70919         * nss/Makefile (otherlibs): Likewise.
70920         Add libnss_files to routines and static-only-routines.
70921         ($(objpfx)getent): Remove rule.
70922         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70923         static-only-routines.
70925 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70927         [BZ #13892]
70928         * math/s_cexp.c: Include <float.h>.
70929         (__cexp): Handle exp result overflowing not necessarily
70930         overflowing both real and imaginary parts of result.
70931         * math/s_cexpf.c: Likewise.
70932         * math/s_cexpl.c: Likewise.
70933         * math/libm-test.inc (cexp_test): Add more tests.
70934         * sysdeps/i386/fpu/libm-test-ulps: Update.
70935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70937 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70939         * include/link.h (ELFW): New macro.
70940         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70941         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70943 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70945         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70946         with uint64_t.
70948 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70950         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70951         declaration.
70952         (struct La_x32_retval): Likewise.
70954 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70956         * sysdeps/x86_64/preconfigure.in: New file.
70957         * sysdeps/x86_64/preconfigure: New generated file.
70959 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70961         [BZ #13824]
70962         * math/e_exp2l.c: Include <float.h>.
70963         (__ieee754_exp2l): Handle overflow and underflow cases
70964         separately.  Only pass fractional part of argument to
70965         __ieee754_expl.
70966         * math/libm-test.inc (exp2_test): Add more tests.
70968         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70969         negating x to take absolute value.
70970         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70971         Likewise.
70972         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70973         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70974         Likewise.
70975         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70976         computing low part if x was negated.
70977         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70979 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70981         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70982         la_x32_gnu_pltexit.
70983         (pltexit): Cast int_retval to ptrdiff_t.
70984         * elf/tst-auditmod3b.c: Likewise.
70985         * elf/tst-auditmod4b.c: Likewise.
70986         * elf/tst-auditmod5b.c: Likewise.
70987         * elf/tst-auditmod6b.c: Likewise.
70988         * elf/tst-auditmod6c.c: Likewise.
70989         * elf/tst-auditmod7b.c: Likewise.
70991         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70992         and x32_gnu_pltexit.
70994         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70995         __ELF_NATIVE_CLASS.
70996         (La_x32_regs): New macro.
70997         (La_x32_retval): Likewise.
70998         (la_x32_gnu_pltenter): New function prototype.
70999         (la_x32_gnu_pltexit): Likewise.
71001 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71003         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71004         exponent.
71006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71008         * configure.in (libc_cv_cc_nofma): Check for option to disable
71009         generation of FMA instructions.
71010         * configure: Regenerate.
71011         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71012         * sysdeps/ieee754/dbl-64/Makefile: New file.
71013         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71014         Remove brandred-fma4.
71015         (CFLAGS-brandred-fma4.c): Remove.
71016         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71017         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71018         define.
71019         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71020         define.
71022 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71024         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71025         LLONG_MAX != LONG_MAX.
71026         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71027         (_fitoa_word): Likewise.
71028         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71029         LLONG_MAX != LONG_MAX.
71030         * stdio-common/_itowa.h: Include <_itoa.h>.
71031         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71032         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71033         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71034         only if not defined.
71035         (_ITOA_WORD_TYPE): Likewise.
71036         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71037         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71039 2012-03-21  David S. Miller  <davem@davemloft.net>
71041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71043 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71045         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71046         of x86_64 when setting libc_cv_slibdir, libdir and
71047         libc_cv_localedir.
71048         * sysdeps/unix/sysv/linux/configure: Regenerated.
71050 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71052         * manual/lang.texi (Old Varargs): Remove section.
71053         (How Variadic): Update menu.
71054         (va_start): Do not mention varargs.h.
71056 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71057             Joseph Myers  <joseph@codesourcery.com>
71059         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71060         link test.
71061         * configure: Regenerated.
71063 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71065         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71066         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71067         conformtest.pl
71069 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71071         * NOTES: Remove.
71072         * Makefile (files-for-dist): Remove NOTES.
71073         (NOTES): Remove rule.
71074         * README: Don't refer to NOTES.
71075         * manual/creature.texi: Don't include macros.texi.
71076         * manual/intro.texi (creature.texi): Remove comment referring to
71077         NOTES.
71079         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71080         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71081         * configure: Regenerated.
71082         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71083         LIBC_TRY_CC_OPTION.
71084         (libc_cv_as_i686): Likewise.
71085         (libc_cv_cc_avx): Likewise.
71086         (libc_cv_cc_sse2avx): Likewise.
71087         (libc_cv_cc_fma4): Likewise.
71088         (libc_cv_cc_novzeroupper): Likewise.
71089         * sysdeps/i386/configure: Regenerated.
71091         [BZ #13883]
71092         * sysdeps/i386/fpu/s_cexp.S: Remove.
71093         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71094         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71095         * math/libm-test.inc (cexp_test): Add more tests.
71096         * sysdeps/i386/fpu/libm-test-ulps: Update.
71097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71099 2012-03-21  Allan McRae  <allan@archlinux.org>
71101         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71103 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71105         [BZ #13871]
71106         * math/w_exp2.c: Do not include <float.h>.
71107         (o_threshold, u_threshold): Remove.
71108         (__exp2): Calculate result before checking finiteness and calling
71109         __kernel_standard.
71110         * math/w_exp2f.c: Likewise.
71111         * math/w_exp2l.c: Likewise.
71112         * math/libm-test.inc (exp2_test): Require overflow exception for
71113         1e6 input.
71115         [BZ #3866]
71116         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71117         range of signed 64-bit integers before using fistpll.  Remove
71118         checks for whether integers fit in mantissa bits.
71119         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71120         the range of signed 32-bit integers before using fistpl.  Remove
71121         checks for whether integers fit in mantissa bits.
71122         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71123         (__ieee754_powl): Test for y outside the range of signed 64-bit
71124         integers before using fistpll.  Reduce 64-bit values to 63-bit
71125         ones as needed.
71126         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71127         divide-by-zero is raised for zero to large negative powers.
71128         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71129         (__ieee754_powl): Test for y outside the range of signed 64-bit
71130         integers before using fistpll.  Reduce 64-bit values to 63-bit
71131         ones as needed.
71132         * math/libm-test.inc (pow_test): Add more tests.
71134 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71136         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71137         <stdio-common/_itoa.h>.
71138         * debug/segfault.c: Likewise.
71139         * elf/dl-cache.c: Likewise.
71140         * elf/dl-minimal.c: Likewise.
71141         * elf/dl-misc.c: Likewise.
71142         * elf/dl-sysdep.c: Likewise.
71143         * elf/dl-version.c: Likewise.
71144         * elf/rtld.c: Likewise.
71145         * hurd/hurdsock.c: Likewise.
71146         * hurd/lookup-retry.c: Likewise.
71147         * malloc/malloc.c: Likewise.
71148         * malloc/mtrace.c: Likewise.
71149         * nscd/nscd_getgr_r.c: Likewise.
71150         * nscd/nscd_getpw_r.c: Likewise.
71151         * nscd/nscd_getserv_r.c: Likewise.
71152         * posix/getopt_init.c: Likewise.
71153         * posix/wordexp.c: Likewise.
71154         * stdio-common/_itoa.c: Likewise.
71155         * stdio-common/printf_fphex.c: Likewise.
71156         * stdio-common/vfprintf.c: Likewise.
71157         * string/_strerror.c: Likewise.
71158         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71159         * sysdeps/i386/i686/hp-timing.h: Likewise.
71160         * sysdeps/mach/_strerror.c: Likewise.
71161         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71162         * sysdeps/mach/hurd/sethostid.c: Likewise.
71163         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71164         * sysdeps/mach/xpg-strerror.c: Likewise.
71165         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71166         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71167         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71168         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71169         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71170         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71171         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71172         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71173         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71174         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71175         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71176         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71177         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71178         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71179         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71180         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71181         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71182         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71183         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71184         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71185         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71187         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71189         * stdio-common/_itoa.h: Moved to ...
71190         * sysdeps/generic/_itoa.h: Here.
71192         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71194         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71195         instead of "_itoa.h" and "_itowa.h".
71196         * stdio-common/vfprintf.: Likewise.
71198 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71200         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71201         <bits/wordsize.h>.
71202         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71203         (__signbit): Likwise.
71204         (llrintf): Likwise.
71205         (llrint): Likwise.
71207 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71209         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71210         __WORDSIZE != 64.
71212 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71214         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71215         OVERFLOW_EXCEPTION_OK.
71216         * math/libm-test.inc ("Philosophy"): Update comment about
71217         exception testing.
71218         (OVERFLOW_EXCEPTION): Define.
71219         (OVERFLOW_EXCEPTION_OK): Likewise.
71220         (INVALID_EXCEPTION_OK): Renumber.
71221         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71222         (IGNORE_ZERO_INF_SIGN): Likewise.
71223         (test_exceptions): Handle FE_OVERFLOW.
71224         (exp10_test): Expect overflow exceptions.
71225         (exp2_test): Likewise.
71226         (expm1_test): Likewise.
71227         (nextafter_test): Likewise.
71228         (pow_test): Likewise.
71229         (scalbn_test): Likewise.
71230         (scalbln_test): Likewise.
71232 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71234         * sysdeps/x86_64/bits/atomic.h
71235         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71236         64bit integer.
71237         (atomic_exchange_acq): Likewise.
71238         (__arch_exchange_and_add_body): Likewise.
71239         (__arch_add_body): Likewise.
71240         (atomic_add_negative): Likewise.
71241         (atomic_add_zero): Likewise.
71243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71245         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71246         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71248 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71250         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71251         Check __x86_64__ instead of __WORDSIZE.
71253 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71255         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71257 2012-03-19  David S. Miller  <davem@davemloft.net>
71259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71261         * sysdeps/sparc/fpu/fenv_private.h: New file.
71262         * sysdeps/sparc/fpu/math_private.h: Use it.
71263         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71264         Remove.
71265         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71266         (libc_feholdexcept_setroundl): Remove.
71267         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71268         Remove.
71269         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71270         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71272 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71274         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71275         int64_t instead of long int.
71276         (INSERT_WORDS64): Likwise.
71278 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71280         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71281         _Unwind_GetCFA return to _Unwind_Ptr first.
71283 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71285         [BZ #13629]
71286         * math/s_clog.c: Include <float.h>.
71287         (__clog): Scale large or subnormal inputs.
71288         * math/s_clogf.c: Likewise.
71289         * math/s_clogl.c: Likewise.
71290         * math/s_clog10.c: Include <float.h>.
71291         (M_LOG10_2): Define.
71292         (__clog10): Scale large or subnormal inputs.
71293         * math/s_clog10f.c: Likewise.
71294         * math/s_clog10l.c: Likewise.
71295         * math/libm-test.inc (clog_test): Add more tests.
71296         (clog10_test): Likewise.
71297         * sysdeps/i386/fpu/libm-test-ulps: Update.
71298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71300         [BZ #11451]
71301         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71302         x and y.
71303         * math/libm-test.inc (atan2_test): Add another test.
71305         * Makerules (common-objdir-compile): Remove.
71306         * sysdeps/unix/Makefile (config-generated): Do not add
71307         $(unix-generated) to variable.
71308         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71309         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71310         Remove rule.
71311         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71312         Likewise.
71313         [generic bits/local_lim.h] (before-compile): Do not append to
71314         variable.
71315         [generic bits/local_lim.h] (common-generated): Likewise.
71316         [generic sys/param.h] (before-compile): Do not append to variable.
71317         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71318         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71319         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71320         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71321         include.
71322         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71323         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71324         [generic sys/param.h] ($(addprefix
71325         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71326         [generic sys/param.h] (common-generated): Do not append to
71327         variable.
71328         [generic sys/param.h] (sysdep_headers): Likewise.
71329         [generic bits/errno.h] (before-compile): Do not append to
71330         variable.
71331         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71332         rule.
71333         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71334         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71335         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71336         [generic bits/errno.h] (common-generated): Do not append to
71337         variable.
71338         [generic bits/ioctls.h] (before-compile): Do not append to
71339         variable.
71340         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71341         rule.
71342         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71343         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71344         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71345         rule.
71346         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71347         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71348         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71349         [generic bits/ioctls.h] (common-generated): Do not append to
71350         variable.
71351         [generic sys/syscall.h] (syscall.h): Remove variable.
71352         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71353         rule.
71354         [generic sys/syscall.h] (before-compile): Do not append to
71355         variable.
71356         [generic sys/syscall.h] (common-generated): Likewise.
71357         * sysdeps/unix/errnos-tmpl.c: Remove file.
71358         * sysdeps/unix/errnos.awk: Likewise.
71359         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71360         * sysdeps/unix/ioctls.awk: Likewise.
71361         * sysdeps/unix/mk-local_lim.c: Likewise.
71362         * sysdeps/unix/snarf-ioctls: Likewise.
71364 2012-03-19  Richard Henderson  <rth@twiddle.net>
71366         * sysdeps/i386/fpu/fenv_private.h: New file.
71367         * sysdeps/i386/fpu/math_private.h: Use it.
71368         (math_opt_barrier, math_force_eval): Remove.
71369         (libc_feholdexcept_setround_53bit): Remove.
71370         (libc_feupdateenv_53bit): Remove.
71371         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71372         (math_opt_barrier, math_force_eval): Remove.
71373         (libc_feholdexcept): Remove.
71374         (libc_feholdexcept_setround): Remove.
71375         (libc_fetestexcept, libc_fesetenv): Remove.
71376         (libc_feupdateenv_test): Remove.
71377         (libc_feupdateenv, libc_feholdsetround): Remove.
71378         (libc_feresetround): Remove.
71380         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71381         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71383         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71384         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71385         (libc_feupdateenv_testl): New.
71386         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71387         (libc_feupdateenv_testf): New.
71388         (libc_feupdateenv): Use libc_feupdateenv_test.
71389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71390         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71392         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71393         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71394         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71395         (libc_feresetround_noex): New.
71396         (libc_feresetround_noexf): New.
71397         (libc_feresetround_noexl): New.
71398         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71399         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71400         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71401         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71402         SET_RESTORE_ROUND.
71403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71405         (__cos): Likewise.
71406         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71407         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71408         SET_RESTORE_ROUND_NOEX.
71409         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71410         SET_RESTORE_ROUND_NOEXF.
71411         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71412         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71413         (libc_feholdsetroundf): New.
71414         (libc_feresetround, libc_feresetroundf): New.
71416         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71417         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71418         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71420         * sysdeps/generic/math_private.h: Include <fenv.h>.
71421         (default_libc_feholdexcept): New.
71422         (default_libc_feholdexcept_setround): New.
71423         (default_libc_fesetenv, default_libc_feupdateenv): New.
71424         (libc_feholdexcept): Only define if undefined.
71425         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71426         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71427         (libc_feholdexcept_setroundl): Likewise.
71428         (libc_feholdexcept_setround_53bit): Likewise.
71429         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71430         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71431         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71432         (libc_feupdateenv_53bit): Likewise.
71433         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71434         (libc_feholdexcept): Convert from macro to inline function.
71435         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71436         (libc_fesetenv, libc_feupdateenv): Likewise.
71438         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71439         not previously defined.
71440         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71441         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71442         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71443         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71444         * sysdeps/ieee754/flt-32/math_private.h: New file.
71445         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71446         math_private.h below SET_FLOAT_WORD.
71447         (__isnan, __isinf_ns, __finite): Remove.
71448         (__isnanf, __isinf_nsf, __finitef): Remove.
71450 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71454 2012-03-17  David S. Miller  <davem@davemloft.net>
71456         [BZ #6471]
71457         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71458         for 2.16.
71460 2012-03-16  David S. Miller  <davem@davemloft.net>
71462         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71463         warnings.
71465         [BZ #6471]
71466         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71467         properly.
71468         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71469         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71470         sysdep_routines when subdir is sysvipc.
71471         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71472         __getshmlba helper.
71474         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71476 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71478         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71479         [__LP64__].
71481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71483         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71484         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71485         (__lround): Renamed to ...
71486         (__llround): This.  Replace long int with long long int.
71487         Define lround functions as aliases of llround functions.
71488         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71490 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71492         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71493         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71494         adresses to uintptr_t.  Replace "long int" and "unsigned long
71495         int" with "greg_t" on va_arg.
71497 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71499         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71500         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71502         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71503         Move e_machine check before EI_CLASS check.  Handle x32
71504         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71505         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71506         SKIP_EM_IA_64 and include
71507         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71509         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71510         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71511         (add_system_dir): New macro.
71513         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71514         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71516 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71518         [BZ #2551]
71519         [BZ #2552]
71520         [BZ #2553]
71521         [BZ #2554]
71522         [BZ #2562]
71523         [BZ #2563]
71524         [BZ #2565]
71525         [BZ #2566]
71526         [BZ #2576]
71527         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71528         (y0): Likewise.
71529         * math/w_j0f.c (j0f): Likewise.
71530         (y0f): Likewise.
71531         * math/w_j0l.c (__j0l): Likewise.
71532         (__y0l): Likewise.
71533         * math/w_j1.c (j1): Likewise.
71534         (y1): Likewise.
71535         * math/w_j1f.c (j1f): Likewise.
71536         (y1f): Likewise.
71537         * math/w_j1l.c (__j1l): Likewise.
71538         (__y1l): Likewise.
71539         * math/w_jn.c (jn): Likewise.
71540         (yn): Likewise.
71541         * math/w_jnf.c (jnf): Likewise.
71542         (ynf): Likewise.
71543         * math/w_jnl.c (__jnl): Likewise.
71544         (__ynl): Likewise.
71545         * math/libm-test.inc (j0_test): Add more tests.
71546         (j1_test): Likewise.
71547         (jn_test): Likewise.  Add trailing semicolon to existing test.
71548         (y0_test): Likewise.
71549         (y1_test): Likewise.
71550         * sysdeps/i386/fpu/libm-test-ulps: Update.
71551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71553         [BZ #13851]
71554         [BZ #13854]
71555         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71556         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71557         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71558         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71559         (__tanl): Set errno for infinite argument.
71560         * sysdeps/i386/fpu/mptan.c: Remove.
71561         * sysdeps/i386/fpu/s_tan.S: Likewise.
71562         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71563         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71564         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71565         * math/libm-test.inc (tan_test): Add more tests and enable more
71566         tests for double and long double.
71567         * sysdeps/i386/fpu/libm-test-ulps: Update.
71568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71570 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71572         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71573         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71575 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71577         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71578         * configure.in: Use it for both main tree and add-ons.
71579         * configure: Regenerated.
71581 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71583         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71585 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71587         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71588         in comment.
71590         [BZ #13851]
71591         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71592         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71593         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71594         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71595         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71596         infinite argument.
71597         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71599         != 0 for prec == 2.
71600         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71601         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71602         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71603         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71604         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71605         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71606         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71607         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71608         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71609         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71610         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71611         * math/libm-test.inc (cos_test): Add more tests and enable more
71612         tests for long double.
71613         (sin_test): Likewise.
71614         (sincos_test): Likewise.
71615         * sysdeps/i386/fpu/libm-test-ulps: Update.
71616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71618 2012-03-16  David S. Miller  <davem@davemloft.net>
71620         * sysdeps/sparc/fpu/math_private.h: New file.
71622 2012-03-15  David S. Miller  <davem@davemloft.net>
71624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71625         file.
71626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71628         file.
71629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71634         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71635         sysdep routines.
71636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71638         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71639         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71641         * sysdeps/sparc/sparc-ifunc.h: New file.
71642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71643         sparc-ifunc.h
71644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71646         Likewise.
71647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71648         Likewise.
71649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71653         Likewise.
71654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71659         Likewise.
71660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71661         Likewise.
71662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71666         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71668         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71680         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71682         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71684         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71687 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71689         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71690         scaling.
71691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71693 2012-03-15  Andreas Jaeger  <aj@suse.de>
71695         [BZ #13852]
71696         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71697         ieee754/flt-32 implementation for sin, cos and sincos.
71698         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71699         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71700         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71701         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71702         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71703         ieee754/flt-32 implementation for tan.
71705         * math/libm-test.inc (cos_test): Enable some large input tests for
71706         float as well
71707         (sin_test): Likewise.
71708         (sincos_test): Likewise.
71709         (tan_test): Add tests for large input.
71711         * sysdeps/i386/fpu/libm-test-ulps: Update.
71713 2012-03-15  Andreas Jaeger  <aj@suse.de>
71715         [BZ #13658]
71716         * math/libm-test.inc (cos_test): Add more test cases.
71717         (sin_test): Likewise.
71718         (sincos_test): Likewise.
71720 2012-03-15  Andreas Jaeger  <aj@suse.de>
71722         [BZ #13837]
71723         * math/libm-test.inc (cos_test): Add a test case for large input
71724         value.
71725         (sin_test): Likewise.
71726         (sincos_test): Likewise.
71728 2012-03-15  Andreas Jaeger  <aj@suse.de>
71729             Joseph Myers  <joseph@codesourcery.com>
71731         [BZ #13658]
71732         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71733         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71734         * sysdeps/i386/fpu/branred.c: Likewise.
71735         * sysdeps/i386/fpu/dosincos.c: Likewise.
71736         * sysdeps/i386/fpu/mpa.c: Likewise.
71737         * sysdeps/i386/fpu/s_cos.S: Likewise.
71738         * sysdeps/i386/fpu/s_sin.S: Likewise.
71739         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71740         * sysdeps/i386/fpu/sincos32.c: Likewise.
71742         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71743         Define.
71744         (libc_feupdateenv_53bit): Define.
71745         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71746         Define.
71747         (libc_feupdateenv_53bit): Define.
71749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71750         53 bit (without extend i386 double precision).
71752         * math/libm-test.inc (sincos_test): Add tests for large input.
71753         (sin): Likewise.
71754         (cos): Likewise.
71756         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71758 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71762 2012-03-15  David S. Miller  <davem@davemloft.net>
71764         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71765         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71766         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71767         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71780         file.
71781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71783         file.
71784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71786         file.
71787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71789         file.
71790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71792         fmin/fmax sysdep routines.
71793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71795 2012-03-14  David S. Miller  <davem@davemloft.net>
71797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71801         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71809         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71817         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71818         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71819         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71821         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71822         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71823         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71824         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71825         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71826         routines.
71827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71828         file.
71829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71831         file.
71832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71834         file.
71835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71837         file.
71838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71840         file.
71841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71843         file.
71844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71845         file.
71846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71847         file.
71848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71849         file.
71850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71851         New file.
71852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71853         file.
71854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71855         file.
71856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71858         file.
71859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71861         file.
71862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71864         file.
71865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71867         VIS3 routines.
71869         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71870         New file.
71872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71874         * sysdeps/sparc/configure.in: New file.
71875         * sysdeps/sparc/configure: Generate.
71876         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71877         * configure: Regenerate.
71878         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71879         * config.make.in (have-as-vis3): New.
71880         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71881         available use -Av9d instead of -Av9a.
71882         * sysdeps/sparc/sparc64/Makefile: Likewise.
71883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71885         New file.
71886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71887         file.
71888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71889         New file.
71890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71891         file.
71892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71893         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71894         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71895         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71898         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71899         fzeros/fnegs to load 0x80000000 into a float register instead of
71900         using the stack.
71901         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71903 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71906         bits/syscall.h.
71907         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71908         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71909         ($(inst_includedir)/bits/syscall.h): Remove rule.
71910         ($(objpfx)bits/syscall.d): Include instead of
71911         $(objpfx)syscall-list.d.
71912         (generated): Change syscall-list.h and syscall-list.d to
71913         bits/syscall.h and bits/syscall.d.
71915 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71917         [BZ #13846]
71918         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71920 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71922         [BZ #13841]
71923         * math/s_csqrt.c: Include <float.h>.
71924         (__csqrt): Scale large or subnormal inputs.
71925         * math/s_csqrtf.c: Likewise.
71926         * math/s_csqrtl.c: Likewise.
71927         * math/libm-test.inc (csqrt_test): Add more tests.
71928         * sysdeps/i386/fpu/libm-test-ulps: Update.
71929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71931         [BZ #13840]
71932         * math/libm-test.inc (hypot_test): Add more tests.
71934 2012-03-13  David S. Miller  <davem@davemloft.net>
71936         [BZ #13840]
71937         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71938         double-precision for the calculation instead of scaling.
71940 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71942         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71943         manipulate bits before adding and subtracting TWO52[sx].
71944         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71945         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71946         Likewise.
71947         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71949 2012-03-13  David S. Miller  <davem@davemloft.net>
71951         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71952         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71954         rtld-global-offsets.h
71955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71957         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71958         large parameters.
71960         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71962         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71963         'err' in the ifdef scope in which it is actually used.
71965         * nss/nss_db/db-init.c: Include string.h
71967 2012-03-12  David S. Miller  <davem@davemloft.net>
71969         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71970         masking out of the most significant byte of random value used.
71971         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71972         Fix coding style in previous change.
71974         * sysdeps/unix/sysv/linux/kernel-features.h
71975         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71976         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71977         expression.
71978         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71979         later.
71981 2012-03-11  David S. Miller  <davem@davemloft.net>
71983         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71984         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71985         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71986         for 'resultvar' otherwise things get truncated on 64-bit.
71988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71989         Fix masking out of the most significant byte of random value used.
71991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71993 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71997 2012-03-09  David S. Miller  <davem@davemloft.net>
71999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72000         variables with appropriate CPP guards.
72001         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72002         from the frame pointer, not the stack pointer.  Correct layout
72003         comments.  Fix test on resulting framesize and the management of
72004         the outregs buffer for pltexit.  Preserve floating point return
72005         values across _dl_call_pltexit call.
72006         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72007         framesize and the management of the outregs buffer for pltexit.
72008         Preserve floating point return values across _dl_call_pltexit
72009         call.
72010         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72011         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72012         (la_sparc64_gnu_pltexit): New functions.
72013         (print_exit): Fix format string for return register value.
72015 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72017         * sunrpc/Makefile (others): Add rpcgen.
72018         ($(objpfx)rpcgen): Remove special build rule and dependency on
72019         libc.
72020         * sunrpc/rpcgen.c: New file.
72022 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72024         [BZ #13673]
72025         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72026         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72027         * sysdeps/i386/crti.S: Likewise.
72028         * sysdeps/i386/crtn.S: Likewise.
72029         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72030         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72031         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72032         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72033         * sysdeps/sh/crti.S: Likewise.
72034         * sysdeps/sh/crtn.S: Likewise.
72035         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72037         [BZ #13673]
72038         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72039         with URL.
72040         * locale/programs/locfile-kw.gperf: Likewise.
72041         * locale/programs/charmap-kw.h: Regenerated.
72042         * locale/programs/locfile-kw.h: Likewise.
72044         [BZ #13673]
72045         * intl/plural.y: Replace FSF snail mail address with URL.
72046         * intl/plural.c: Regenerated.
72048 2012-03-09  Richard Henderson  <rth@twiddle.net>
72050         * include/math_private.h: Remove file.
72051         * math/math_private.h: Move file ...
72052         * sysdeps/generic/math_private.h: ... here.
72054         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72055         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72056         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72058         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72059         and <math_private.h>.
72060         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72061         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72062         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72063         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72064         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72065         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72066         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72067         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72068         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72069         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72070         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72071         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72072         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72073         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72074         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72075         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72076         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72077         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72078         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72079         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72080         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72081         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72082         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72083         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72084         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72085         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72086         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72089         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72090         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72091         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72092         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72093         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72094         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72095         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72096         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72097         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72098         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72099         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72100         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72101         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72102         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72103         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72104         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72105         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72106         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72107         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72108         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72109         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72110         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72111         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72112         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72113         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72115         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72116         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72117         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72118         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72120         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72121         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72123         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72124         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72127         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72128         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72143         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72144         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72145         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72147         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72148         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72149         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72150         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72151         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72152         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72153         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72154         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72155         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72156         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72157         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72158         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72160         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72161         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72162         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72163         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72164         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72165         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72166         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72167         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72168         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72169         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72170         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72171         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72172         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72173         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72174         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72175         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72176         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72177         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72178         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72179         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72180         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72181         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72182         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72183         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72184         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72185         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72186         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72187         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72188         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72189         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72190         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72191         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72192         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72193         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72194         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72195         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72196         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72197         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72198         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72199         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72200         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72201         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72202         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72203         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72204         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72205         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72206         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72207         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72208         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72209         * sysdeps/ieee754/k_standard.c: Likewise.
72210         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72211         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72212         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72213         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72214         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72215         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72216         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72217         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72218         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72219         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72220         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72222         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72223         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72224         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72225         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72226         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72227         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72228         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72229         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72230         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72231         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72232         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72233         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72234         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72235         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72236         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72237         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72238         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72239         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72240         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72241         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72242         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72243         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72244         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72245         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72247         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72248         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72249         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72250         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72251         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72252         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72260         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72261         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72262         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72263         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72264         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72265         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72266         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72267         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72269         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72270         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72272         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72274         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72276         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72277         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72278         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72279         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72280         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72282         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72283         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72286         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72287         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72289         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72290         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72291         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72292         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72293         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72294         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72295         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72296         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72297         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72298         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72302         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72303         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72305         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72307         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72308         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72309         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72312         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72315         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72316         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72317         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72318         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72319         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72320         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72323         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72325         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72326         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72329         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72330         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72331         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72332         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72333         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72334         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72335         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72336         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72337         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72338         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72340         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72341         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72342         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72344         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72346         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72348         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72349         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72352         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72354         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72355         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72356         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72357         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72358         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72359         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72360         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72362         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72363         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72364         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72366         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72367         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72368         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72369         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72370         * sysdeps/ieee754/s_lib_version.c: Likewise.
72371         * sysdeps/ieee754/s_matherr.c: Likewise.
72372         * sysdeps/ieee754/s_signgam.c: Likewise.
72373         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72374         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72375         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72376         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72377         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72378         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72379         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72380         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72381         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72382         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72383         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72384         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72385         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72386         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72387         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72388         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72389         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72390         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72391         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72395 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72397         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72398         * sunrpc/rpc_main.c: Likewise.
72399         * sunrpc/rpc_svcout.c: Likewise.
72401 2012-03-09  David S. Miller  <davem@davemloft.net>
72403         * include/math_private.h: New file.
72405 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72407         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72408         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72409         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72410         from <bits/socket_type.h>.
72411         (enum __socket_type): Don't define here.
72412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72414         bits/socket_type.h.
72416         [BZ #13566]
72417         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72418         checking __USE_GNU.
72420         * Makerules ($(inst_includedir)/%.h): New rule.
72421         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72422         (install-others): Remove variable setting.
72423         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72425 2012-03-08  Richard Henderson  <rth@twiddle.net>
72427         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72428         from macro to inline function; merge with the
72429         !__LIBC_INTERNAL_MATH_INLINES version.
72430         (__ieee754_sqrtf): Likewise.
72432         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72433         to inline function.
72434         (__rintf, __floor, __floorf): Likewise.
72436         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72437         macro to inline function.
72438         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72440         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72441         not <math/math_private.h>.
72443 2012-03-08  David S. Miller  <davem@davemloft.net>
72445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72446         copyright year.
72447         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72449 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72451         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72452         normalization.
72453         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72454         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72456 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72458         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72459         be defined individually, they must be defined as a block.  Define
72460         S for printing a string instead of hidint the different by using a
72461         macro for adding the 'l'.
72462         * stdio-common/tst-fphex-wide.c: Adjust.
72464 2012-03-07  Marek Polacek  <polacek@redhat.com>
72466         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72468 2012-03-08  Marek Polacek  <polacek@redhat.com>
72470         [BZ #13806]
72471         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72472         * stdio-common/tst-fphex.c: Define a few macros to make the
72473         test reusable.  Use them.
72474         * stdio-common/tst-fphex-wide.c: New file.
72476 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72478         [BZ #6911]
72479         * manual/macros.texi (gnusystems): New macro.
72480         (nongnusystems): Likewise.
72481         (gnulinuxhurdsystems): Likewise.
72482         (gnuhurdsystems): Likewise..
72483         (gnulinuxsystems): Likewise.
72484         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72485         variants of the GNU system, not "GNU system".
72486         * manual/conf.texi: Likewise.
72487         * manual/errno.texi: Likewise.  Update example of errno macro
72488         expansion.
72489         * manual/filesys.texi: Likewise.
72490         (getumask): Document as specific to GNU/Hurd.
72491         * manual/install.texi: Likewise.  Reword some references to
72492         GNU/Linux.
72493         * manual/intro.texi: Likewise.
72494         * manual/io.texi: Likewise.
72495         (File Name Portability): Detail which constraints are inapplicable
72496         to all GNU systems and which are only inapplicable to GNU/Hurd.
72497         * manual/job.texi: Likewise.
72498         * manual/llio.texi: Likewise.
72499         (O_NOCTTY): Document as present on GNU/Linux.
72500         * manual/maint.texi: Likewise.
72501         * manual/memory.texi: Likewise.
72502         * manual/pattern.texi: Likewise.
72503         * manual/pipe.texi: Likewise.
72504         * manual/process.texi: Likewise.
72505         * manual/resource.texi: Likewise.
72506         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72507         child on GNU/Hurd.
72508         * manual/setjmp.texi: Likewise.
72509         * manual/signal.texi: Likewise.
72510         * manual/startup.texi: Likewise.
72511         * manual/stdio.texi: Likewise.
72512         * manual/terminal.texi: Likewise.
72513         (ONLCR): Document as POSIX.
72514         (OXTABS): Document availability on GNU/Linux as XTABS.
72515         (ONOEOT): Document availability separately from other bits.
72516         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72517         * manual/time.texi: Likewise.
72518         * manual/users.texi: Likewise.
72519         * INSTALL: Regenerated.
72520         * sysdeps/gnu/errlist.c: Regenerated.
72522         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72523         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72524         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72525         puts.
72526         * configure: Regenerated.
72528 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72530         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72531         default includes instead of AC_HEADER_CHECK.
72532         * sysdeps/i386/configure: Regenerated.
72534         [BZ #10716]
72535         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72536         * math/s_cacoshf.c (__cacoshf): Likewise.
72537         * math/s_cacoshl.c (__cacoshl): Likewise.
72538         * math/s_casinh.c (__casinh): Set signs of result from argument.
72539         * math/s_casinhf.c (__casinhf): Likewise.
72540         * math/s_casinhl.c (__casinhl): Likewise.
72541         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72542         (casinh_test): Add more tests.
72543         * sysdeps/i386/fpu/libm-test-ulps: Update.
72544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72546 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72548         * po/zh_TW.po: Update from translation team.
72550         * login/Makefile (distribute): Remove variable.
72551         * catgets/Makefile: Likewise.
72552         * mach/Makefile: Likewise.
72553         * malloc/Makefile: Likewise.
72554         * misc/Makefile: Likewise.
72555         * iconv/Makefile: Likewise.
72556         * nscd/Makefile: Likewise.
72557         * hurd/Makefile: Likewise.
72558         * manual/Makefile: Likewise.
72559         * locale/Makefile: Likewise.
72560         * intl/Makefile: Likewise.
72561         * conform/Makefile: Likewise.
72562         * nss/Makefile: Likewise.
72563         * time/Makefile: Likewise.
72564         * soft-fp/Makefile: Likewise.
72565         * dirent/Makefile: Likewise.
72566         * gmon/Makefile: Likewise.
72567         * po/Makefile: Likewise.
72568         * rt/Makefile: Likewise.
72569         * socket/Makefile: Likewise.
72570         * math/Makefile: Likewise.
72571         * signal/Makefile: Likewise.
72572         * debug/Makefile: Likewise.
72573         * elf/Makefile: Likewise.
72574         * timezone/Makefile: Likewise.
72575         * stdlib/Makefile: Likewise.
72576         * iconvdata/Makefile: Likewise.
72577         * sunrpc/Makefile: Likewise.
72578         * io/Makefile: Likewise.
72579         * argp/Makefile: Likewise.
72580         * inet/Makefile: Likewise.
72581         * hesiod/Makefile: Likewise.
72582         * grp/Makefile: Likewise.
72583         * csu/Makefile: Likewise.
72584         * wctype/Makefile: Likewise.
72585         * crypt/Makefile: Likewise.
72586         * libio/Makefile: Likewise.
72587         * string/Makefile: Likewise.
72588         * nis/Makefile: Likewise.
72589         * resolv/Makefile: Likewise.
72590         * stdio-common/Makefile: Likewise.
72591         * wcsmbs/Makefile: Likewise.
72592         * dlfcn/Makefile: Likewise.
72593         * posix/Makefile: Likewise.
72595         [BZ #6959]
72596         * timezone/Makefile: Don't install timezone files, just the programs
72597         and scripts.
72599 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72601         * nss/databases.def: Add missing gshadow entry.
72603         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72605 2012-03-06  Marek Polacek  <polacek@redhat.com>
72607         [BZ #13726]
72608         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72609         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72610         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72611         * stdio-common/tst-long-dbl-fphex.c: New file.
72613 2012-03-06  David S. Miller  <davem@davemloft.net>
72615         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72616         (set_obp_int): New function.
72617         (get_obp_int): New function.
72618         (__get_clockfreq_via_dev_openprom): Likewise.
72619         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72620         Avoid unused variable warnings on 'val' and use builtin_expect.
72621         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72622         __builtin_expect.
72623         (INLINE_CLONE_SYSCALL): Likewise.
72625 2012-03-05  David S. Miller  <davem@davemloft.net>
72627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72629 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72633         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72634         only for |x| >= 40.
72635         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72637 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72640         Replace gettimeofday with __vdso_gettimeofday.
72642         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72643         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72644         __vdso_clock_gettime and __vdso_getcpu.
72646         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72647         time with __vdso_time.
72649 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72651         * manual/lang.texi (size_t): Note types to which size_t may be
72652         equivalent with the GNU C Library, but do not describe when
72653         differences between them are significant.
72655 2012-03-05  Andreas Jaeger  <aj@suse.de>
72657         * sysdeps/i386/fpu/libm-test-ulps: Update.
72659 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72661         [BZ #3976]
72662         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72663         (__ieee754_pow): Save and restore rounding mode and use
72664         round-to-nearest for main computations.
72665         * math/libm-test.inc (pow_test_tonearest): New function.
72666         (pow_test_towardzero): Likewise.
72667         (pow_test_downward): Likewise.
72668         (pow_test_upward): Likewise.
72669         (main): Call the new functions.
72670         * sysdeps/i386/fpu/libm-test-ulps: Update.
72671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72673         [BZ #3976]
72674         * math/libm-test.inc (cosh_test_tonearest): New function.
72675         (cosh_test_towardzero): Likewise.
72676         (cosh_test_downward): Likewise.
72677         (cosh_test_upward): Likewise.
72678         (sinh_test_tonearest): Likewise.
72679         (sinh_test_towardzero): Likewise.
72680         (sinh_test_downward): Likewise.
72681         (sinh_test_upward): Likewise.
72682         (main): Call the new functions.
72683         * sysdeps/i386/fpu/libm-test-ulps: Update.
72684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72686 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72688         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72689         default stack guard is set in last bytes.
72690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72692 2012-03-05  Kees Cook  <keescook@chromium.org>
72694         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72696         [BZ #13656]
72697         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72698         possibly allocate from heap instead of stack.
72699         * stdio-common/bug-vfprintf-nargs.c: New file.
72700         * stdio-common/Makefile (tests): Add nargs overflow test.
72702 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72706 2012-03-03  Marek Polacek  <polacek@redhat.com>
72708         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72709         * math/math_private.h: Likewise.
72710         * stdlib/tst-strtod.c: Likewise.
72711         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72712         * sysdeps/x86_64/bits/atomic.h: Likewise.
72714 2012-03-02  David S. Miller  <davem@davemloft.net>
72716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72720         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72721         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72722         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72723         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72725 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72727         [BZ #13792]
72728         * manual/examples/README: New file, says the example source files
72729         can be used under GPL>=2.
72730         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72731         line containing just "*/".
72732         * manual/examples/add.c: Add copyright header (GPL>=2).
72733         * manual/examples/argp-ex1.c: Likewise.
72734         * manual/examples/argp-ex2.c: Likewise.
72735         * manual/examples/argp-ex3.c: Likewise.
72736         * manual/examples/argp-ex4.c: Likewise.
72737         * manual/examples/atexit.c: Likewise.
72738         * manual/examples/db.c: Likewise.
72739         * manual/examples/dir.c: Likewise.
72740         * manual/examples/dir2.c: Likewise.
72741         * manual/examples/execinfo.c: Likewise.
72742         * manual/examples/filecli.c: Likewise.
72743         * manual/examples/filesrv.c: Likewise.
72744         * manual/examples/fmtmsgexpl.c: Likewise.
72745         * manual/examples/genpass.c: Likewise.
72746         * manual/examples/inetcli.c: Likewise.
72747         * manual/examples/inetsrv.c: Likewise.
72748         * manual/examples/isockad.c: Likewise.
72749         * manual/examples/longopt.c: Likewise.
72750         * manual/examples/memopen.c: Likewise.
72751         * manual/examples/memstrm.c: Likewise.
72752         * manual/examples/mkfsock.c: Likewise.
72753         * manual/examples/mkisock.c: Likewise.
72754         * manual/examples/mygetpass.c: Likewise.
72755         * manual/examples/pipe.c: Likewise.
72756         * manual/examples/popen.c: Likewise.
72757         * manual/examples/rprintf.c: Likewise.
72758         * manual/examples/search.c: Likewise.
72759         * manual/examples/select.c: Likewise.
72760         * manual/examples/setjmp.c: Likewise.
72761         * manual/examples/sigh1.c: Likewise.
72762         * manual/examples/sigusr.c: Likewise.
72763         * manual/examples/stpcpy.c: Likewise.
72764         * manual/examples/strdupa.c: Likewise.
72765         * manual/examples/strftim.c: Likewise.
72766         * manual/examples/strncat.c: Likewise.
72767         * manual/examples/subopt.c: Likewise.
72768         * manual/examples/swapcontext.c: Likewise.
72769         * manual/examples/termios.c: Likewise.
72770         * manual/examples/testopt.c: Likewise.
72771         * manual/examples/testpass.c: Likewise.
72772         * manual/examples/timeval_subtract.c: Likewise.
72774         [BZ #13792]
72775         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72776         function to ...
72777         * manual/timeval_subtract.c.texi: ... here, new file.
72779 2012-03-02  David S. Miller  <davem@davemloft.net>
72781         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72783 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72785         [BZ #3976]
72786         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72787         (__sin): Save and restore rounding mode and use round-to-nearest
72788         for all computations.
72789         (__cos): Save and restore rounding mode and use round-to-nearest
72790         for all computations.
72791         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72792         <fenv.h>.
72793         (tan): Save and restore rounding mode and use round-to-nearest for
72794         all computations.
72795         * math/libm-test.inc (cos_test_tonearest): New function.
72796         (cos_test_towardzero): Likewise.
72797         (cos_test_downward): Likewise.
72798         (cos_test_upward): Likewise.
72799         (sin_test_tonearest): Likewise.
72800         (sin_test_towardzero): Likewise.
72801         (sin_test_downward): Likewise.
72802         (sin_test_upward): Likewise.
72803         (tan_test_tonearest): Likewise.
72804         (tan_test_towardzero): Likewise.
72805         (tan_test_downward): Likewise.
72806         (tan_test_upward): Likewise.
72807         (main): Call the new functions.
72808         * sysdeps/i386/fpu/libm-test-ulps: Update.
72809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72811         [BZ #10135]
72812         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72813         small n, then large n, before computing and testing k+n.
72814         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72815         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72816         Likewise.
72817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72818         Likewise.
72819         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72820         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72822         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72823         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72824         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72825         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72827         * math/libm-test.inc (scalbn_test): Add more tests.
72828         (scalbln_test): Likewise.
72830         * manual/filesys.texi (mode_t): Describe constraints on size and
72831         signedness, not exact equivalence to a particular type.
72832         (ino_t): Likewise.
72833         (ino64_t): Likewise.
72834         (dev_t): Likewise.
72835         (nlink_t): Likewise.
72836         (blkcnt_t): Likewise.
72837         (blkcnt64_t): Likewise.
72838         * manual/llio.texi (off_t): Likewise.
72840         [BZ #3976]
72841         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72842         (__ieee754_exp): Save and restore rounding mode and use
72843         round-to-nearest for all computations.
72844         * math/libm-test.inc (exp_test_tonearest): New function.
72845         (exp_test_towardzero): Likewise.
72846         (exp_test_downward): Likewise.
72847         (exp_test_upward): Likewise.
72848         (main): Call the new functions.
72849         * sysdeps/i386/fpu/libm-test-ulps: Update.
72850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72852 2012-03-01  Chris Demetriou  <cgd@google.com>
72854         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72855         have predictable order.
72857 2012-03-01  David S. Miller  <davem@davemloft.net>
72859         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72861         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72862         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72863         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72864         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72866         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72867         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72868         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72870         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72871         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72872         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72873         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72874         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72878         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72879         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72880         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72882         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72883         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72884         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72885         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72886         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72889         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72890         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72891         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72892         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72893         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72895         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72896         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72897         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72898         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72899         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72900         * sysdeps/sparc/elf/configure: Regenerated.
72902 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72904         * configure.in (AS, LD): Require binutils 2.20 or later.
72905         * configure: Regenerated.
72906         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72907         as required minimum version.
72908         * INSTALL: Regenerated.
72910         [BZ #2541]
72911         [BZ #4108]
72912         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72913         before squaring exponent.
72914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72915         bottom long double and 27 bits of top long double before squaring
72916         exponent.
72917         * math/libm-test.inc (erfc_test): Add more tests.
72918         * sysdeps/i386/fpu/libm-test-ulps: Update.
72919         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72922 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72924         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72925         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72926         containing bit-fields.
72927         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72928         * soft-fp/single.h (_FP_UNION_S): Likewise.
72929         * soft-fp/double.h (_FP_UNION_D): Likewise.
72931 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72933         [BZ #13786]
72934         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72935         not include ../strcmp.S.
72936         [USE_AS_STRNCASECMP_L]: Likewise.
72937         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72938         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72939         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72940         (__strncasecmp_l_ia32): Define as alias to
72941         __strncasecmp_l_nonascii.
72943         [BZ #5794]
72944         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72945         * sysdeps/i386/fpu/libm-test-ulps: Update.
72946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72948         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72951 2012-02-29  Jeff Law  <law@redhat.com>
72953         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72954         out of bounds read.
72956 2012-02-29  Marek Polacek  <polacek@redhat.com>
72958         [BZ #13706]
72959         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72960         * elf/Makefile: Add rules to run tst-unused-dep.out.
72962 2012-02-28  David S. Miller  <davem@davemloft.net>
72964         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72965         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72966         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72967         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72968         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72969         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72971 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72973         * math/libm-test.inc (llround_test): Move one test from
72974         lround_test.  Use TEST_f_L in moved test.
72975         (lround_test): Move misplaced test to llround_test.  Add testcase
72976         from bug 2561.
72978 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72980         * sysdeps/x86_64/fpu/e_expf.S: New file.
72981         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72983 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72985         [BZ #13637]
72986         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72987         of remain_len that may cause incomplete multi-byte character and
72988         false match.
72989         * posix/bug-regex33.c: New file.
72990         * posix/Makefile (tests): Add bug-regex33.
72992 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72994         * manual/macros.texi: New file.
72995         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72996         * manual/libc.texinfo: Include macros.texi.
72997         * manual/creatute.texi: Likewise.
72998         * manual/install.texi: Likewise.
72999         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73000         @glibcadj{} in references to the GNU C Library.
73001         * manual/charset.texi: Likewise.
73002         * manual/conf.texi: Likewise.
73003         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73004         when not using those macros.
73005         * manual/creature.texi: Likewise.
73006         * manual/crypt.texi: Likewise.
73007         * manual/errno.texi: Likewise.
73008         * manual/filesys.texi: Likewise.
73009         * manual/header.texi: Likewise.
73010         * manual/install.texi: Likewise.
73011         * manual/intro.texi: Likewise.
73012         * manual/io.texi: Likewise.
73013         * manual/job.texi: Likewise.
73014         * manual/lang.texi: Likewise.
73015         * manual/libc.texiinfo: Likewise.
73016         * manual/llio.texi: Likewise.
73017         * manual/locale.texi: Likewise.
73018         * manual/maint.texi: Likewise.
73019         * manual/math.texi: Likewise.
73020         * manual/memory.texi: Likewise.
73021         * manual/message.texi: Likewise.
73022         * manual/nss.texi: Likewise.
73023         * manual/pattern.texi: Likewise.
73024         * manual/process.texi: Likewise.
73025         * manual/resource.texi: Likewise.
73026         * manual/search.texi: Likewise.
73027         * manual/setjmp.texi: Likewise.
73028         * manual/signal.texi: Likewise.
73029         * manual/socket.texi: Likewise.
73030         * manual/startup.texi: Likewise.
73031         * manual/stdio.texi: Likewise.
73032         * manual/string.texi: Likewise.
73033         * manual/sysinfo.texi: Likewise.
73034         * manual/syslog.texi: Likewise.
73035         * manual/terminal.texi: Likewise.
73036         * manual/time.texi: Likewise.
73037         * manual/users.texi: Likewise.
73038         * INSTALL: Regenerated.
73039         * NOTES: Regenerated.
73040         * sysdeps/gnu/errlist.c: Regenerated.
73042 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73044         * include/dirent.h: Include <dirstream.h> before
73045         <dirent/dirent.h>.
73047 2012-02-28  David S. Miller  <davem@davemloft.net>
73049         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73050         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73051         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73052         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73054 2012-02-27  David S. Miller  <davem@davemloft.net>
73056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73058         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73059         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73062         frame pointer instead of stack pointer relative arg slot.
73063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73064         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73065         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73067 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73069         [BZ #3992]
73070         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73072 2012-02-27  David S. Miller  <davem@davemloft.net>
73074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73078         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73079         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73080         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73081         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73083 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73085         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73086         later.  Allow versions 5-9.
73087         * configure: Regenerated.
73088         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73089         required minimum version and 4.6 as recommended version.  Do not
73090         mention bugs in GCC 2.7 and 2.8.
73091         * INSTALL: Regenerated.
73093 2012-02-27  David S. Miller  <davem@davemloft.net>
73095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73099         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73100         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73101         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73102         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73104         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73105         manipulate bits before adding and subtracting TWO112[sx].
73106         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73108 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73110         [BZ #13775]
73111         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73112         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73113         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73114         being in POSIX, because they are in 1003.1-2008.
73116         * rt/tst-aio.c: Include <fcntl.h>.
73117         * rt/tst-aio7.c: Likewise.
73118         * rt/tst-aio64.c: Likewise.
73120         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73122 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73124         * manual/install.texi (--with-headers): Describe headers as
73125         interface headers, not private headers.
73126         (Specific advice for GNU/Linux systems): Describe use of headers
73127         from "make headers_install", not private headers from older
73128         kernels.
73129         * INSTALL: Regenerated.
73130         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73131         Change to 2.6.19.
73132         * sysdeps/unix/sysv/linux/configure: Regenerated.
73134         * manual/llio.texi (fclean): Remove documentation.
73136         * manual/Makefile (libc-texi-generated): New variable.  Include
73137         version.texi.
73138         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73139         $(libc-texi-generated), not duplicated list of files.
73140         (version.texi, stamp-version): New rules.
73141         (realclean): Remove $(libc-texi-generated), not individual files
73142         from that list.  Do not remove dir-add.texinfo.
73143         * manual/libc.texinfo: Comment out uses of edition numbers and
73144         references to printed manual.  Remove last-updated dates.
73145         (EDITION): Comment out.
73146         (ISBN): Likewise.
73147         (VERSION, UPDATED): Remove.
73148         (version.texi): Include.
73150 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73152         * sysdeps/posix/spawni.c: Include <signal.h>.
73153         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73154         * sysdeps/pthread/aio_fsync.c: Likewise.
73156 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73158         * conform/Makefile (tests): Run only when not cross-compiling and
73159         when fast-check is not defined.
73161         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73162         * conform/data/limits.h-data: Fixes for POSIX2008.
73163         * conform/run-conformtest.sh: Run all tests.
73164         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73165         headers.
73166         * include/bits/dlfcn.h: Likewise.
73167         * include/langinfo.h: Likewise.
73168         * include/monetary.h: Likewise.
73169         * include/sys/poll.h: Likewise.
73171         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73172         for __USE_GNU.
73173         * posix/spawn.h: Define __need_sigset_t.
73174         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73175         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73176         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73177         to get sigevent_t only.
73178         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73179         only for __USE_GNU.
73180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73181         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73182         process_vm_writev only for __USE_GNU.
73183         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73185         * conform/Makefile: For now ignore errors from run-conformtest.
73186         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73187         POSIX to avoid namespace pollution.  Don't prepend headers.
73188         * conform/data/aio.h-data: Fixes for POSIX testing.
73189         * conform/data/fcntl.h-data: Likewise.
73190         * conform/data/glob.h-data: Likewise.
73191         * conform/data/grp.h-data: Likewise.
73192         * conform/data/pthread.h-data: Likewise.
73193         * conform/data/pwd.h-data: Likewise.
73194         * conform/data/signal.h-data: Likewise.
73195         * conform/data/spawn.h-data: Likewise.
73196         * conform/data/stdio.h-data: Likewise.
73197         * conform/data/stdlib.h-data: Likewise.
73198         * conform/data/stropts.h-data: Likewise.
73199         * conform/data/sys/mman.h-data: Likewise.
73200         * conform/data/sys/stat.h-data: Likewise.
73201         * conform/data/sys/types.h-data: Likewise.
73202         * conform/data/sys/wait.h-data: Likewise.
73203         * conform/data/time.h-data: Likewise.
73204         * conform/data/unistd.h-data: Likewise.
73205         * conform/data/utime.h-data: Likewise.
73207         * io/sys/stat.h: fchmod was always in POSIX.
73208         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73209         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73210         * rt/aio.h: Define __need_timespec before including <time.h>.
73211         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73212         struct.  Add forward declaration of pthread_attr_t and use it in
73213         sigevent.
73214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73215         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73216         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73217         always remove CLK_TCK definition.
73219 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73221         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73223 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73225         * conform/run-conformtest.sh: New file.
73226         * conform/Makefile: Run run-conformtest for tests.
73227         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73228         support.
73230         * conform/data/uchar.h-data: New file.
73231         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73232         * conform/data/arpa/inet.h-data: Likewise.
73233         * conform/data/assert.h-data: Likewise.
73234         * conform/data/complex.h-data: Likewise.
73235         * conform/data/cpio.h-data: Likewise.
73236         * conform/data/ctype.h-data: Likewise.
73237         * conform/data/dirent.h-data: Likewise.
73238         * conform/data/dlfcn.h-data: Likewise.
73239         * conform/data/errno.h-data: Likewise.
73240         * conform/data/fcntl.h-data: Likewise.
73241         * conform/data/float.h-data: Likewise.
73242         * conform/data/fmtmsg.h-data: Likewise.
73243         * conform/data/fnmatch.h-data: Likewise.
73244         * conform/data/ftw.h-data: Likewise.
73245         * conform/data/glob.h-data: Likewise.
73246         * conform/data/grp.h-data: Likewise.
73247         * conform/data/iconv.h-data: Likewise.
73248         * conform/data/inttypes.h-data: Likewise.
73249         * conform/data/langinfo.h-data: Likewise.
73250         * conform/data/libgen.h-data: Likewise.
73251         * conform/data/limits.h-data: Likewise.
73252         * conform/data/locale.h-data: Likewise.
73253         * conform/data/math.h-data: Likewise.
73254         * conform/data/monetary.h-data: Likewise.
73255         * conform/data/mqueue.h-data: Likewise.
73256         * conform/data/ndbm.h-data: Likewise.
73257         * conform/data/net/if.h-data: Likewise.
73258         * conform/data/netdb.h-data: Likewise.
73259         * conform/data/netinet/in.h-data: Likewise.
73260         * conform/data/nl_types.h-data: Likewise.
73261         * conform/data/poll.h-data: Likewise.
73262         * conform/data/pthread.h-data: Likewise.
73263         * conform/data/pwd.h-data: Likewise.
73264         * conform/data/regex.h-data: Likewise.
73265         * conform/data/sched.h-data: Likewise.
73266         * conform/data/search.h-data: Likewise.
73267         * conform/data/semaphore.h-data: Likewise.
73268         * conform/data/setjmp.h-data: Likewise.
73269         * conform/data/signal.h-data: Likewise.
73270         * conform/data/spawn.h-data: Likewise.
73271         * conform/data/stdarg.h-data: Likewise.
73272         * conform/data/stdio.h-data: Likewise.
73273         * conform/data/stdlib.h-data: Likewise.
73274         * conform/data/string.h-data: Likewise.
73275         * conform/data/strings.h-data: Likewise.
73276         * conform/data/stropts.h-data: Likewise.
73277         * conform/data/sys/ipc.h-data: Likewise.
73278         * conform/data/sys/mman.h-data: Likewise.
73279         * conform/data/sys/msg.h-data: Likewise.
73280         * conform/data/sys/resource.h-data: Likewise.
73281         * conform/data/sys/select.h-data: Likewise.
73282         * conform/data/sys/sem.h-data: Likewise.
73283         * conform/data/sys/shm.h-data: Likewise.
73284         * conform/data/sys/socket.h-data: Likewise.
73285         * conform/data/sys/stat.h-data: Likewise.
73286         * conform/data/sys/statvfs.h-data: Likewise.
73287         * conform/data/sys/time.h-data: Likewise.
73288         * conform/data/sys/timeb.h-data: Likewise.
73289         * conform/data/sys/times.h-data: Likewise.
73290         * conform/data/sys/types.h-data: Likewise.
73291         * conform/data/sys/uio.h-data: Likewise.
73292         * conform/data/sys/un.h-data: Likewise.
73293         * conform/data/sys/utsname.h-data: Likewise.
73294         * conform/data/sys/wait.h-data: Likewise.
73295         * conform/data/syslog.h-data: Likewise.
73296         * conform/data/tar.h-data: Likewise.
73297         * conform/data/termios.h-data: Likewise.
73298         * conform/data/utime.h-data: Likewise.
73299         * conform/data/utmpx.h-data: Likewise.
73300         * conform/data/varargs.h-data: Likewise.
73301         * conform/data/wchar.h-data: Likewise.
73302         * conform/data/wctype.h-data: Likewise.
73303         * conform/data/wordexp.h-data: Likewise.
73305         * include/stropts.h: New file.
73306         * include/uchar.h: New file.
73307         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73308         * include/assert.h: Likewise.
73309         * include/ctype.h: Likewise.
73310         * include/dirent.h: Likewise.
73311         * include/dlfcn.h: Likewise.
73312         * include/fcntl.h: Likewise.
73313         * include/fnmatch.h: Likewise.
73314         * include/glob.h: Likewise.
73315         * include/grp.h: Likewise.
73316         * include/libio.h: Likewise.
73317         * include/locale.h: Likewise.
73318         * include/math.h: Likewise.
73319         * include/net/if.h: Likewise.
73320         * include/netdb.h: Likewise.
73321         * include/netinet/in.h: Likewise.
73322         * include/pthread.h: Likewise.
73323         * include/pwd.h: Likewise.
73324         * include/regex.h: Likewise.
73325         * include/sched.h: Likewise.
73326         * include/search.h: Likewise.
73327         * include/setjmp.h: Likewise.
73328         * include/signal.h: Likewise.
73329         * include/stdio.h: Likewise.
73330         * include/stdlib.h: Likewise.
73331         * include/string.h: Likewise.
73332         * include/sys/cdefs.h: Likewise.
73333         * include/sys/mman.h: Likewise.
73334         * include/sys/msg.h: Likewise.
73335         * include/sys/resource.h: Likewise.
73336         * include/sys/select.h: Likewise.
73337         * include/sys/socket.h: Likewise.
73338         * include/sys/stat.h: Likewise.
73339         * include/sys/statvfs.h: Likewise.
73340         * include/sys/time.h: Likewise.
73341         * include/sys/times.h: Likewise.
73342         * include/sys/uio.h: Likewise.
73343         * include/sys/utsname.h: Likewise.
73344         * include/sys/wait.h: Likewise.
73345         * include/termios.h: Likewise.
73346         * include/time.h: Likewise.
73347         * include/ulimit.h: Likewise.
73348         * include/unistd.h: Likewise.
73349         * include/utime.h: Likewise.
73350         * include/wchar.h: Likewise.
73351         * include/wctype.h: Likewise.
73352         * include/wordexp.h: Likewise.
73354         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73356         * time/time.h: TIME_UTC must be a macro.
73357         Make timespec_get available for ISO C11 only as well.
73359 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73361         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73362         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73364 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73366         * configure.in: Use -o not -a in test for unsupported multi-arch.
73368 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73370         * manual/texinfo.tex: Update to version 2012-01-19.16.
73372 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73374         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73376 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73378         [BZ #13738]
73379         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73380         * manual/fdl-1.3.texi: New file.
73381         * manual/fdl-1.1.texi: File removed.
73383         [BZ #13738]
73384         * manual/libc.texinfo (FDL_VERSION): New @set.
73385         Use it for mention of FDL in cover text.
73386         (Documentation License): Use it in @include file name.
73388 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73389             Roland McGrath  <roland@hack.frob.com>
73391         [BZ #5461]
73392         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73393         (not LONG_LONG_MAX and LONG_LONG_MIN.
73394         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73395         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73396         name.
73397         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73401         [BZ #2547]
73402         [BZ #11365]
73403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73404         manipulate bits before adding and subtracting TWO23[sx].
73405         * math/libm-test.inc (nearbyint_test): Add more tests.
73407 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73409         [BZ #2548]
73410         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73411         bits before adding and subtracting TWO23[sx].
73412         * math/libm-test.inc (rint_test): Add more tests.
73413         (rint_test_tonearest): Likewise.
73414         (rint_test_towardzero): Likewise.
73415         (rint_test_downward): Likewise.
73416         (rint_test_upward: Likewise.
73418 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73420         [BZ #10110]
73421         * include/stdc-predef.h: New file.  Extracted from features.h.
73422         * include/features.h: Include stdc-predef.h.
73423         * Makefile (headers): Add stdc-predef.h.
73424         * CONFORMANCE (Compiler limitations): Update.
73426 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73428         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73430 2012-02-21  David S. Miller  <davem@davemloft.net>
73432         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73433         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73435 2012-02-20  David S. Miller  <davem@davemloft.net>
73437         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73438         using a normal save/restore sequence, rather than allocating a
73439         dummy stack frame just to store a frame pointer and restore.
73440         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73442 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73444         * manual/install.texi: Fix stray word in line-wrapped comment.
73446 2012-02-20  David S. Miller  <davem@davemloft.net>
73448         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73449         both binutils and gcc support GOTDATA.
73451         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73452         "rd %pc" in the PIC register setup sequences.
73454         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73455         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73456         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73457         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73458         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73459         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73460         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73461         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73463         (SYSCALL_ERROR_HANDLER): Likewise.
73464         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73465         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73467         (SYSCALL_ERROR_HANDLER): Likewise.
73469         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73470         (HAVE_GCC_GOTDATA): New.
73471         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73472         relocation support in both binutils and gcc.
73473         * sysdeps/sparc/elf/configure: Regenerate.
73475         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73476         * sysdeps/sparc/sparc32/elf/configure: Delete.
73477         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73478         * sysdeps/sparc/sparc64/elf/configure: Delete.
73479         * sysdeps/sparc/elf/configure.in: New file.
73480         * sysdeps/sparc/elf/configure: Generate.
73482         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73483         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73484         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73485         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73486         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73488 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73490         * manual/install.texi: Do not mention specific glibc version
73491         numbers.
73492         * manual/libc.texinfo (VERSION, UPDATED): Update.
73493         (@copying): Use @copyright{} and range of years.
73495 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73497         [BZ #13695]
73498         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73499         [crti.S not in sysdirs] (generated): Do not append.
73500         [crti.S not in sysdirs] (omit-deps): Likewise.
73501         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73502         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73503         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73504         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73505         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73506         Likewise.
73507         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73508         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73509         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73510         * csu/defs.awk: Remove file.
73511         * sysdeps/generic/initfini.c: Likewise.
73512         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73513         variable.
73514         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73515         Likewise.
73517 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73519         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73520         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73521         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73522         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73523         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73524         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73525         <bits/epoll.h>.
73526         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73527         (__EPOLL_PACKED): Define to empty if not defined by
73528         <bits/epoll.h>.
73529         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73531         bits/epoll.h.
73533 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73535         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73536         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73537         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73538         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73539         <bits/timerfd.h>.
73540         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73541         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73542         bits/timerfd.h.
73544 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73546         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73547         in C locale.
73548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73549         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73550         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73553 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73555         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73556         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73558 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73560         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73561         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73562         defined.
73563         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73564         Likewise.
73565         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73566         entry for 2.16.
73568 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73570         * math/w_acos.c: Use non-signaling floating-point comparisons.
73571         * math/w_acosf.c: Likewise.
73572         * math/w_acosh.c: Likewise.
73573         * math/w_acoshf.c: Likewise.
73574         * math/w_acoshl.c: Likewise.
73575         * math/w_acosl.c: Likewise.
73576         * math/w_asin.c: Likewise.
73577         * math/w_asinf.c: Likewise.
73578         * math/w_asinl.c: Likewise.
73579         * math/w_atanh.c: Likewise.
73580         * math/w_atanhf.c: Likewise.
73581         * math/w_atanhl.c: Likewise.
73582         * math/w_exp2.c: Likewise.
73583         * math/w_exp2f.c: Likewise.
73584         * math/w_exp2l.c: Likewise.
73585         * math/w_j0.c: Likewise.
73586         * math/w_j0f.c: Likewise.
73587         * math/w_j0l.c: Likewise.
73588         * math/w_j1.c: Likewise.
73589         * math/w_j1f.c: Likewise.
73590         * math/w_j1l.c: Likewise.
73591         * math/w_jn.c: Likewise.
73592         * math/w_jnf.c: Likewise.
73593         * math/w_log.c: Likewise.
73594         * math/w_log10.c: Likewise.
73595         * math/w_log10f.c: Likewise.
73596         * math/w_log10l.c: Likewise.
73597         * math/w_log2.c: Likewise.
73598         * math/w_log2f.c: Likewise.
73599         * math/w_log2l.c: Likewise.
73600         * math/w_logf.c: Likewise.
73601         * math/w_logl.c: Likewise.
73602         * math/w_sqrt.c: Likewise.
73603         * math/w_sqrtf.c: Likewise.
73604         * math/w_sqrtl.c: Likewise.
73605         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73606         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73607         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73608         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73609         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73611 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73613         [BZ #9739]
73614         * manual/string.texi (strnlen): Use correct parameter name in
73615         equivalent expression.
73617 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73619         [BZ #11174]
73620         * manual/users.texi (seteuid): Consistently use neweuid for
73621         argument name.
73623 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73625         [BZ #13704]
73626         * manual/nss.texi (Services in the NSS configuration): Correct
73627         list of services in example configuration file.
73629 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73631         [BZ #11322]
73632         * manual/arith.texi: Remove statements about negative zero
73633         behaving identically to zero.
73635 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73637         [BZ #5993]
73638         * manual/install.texi: Do not document upgrading from libc5.
73640 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73642         [BZ #4596]
73643         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73645 2012-02-18  David S. Miller  <davem@davemloft.net>
73647         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73648         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73649         %o7 across the call.
73650         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73651         instead.
73652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73653         SETUP_PIC_REG_LEAF.
73654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73655         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73656         * sysdeps/sparc/crtn.S: Likewise.
73658 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73660         * aout/Makefile: Remove.
73662 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73664         [BZ #13058]
73665         * manual/examples/argp-ex1.c (main): Format definition in GNU
73666         style.
73667         * manual/examples/argp-ex2.c (main): Likewise.
73668         * manual/examples/argp-ex3.c (main): Likewise.
73669         * manual/examples/argp-ex4.c (main): Likewise.
73670         * manual/examples/longopt.c (main): Use new-style prototype
73671         definition.
73672         * manual/examples/strncat.c (main): Specify return type and use
73673         (void) for arguments.
73674         * manual/examples/subopt.c (main): Use char **argv argument.
73676 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73678         [BZ #5077]
73679         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73680         rounding modes.
73682 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73684         [BZ #6907]
73685         * manual/string.texi (strchr): Change when strchrnul is
73686         recommended.
73688 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73690         [BZ #174]
73691         * manual/locale.texi (setlocale): Document LOCPATH.
73693 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73695         [BZ #10210]
73696         * manual/process.texi (execle): Move @dots{} before last argument.
73698 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73700         [BZ #12047]
73701         * manual/charset.texi (Generic Charset Conversion): Fix typo
73702         (LC_TYPE -> LC_CTYPE).
73704 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73706         [BZ #5805]
73707         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73708         (scalbnf): Likewise.
73709         (scalbnl): Likewise.
73710         (scalbln): Likewise.
73711         (scalblnf): Likewise.
73712         (scalblnl): Likewise.
73713         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73714         (vwarnx): Likewise.
73715         (verr): Likewise.
73716         (verrx): Likewise.
73717         * manual/filesys.texi (telldir): Use braces around return type.
73718         * manual/llio.texi (mmap): Add space after comma.
73719         (mmap64): Likewise.
73720         * manual/math.texi (jn): Use @var{} on parameter names.
73721         (jnf): Likewise.
73722         (jnl): Likewise.
73723         (yn): Likewise.
73724         (ynf): Likewise.
73725         (ynl): Likewise.
73726         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73727         line.
73728         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73729         "...".
73730         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73731         (sched_get_priority_max): Likewise.
73732         * manual/signal.texi (sigvec): Add space after comma.
73733         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73734         names.
73735         (if_indextoname): Likewise.
73736         (if_freenameindex): Likewise.
73737         (sendto): Use ',' instead of '.' in prototype.
73738         * manual/startup.texi (syscall): Use @dots{} instead of literal
73739         "...".
73740         * manual/stdio.texi (__fpending): Separate initial words of
73741         paragraph from @deftypefun line.
73742         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73743         "...".
73744         (vsyslog): Use @var{} on parameter names.
73745         * manual/terminal.texi (stty): Use @var{} on parameter names.
73746         * manual/users.texi (getutmp): Use @var{} on parameter names.
73747         (getutmpx): Likewise.
73749 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73751         [BZ #6884]
73752         * manual/stdio.texi (fopen): Fix typos in description of
73753         ",ccs=STRING".
73755 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73757         [BZ #4026]
73758         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73759         get clock_id definition.
73761 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73763         [BZ #4822]
73764         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73765         (madvise): Cast every argument to void on its own.
73767 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73769         [BZ #9902]
73770         * manual/startup.texi (Exit Status): Fix typo.
73772 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73774         [BZ #10140]
73775         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73776         * manual/examples/argp-ex2.c: Likewise.
73777         * manual/examples/argp-ex3.c: Likewise.
73779 2012-02-16  Richard Henderson  <rth@redhat.com>
73781         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73782         * sysdeps/s390/s390-32/initfini.c: Remove.
73783         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73784         * sysdeps/s390/s390-64/initfini.c: Remove.
73786 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73788         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73789         compiler output for sysdeps/generic/initfini.c.
73790         * sysdeps/sh/elf/initfini.c: Remove file.
73792 2012-02-16  David S. Miller  <davem@davemloft.net>
73794         [BZ #11494]
73795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73797         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73798         * sysdeps/sparc/crti.S: New file.
73799         * sysdeps/sparc/crtn.S: New file.
73800         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73801         * sysdeps/sparc/sparc64/Makefile: Likewise.
73803 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73805         [BZ #3335]
73806         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73808 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73810         [BZ #4822]
73811         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73813         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73814         (write, read, close): Likewise.
73815         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73817 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73819         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73820         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73821         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73822         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73823         <bits/signalfd.h>.
73824         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73826         bits/signalfd.h.
73828 2012-02-14  Marek Polacek  <polacek@redhat.com>
73830         * sysdeps/x86_64/crti.S: New file.
73831         * sysdeps/x86_64/crtn.S: New file.
73832         * sysdeps/x86_64/elf/initfini.c: Remove file.
73834 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73836         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73837         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73838         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73839         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73840         <bits/inotify.h>.
73841         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73843         bits/inotify.h.
73845 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73847         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73848         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73849         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73850         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73851         <bits/eventfd.h>.
73852         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73854         bits/eventfd.h.
73856 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73858         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73859         __feraiseexcept instead of feraiseexcept.
73861         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73862         nanosleep invocations.
73863         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73864         strings, and add error checking for a nanosleep invocations.
73866 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73868         Replace FSF snail mail address with URLs, as per GNU coding standards.
73869         Most of the snail mail addresses were wrong anyway, and omitting
73870         them makes the source code easier to maintain.  Almost all of the
73871         changes are to license notices and to locale LC_IDENTIFICATION
73872         addresses, except for this one:
73873         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73874         not its snail mail address.
73876 2012-02-09  Richard Henderson  <rth@twiddle.net>
73878         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73879         of kernel-features.h.
73881         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73883 2012-02-08  Marek Polacek  <polacek@redhat.com>
73885         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73886         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73887         * sysdeps/gnu/_G_config.h: Likewise.
73888         * sysdeps/generic/_G_config.h: Likewise.
73890 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73892         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73893         tests.
73894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73896         * sysdeps/powerpc/powerpc32/crti.S: New file.
73897         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73898         * sysdeps/powerpc/powerpc64/crti.S: New file.
73899         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73901         * Makeconfig (have-initfini): Don't set.
73902         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73903         * configure.in (nopic_initfini): Don't substitute.
73904         * config.h.in (HAVE_INITFINI): Don't #undef.
73905         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73906         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73908 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73910         Support crti.S and crtn.S provided directly by architectures.
73911         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73912         [crti.S in sysdirs] (omit-deps): Likewise.
73913         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73914         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73915         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73916         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73917         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73918         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73919         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73920         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73921         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73922         compiler output for sysdeps/generic/initfini.c.
73923         * sysdeps/i386/elf/Makefile: Remove file.
73924         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73926 2012-02-07  Marek Polacek  <polacek@redhat.com>
73928         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73929         * sysdeps/gnu/_G_config.h: Likewise.
73930         * sysdeps/mach/hurd/_G_config.h: Likewise.
73932 2012-02-07  Marek Polacek  <polacek@redhat.com>
73934         * math/Makefile (tests): Add tst-CMPLX2.
73935         * math/tst-CMPLX2.c: New file.
73937 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73939         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73941         * math/libm-test.inc (jn_test): Add missing L suffix.
73943 2012-02-06  Marek Polacek  <polacek@redhat.com>
73945         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73946         * sysdeps/i386/fpu/e_powf.S: Likewise.
73947         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73948         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73949         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73950         * sysdeps/i386/fpu/e_pow.S: Likewise.
73951         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73952         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73953         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73954         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73955         * sysdeps/i386/fpu/e_log2.S: Likewise.
73956         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73957         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73958         * sysdeps/i386/fpu/e_powl.S: Likewise.
73959         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73960         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73961         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73962         * sysdeps/i386/fpu/e_logl.S: Likewise.
73963         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73964         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73965         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73966         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73967         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73968         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73969         * sysdeps/i386/fpu/e_log.S: Likewise.
73970         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73971         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73972         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73973         * sysdeps/i386/fpu/e_logf.S: Likewise.
73974         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73975         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73976         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73977         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73978         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73979         * sysdeps/i386/fpu/e_log10.S: Likewise.
73980         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73981         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73982         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73983         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73984         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73985         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73986         * sysdeps/i386/asm-syntax.h: Likewise.
73987         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73988         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73989         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73990         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73991         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73993         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73994         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73995         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73996         * sysdeps/powerpc/sysdep.h: Likewise.
73997         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73998         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74000 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74002         [BZ #411]
74003         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74005 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74007         * sysdeps/i386/sysdep.h: Include <features.h>.
74008         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74009         version.
74011 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74013         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74014         Define.
74015         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74016         LOAD_PIC_REG_STR.
74018 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74020         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74021         (SETUP_PIC_REG): Use GET_PC_THUNK.
74022         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74023         macro.
74025 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74027         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74028         for non-PIC compilation.
74029         (SETUP_PIC_REG): Add .p2align directive.
74030         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74031         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74032         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74033         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74035         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74036         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74037         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74038         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74039         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74040         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74041         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74042         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74043         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74044         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74045         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74046         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74047         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74048         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74049         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74050         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74051         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74052         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74053         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74054         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74056         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74057         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74058         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74059         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74060         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74061         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74062         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74063         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74064         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74065         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74066         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74067         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74068         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74069         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74070         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74072 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74074         * math/tst-CMPLX.c: Include <stdio.h>.
74076 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74078         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74079         float.
74080         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74081         * sysdeps/sparc/bits/mathdef.h: Likewise.
74083 2012-01-31  Marek Polacek  <polacek@redhat.com>
74085         * libio/libio.h: Don't define _PARAMS.
74086         * locale/programs/config.h: Don't define PARAMS.
74087         * stdlib/strtol_l.c: Likewise.
74088         (__strtol_l): Remove PARAMS from the prototype.
74090 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74092         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74093         names.  Just use the correct names.  Remove unnecessary wrapper
74094         functions.
74095         * malloc/arena.c: Likewise.
74096         * malloc/hooks.c: Likewise.
74098         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74099         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74100         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74102 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74104         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74105         into tail calls.
74106         (update_get_addr): New function.
74107         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74108         GET_ADDR_MODULE parameter.
74110 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74112         * crypt/cert.c: Remove __STDC__ conditionals.
74113         * crypt/crypt-entry.c: Likewise.
74114         * crypt/crypt_util.c: Likewise.
74115         * libio/filedoalloc.c: Likewise.
74116         * libio/fileops.c: Likewise.
74117         * libio/genops.c: Likewise.
74118         * libio/iofclose.c: Likewise.
74119         * libio/iofdopen.c: Likewise.
74120         * libio/iofopen.c: Likewise.
74121         * libio/iofopen64.c: Likewise.
74122         * libio/iogetdelim.c: Likewise.
74123         * libio/iopopen.c: Likewise.
74124         * libio/obprintf.c: Likewise.
74125         * libio/oldfileops.c: Likewise.
74126         * libio/oldiofclose.c: Likewise.
74127         * libio/oldiofdopen.c: Likewise.
74128         * libio/oldiofopen.c: Likewise.
74129         * libio/oldiopopen.c: Likewise.
74130         * libio/wfiledoalloc.c: Likewise.
74131         * libio/wgenops.c: Likewise.
74132         * locale/programs/xmalloc.c: Likewise.
74133         * misc/syslog.c: Likewise.
74134         * stdio-common/xbug.c: Likewise.
74135         * string/memchr.c: Likewise.
74136         * string/memcmp.c: Likewise.
74137         * string/memrchr.c: Likewise.
74138         * string/rawmemchr.c: Likewise.
74139         * sysdeps/posix/getcwd.c: Likewise.
74140         * time/strftime_l.c: Likewise.
74142 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74144         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74145         * config.make.in (config-cflags-sse2avx): Define.
74146         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74147         Fix typo.
74149 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74151         * scripts/config.guess: Update from upstream config git repository.
74152         * scripts/config.sub: Likewise.
74154 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74156         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74157         (EM_NUM): Update.
74158         (R_TILEPRO_*, R_TILEGX_*): New macros.
74160         * scripts/firstversions.awk: Fix bug in version range handling.
74162         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74164         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74166         * include/sys/epoll.h: New file.
74167         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74168         libc_hidden_def.
74170 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74172         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74173         Avoid unnecessary __WORDSIZE == 64 test.
74174         (fmaxf): Use VEX format if possible.
74175         (fmax): Likewise.
74176         (fminf): Likewise.
74177         (fmin): Likewise.
74179         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74180         * math/math_private.h: Remove libc_fegetround* and
74181         libc_fesetround*.
74182         * sysdeps/i386/configure.in: Check for -msse2avx.
74183         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74184         also if SSE2AVX is defined.
74185         Remove libc_fegetround* and libc_fesetround*.
74186         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74187         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74188         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74189         of HAS_YMM_USABLE.
74190         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74191         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74192         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74193         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74194         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74196         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74198 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74200         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74201         size is not set.
74202         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74204 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74206         [BZ #13618]
74207         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74208         relocation.
74209         * Makeconfig (libm): Define.
74210         * elf/Makefile: Add rules to build and run tst-relsort1.
74211         * elf/tst-relsort1.c: New file.
74212         * elf/tst-relsort1mod1.c: New file.
74213         * elf/tst-relsort1mod2.c: New file.
74215 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74217         * math/s_ldexp.c: Remove __STDC__ conditionals.
74218         * math/s_ldexpf.c: Likewise.
74219         * math/s_ldexpl.c: Likewise.
74220         * math/s_nextafter.c: Likewise.
74221         * math/s_nexttowardf.c: Likewise.
74222         * math/s_significand.c: Likewise.
74223         * math/s_significandf.c: Likewise.
74224         * math/s_significandl.c: Likewise.
74225         * math/w_jnl.c: Likewise.
74226         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74227         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74228         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74229         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74230         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74232         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74233         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74234         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74235         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74236         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74237         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74238         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74239         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74241         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74242         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74243         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74244         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74245         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74246         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74247         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74248         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74249         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74250         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74251         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74252         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74253         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74254         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74255         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74256         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74257         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74258         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74259         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74260         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74261         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74262         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74263         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74264         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74265         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74266         * sysdeps/ieee754/k_standard.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74289         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74290         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74295         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74296         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74298         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74299         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74300         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74302         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74303         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74305         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74306         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74307         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74308         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74309         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74310         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74311         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74312         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74313         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74314         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74315         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74316         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74317         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74319         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74320         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74321         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74322         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74323         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74324         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74325         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74326         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74327         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74328         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74329         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74330         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74331         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74332         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74333         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74334         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74335         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74336         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74337         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74338         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74339         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74340         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74341         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74342         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74343         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74344         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74345         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74346         * sysdeps/ieee754/s_matherr.c: Likewise.
74347         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74348         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74349         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74352 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74354         * crypt/md5.h: Remove __STDC__ conditionals.
74355         * libio/libioP.h: Likewise.
74356         * locale/programs/config.h: Likewise.
74357         * sysdeps/generic/sysdep.h: Likewise.
74358         * sysdeps/i386/asm-syntax.h: Likewise.
74359         * sysdeps/s390/asm-syntax.h: Likewise.
74360         * sysdeps/unix/sysdep.h: Likewise.
74361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74364 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74366         * libio/libio.h: Remove __STDC__ conditionals.
74367         * malloc/obstack.h: Likewise.
74368         * math/complex.h: Likewise.
74369         * math/math.h: Likewise.
74370         * sysdeps/generic/_G_config.h: Likewise.
74371         * sysdeps/gnu/_G_config.h: Likewise.
74372         * sysdeps/mach/hurd/_G_config.h: Likewise.
74373         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74374         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74375         * sysdeps/sparc/bits/mathdef.h: Likewise.
74377 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74379         [BZ #13583]
74380         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74381         Clean up HAS_* macros.
74382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74383         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74384         possible.
74385         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74386         HAS_AVX.
74387         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74388         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74391         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74393 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74395         * elf/tst-unique3.cc (gets): Remove declaration.
74396         * elf/tst-unique3lib.cc (gets): Likewise.
74397         * elf/tst-unique3lib2.cc (gets): Likewise.
74398         * elf/tst-unique4.cc (gets): Likewise.
74400 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74402         * include/stdio.h: Add C++ protection.  Add gets declarations and
74403         definitions.
74404         * debug/tst-chk1.c: Don't declare gets here.
74405         * stdio-common/tst-gets.c: Likewise.
74407 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74409         * posix/glob: Remove directory.
74411 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74413         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74415 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74417         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74418         of the non-standard EPFNOSUPPORT.
74420 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74422         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74423         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74424         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74426 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74428         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74430 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74432         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74433         transient errors.
74434         * nscd/grpcache.c (cache_addgr): Likewise.
74435         * nscd/hstcache.c (cache_addhst): Likewise.
74436         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74437         * nscd/pwdcache.c (cache_addpw): Likewise.
74438         * nscd/servicescache.c (cache_addserv): Likewise.
74440 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74442         * malloc/malloc.c: Various cleanups.
74443         * malloc/hooks.c: Likewise.
74445         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74446         * stdlib/bug-fmtmsg1.c: New file.
74448         * stdlib/fmtmsg.c (init): Add missing unlock.
74449         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74451 2012-01-12  Marek Polacek  <polacek@redhat.com>
74453         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74454         and _GNU_SOURCE.
74456 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74458         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74459         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74460         macro to ensure uniqueness of label name.
74461         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74462         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74464 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74466         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74468         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74469         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74470         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74471         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74473 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74475         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74477         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74478         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74479         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74481         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74483         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74484         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74485         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74488         * math/bits/math-finite.h: Add ldexp support.
74490 2012-01-10  Marek Polacek  <polacek@redhat.com>
74492         * locale/programs/localedef.h (show_archive_content): Add noreturn
74493         attribute.
74495 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74497         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74499 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74501         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74503         * io/Makefile (headers): Add bits/poll2.h.
74505 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74508         typo #include statement.
74510 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74512         * include/sys/cdefs.h: Define __attribute_alloc_size.
74513         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74514         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74515         * elf/pldd.c: Likewise.
74516         * iconv/iconv_charmap.c: Likewise.
74517         * iconv/iconvconfig.c: Likewise.
74518         * iconv/strtab.c: Likewise.
74519         * locale/programs/locale.c: Likewise.
74520         * locale/programs/localedef.h: Likewise.
74521         * locale/programs/simple-hash.c: Likewise.
74522         * nscd/nscd.h: Likewise.
74523         * nss/makedb.c: Likewise.
74524         * sysdeps/generic/ldconfig.h: Likewise.
74525         * locale/programs/localedef.c: Remove xmalloc prototype.
74526         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74528 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74530         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74531         appropriate.
74533 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74535         * math/Makefile (tests): Add tst-CMPLX.
74536         * math/tst-CMPLX.c: New file.
74538         * math/complex.h (CMPLXL): Fix typo.
74540         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74541         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74542         GLIBC_2.16.
74543         * debug/tst-chk1.c: Add poll and ppoll tests.
74544         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74545         * include/sys/poll.h: Add hidden proto for ppoll.
74546         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74547         * sysdeps/mach/hurd/ppoll.c: Likewise.
74548         * io/ppoll.c: Likewise.
74549         * debug/poll_chk.c: New file.
74550         * debug/ppoll_chk.c: New file.
74551         * include/bits/poll2.h: New file.
74552         * io/bits/poll2.h: New file.
74554         [BZ #1350]
74555         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74557         * configure.in: static is always set to yes.  Remove.
74558         * config.make.in: Don't set build-static.
74559         * Makeconfig: Remove use of build-static.
74560         * dlfcn/Makefile: Likewise.
74561         * elf/Makefile: Likewise.
74562         * math/Makefile: Likewise.
74563         * misc/Makefile: Likewise.
74564         * nptl/Makefile: Likewise.
74565         * sysdeps/mach/hurd/Makefile: Likewise.
74567         * configure.in: PWD_P is not used anymore.
74568         * config.make.in: Remove PWD_P entry.
74570         * configure.in: Remove last remnants of RANLIB.
74571         No need to check for signed size_t anymore.
74572         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74573         and IA-64.
74574         Remove __builtin_expect test because we require at least gcc 3.4.
74575         * aclocal.m4: Likewise.
74577         * wcsmbs/mbrtoc16.c: Implement using towc function.
74578         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74579         * wcsmbs/wcsmbsload.c: Likewise.
74580         * iconv/gconv_simple.c: Likewise.
74581         * iconv/gconv_int.h: Likewise.
74582         * iconv/gconv_builtin.h: Likewise.
74583         * iconv/iconv_prog.c: Remove CHAR16 handling.
74585         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74587         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74589         * configure.in: Remove --with-elf and --enable-bounded options.
74590         Dont set base_machine for ia64.  More non-ELF conditions removed.
74591         Remove testing and setting of leading underscore information.
74592         * config.make.in (build-bounded): Set to no.
74593         * config.h.in: Remove NO_UNDERSCORES entry.
74594         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74595         them.
74596         * csu/start.c: Remove !NO_UNDERSCORE code.
74597         * locale/localeinfo.h: Likewise.
74598         * sysdeps/generic/machine-gmon.h: Likewise.
74599         * sysdeps/generic/sysdep.h: Likewise.
74600         * sysdeps/i386/sysdep.h: Likewise.
74601         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74602         * sysdeps/mach/sysdep.h: Likewise.
74603         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74604         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74605         * sysdeps/sh/sysdep.h: Likewise.
74606         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74607         * sysdeps/unix/i386/sysdep.S: Likewise.
74608         * sysdeps/unix/sparc/start.c: Likewise.
74609         * sysdeps/unix/sparc/sysdep.S: Likewise.
74610         * sysdeps/unix/sparc/sysdep.h: Likewise.
74611         * sysdeps/unix/start.c: Likewise.
74612         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74613         * sysdeps/x86_64/sysdep.h: Likewise.
74615 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74617         [BZ #13553]
74618         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74619         for non-gcc.
74620         * argp/argp-fmtstream.h: Use const instead __const.
74621         * argp/argp.h: Likewise.
74622         * assert/assert.h: Likewise.
74623         * bits/fenv.h: Likewise.
74624         * bits/sched.h: Likewise.
74625         * bits/sigset.h: Likewise.
74626         * bits/sigthread.h: Likewise.
74627         * catgets/nl_types.h: Likewise.
74628         * conform/data/pthread.h-data: Likewise.
74629         * crypt/crypt-private.h: Likewise.
74630         * crypt/crypt.h: Likewise.
74631         * crypt/crypt_util.c: Likewise.
74632         * ctype/ctype.h: Likewise.
74633         * debug/execinfo.h: Likewise.
74634         * debug/mbsnrtowcs_chk.c: Likewise.
74635         * debug/mbsrtowcs_chk.c: Likewise.
74636         * debug/wcsnrtombs_chk.c: Likewise.
74637         * debug/wcsrtombs_chk.c: Likewise.
74638         * debug/wcstombs_chk.c: Likewise.
74639         * dirent/dirent.h: Likewise.
74640         * dlfcn/dlfcn.h: Likewise.
74641         * elf/neededtest4.c: Likewise.
74642         * grp/grp.h: Likewise.
74643         * gshadow/gshadow.h: Likewise.
74644         * iconv/gconv.h: Likewise.
74645         * iconv/gconv_int.h: Likewise.
74646         * iconv/gconv_simple.c: Likewise.
74647         * iconv/iconv.h: Likewise.
74648         * iconv/loop.c: Likewise.
74649         * iconv/skeleton.c: Likewise.
74650         * include/aio.h: Likewise.
74651         * include/aliases.h: Likewise.
74652         * include/argz.h: Likewise.
74653         * include/arpa/inet.h: Likewise.
74654         * include/assert.h: Likewise.
74655         * include/dirent.h: Likewise.
74656         * include/dlfcn.h: Likewise.
74657         * include/execinfo.h: Likewise.
74658         * include/fcntl.h: Likewise.
74659         * include/fenv.h: Likewise.
74660         * include/glob.h: Likewise.
74661         * include/grp.h: Likewise.
74662         * include/libintl.h: Likewise.
74663         * include/mntent.h: Likewise.
74664         * include/netdb.h: Likewise.
74665         * include/pwd.h: Likewise.
74666         * include/rpc/netdb.h: Likewise.
74667         * include/sched.h: Likewise.
74668         * include/search.h: Likewise.
74669         * include/shadow.h: Likewise.
74670         * include/signal.h: Likewise.
74671         * include/stdio.h: Likewise.
74672         * include/stdlib.h: Likewise.
74673         * include/string.h: Likewise.
74674         * include/sys/socket.h: Likewise.
74675         * include/sys/stat.h: Likewise.
74676         * include/sys/statfs.h: Likewise.
74677         * include/sys/statvfs.h: Likewise.
74678         * include/sys/syslog.h: Likewise.
74679         * include/sys/time.h: Likewise.
74680         * include/sys/uio.h: Likewise.
74681         * include/time.h: Likewise.
74682         * include/unistd.h: Likewise.
74683         * include/utmp.h: Likewise.
74684         * include/wchar.h: Likewise.
74685         * include/wctype.h: Likewise.
74686         * inet/aliases.h: Likewise.
74687         * inet/arpa/inet.h: Likewise.
74688         * inet/netinet/ether.h: Likewise.
74689         * inet/netinet/in.h: Likewise.
74690         * intl/libintl.h: Likewise.
74691         * io/bits/fcntl2.h: Likewise.
74692         * io/fcntl.h: Likewise.
74693         * io/ftw.h: Likewise.
74694         * io/sys/poll.h: Likewise.
74695         * io/sys/stat.h: Likewise.
74696         * io/sys/statfs.h: Likewise.
74697         * io/sys/statvfs.h: Likewise.
74698         * io/utime.h: Likewise.
74699         * libio/bits/stdio.h: Likewise.
74700         * libio/bits/stdio2.h: Likewise.
74701         * libio/libio.h: Likewise.
74702         * libio/libioP.h: Likewise.
74703         * libio/stdio.h: Likewise.
74704         * locale/lc-ctype.c: Likewise.
74705         * locale/locale.h: Likewise.
74706         * login/utmp.h: Likewise.
74707         * malloc/arena.c: Likewise.
74708         * malloc/malloc.c: Likewise.
74709         * malloc/malloc.h: Likewise.
74710         * malloc/mcheck.c: Likewise.
74711         * malloc/mtrace.c: Likewise.
74712         * math/bits/mathcalls.h: Likewise.
74713         * math/fenv.h: Likewise.
74714         * math/math_private.h: Likewise.
74715         * misc/bits/error.h: Likewise.
74716         * misc/bits/syslog.h: Likewise.
74717         * misc/err.h: Likewise.
74718         * misc/error.h: Likewise.
74719         * misc/fstab.h: Likewise.
74720         * misc/mntent.h: Likewise.
74721         * misc/regexp.h: Likewise.
74722         * misc/search.h: Likewise.
74723         * misc/sgtty.h: Likewise.
74724         * misc/sys/mman.h: Likewise.
74725         * misc/sys/syslog.h: Likewise.
74726         * misc/sys/uio.h: Likewise.
74727         * misc/sys/xattr.h: Likewise.
74728         * misc/ttyent.h: Likewise.
74729         * nis/rpcsvc/ypclnt.h: Likewise.
74730         * nss/nss.h: Likewise.
74731         * posix/bits/unistd.h: Likewise.
74732         * posix/fnmatch.h: Likewise.
74733         * posix/glob.h: Likewise.
74734         * posix/sched.h: Likewise.
74735         * posix/spawn.h: Likewise.
74736         * posix/sys/wait.h: Likewise.
74737         * posix/unistd.h: Likewise.
74738         * posix/wordexp.h: Likewise.
74739         * pwd/pwd.h: Likewise.
74740         * resolv/netdb.h: Likewise.
74741         * resource/sys/resource.h: Likewise.
74742         * rt/aio.h: Likewise.
74743         * rt/bits/mqueue2.h: Likewise.
74744         * rt/mqueue.h: Likewise.
74745         * shadow/shadow.h: Likewise.
74746         * signal/signal.h: Likewise.
74747         * socket/send.c: Likewise.
74748         * socket/sendto.c: Likewise.
74749         * socket/sys/socket.h: Likewise.
74750         * stdio-common/printf.h: Likewise.
74751         * stdlib/bits/stdlib.h: Likewise.
74752         * stdlib/fmtmsg.h: Likewise.
74753         * stdlib/monetary.h: Likewise.
74754         * stdlib/stdlib.h: Likewise.
74755         * stdlib/ucontext.h: Likewise.
74756         * streams/stropts.h: Likewise.
74757         * string/argz.h: Likewise.
74758         * string/bits/string2.h: Likewise.
74759         * string/string.h: Likewise.
74760         * string/strings.h: Likewise.
74761         * sunrpc/rpc/auth.h: Likewise.
74762         * sunrpc/rpc/auth_des.h: Likewise.
74763         * sunrpc/rpc/clnt.h: Likewise.
74764         * sunrpc/rpc/netdb.h: Likewise.
74765         * sunrpc/rpc/pmap_clnt.h: Likewise.
74766         * sunrpc/rpc/xdr.h: Likewise.
74767         * sysdeps/generic/inttypes.h: Likewise.
74768         * sysdeps/generic/net/if.h: Likewise.
74769         * sysdeps/generic/sys/swap.h: Likewise.
74770         * sysdeps/gnu/net/if.h: Likewise.
74771         * sysdeps/gnu/utmpx.h: Likewise.
74772         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74773         * sysdeps/i386/i486/bits/string.h: Likewise.
74774         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74775         * sysdeps/s390/bits/string.h: Likewise.
74776         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74777         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74778         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74779         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74780         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74781         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74782         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74783         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74784         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74785         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74786         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74787         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74788         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74789         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74790         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74791         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74792         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74794         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74795         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74797         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74798         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74799         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74800         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74801         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74802         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74803         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74804         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74805         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74806         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74807         * sysvipc/sys/ipc.h: Likewise.
74808         * sysvipc/sys/msg.h: Likewise.
74809         * sysvipc/sys/sem.h: Likewise.
74810         * sysvipc/sys/shm.h: Likewise.
74811         * termios/termios.h: Likewise.
74812         * time/sys/time.h: Likewise.
74813         * time/time.h: Likewise.
74814         * wcsmbs/bits/wchar2.h: Likewise.
74815         * wcsmbs/uchar.h: Likewise.
74816         * wcsmbs/wchar.h: Likewise.
74817         * wctype/wctype.h: Likewise.
74819         [BZ #13551]
74820         * Makeconfig: Remove all but ELF support including AIX support.
74821         * Makerules: Likewise.
74822         * config.h.in: Likewise.
74823         * config.make.in: Likewise.
74824         * configure: Likewise.
74825         * configure.in: Likewise.
74826         * csu/Makefile: Likewise.
74827         * csu/version.c: Likewise.
74828         * debug/Makefile: Likewise.
74829         * dlfcn/Makefile: Likewise.
74830         * elf/Makefile: Likewise.
74831         * extra-lib.mk: Likewise.
74832         * iconv/Makefile: Likewise.
74833         * include/libc-symbols.h: Likewise.
74834         * include/shlib-compat.h: Likewise.
74835         * resolv/Makefile: Likewise.
74836         * resolv/res_libc.c: Likewise.
74837         * rt/Makefile: Likewise.
74838         * sysdeps/i386/asm-syntax.h: Likewise.
74839         * sysdeps/i386/sysdep.h: Likewise.
74840         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74841         * sysdeps/mach/sysdep.h: Likewise.
74842         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74843         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74844         * sysdeps/s390/asm-syntax.h: Likewise.
74845         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74847         * sysdeps/sh/sysdep.h: Likewise.
74848         * sysdeps/unix/sparc/sysdep.h: Likewise.
74849         * sysdeps/wordsize-32/divdi3.c: Likewise.
74850         * sysdeps/x86_64/sysdep.h: Likewise.
74852         * argp/Versions: Remove _argp_unlock_xxx.
74854         [BZ #13559]
74855         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74856         * abilist/libBrokenLocale.abilist: Likewise.
74857         * abilist/libanl.abilist: Likewise.
74858         * abilist/libc.abilist: Likewise.
74859         * abilist/libcrypt.abilist: Likewise.
74860         * abilist/libdl.abilist: Likewise.
74861         * abilist/libm.abilist: Likewise.
74862         * abilist/libnsl.abilist: Likewise.
74863         * abilist/libpthread.abilist: Likewise.
74864         * abilist/libresolv.abilist: Likewise.
74865         * abilist/librt.abilist: Likewise.
74866         * abilist/libthread_db.abilist: Likewise.
74867         * abilist/libutil.abilist: Likewise.
74868         * abilist/libnss_db.abilist: New file.
74870         * scripts/abilist.awk: Add support for indirect functions.
74872         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74874         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74876         * shlib-versions: Remove entries for ports architectures.
74878         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74879         files in ports.
74880         * elf/stackguard-macros.h: Remove support for IA-64.
74881         * elf/tst-auditmod1.c: Likewise.
74882         * sysdeps/generic/ldsodefs.h: Likewise.
74884         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74885         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74886         configure files.
74888         [BZ #13552]
74889         * configure.in: Remove --enable-omitfp support.
74890         * FAQ.in: Adjust.
74891         * config.make.in: Likewise.
74892         * Makeconfig: Likewise.
74893         * manual/install.texi: Likewise.
74895         In case anyone cares, the IA-64 architecture could move to ports.
74896         * sysdeps/ia64/*: Removed.
74897         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74898         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74900         [BZ #13555]
74901         * configure.in: Remove entries for unsupported architectures.
74903         [BZ #13533]
74904         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74905         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74906         routines.
74907         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74908         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74909         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74910         fall back to using wcrtomb.
74911         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74912         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74913         renaming.
74914         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74915         * wcsmbs/tst-c16c32-1.c: New file.
74917         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74918         local variable.
74920         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74922         * elf/tst-unique3.cc: Add explicit declaration of gets.
74923         * elf/tst-unique3lib.cc: Likewise.
74924         * elf/tst-unique3lib2.cc: Likewise.
74925         * elf/tst-unique4.cc: Likewise.
74927         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74929 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74931         [BZ #13566]
74932         * assert/assert.h (static_assert): Don't define for C++.
74933         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74934         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74936 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74938         * iconv/loop.c (single loop): Fix assertion in storing of
74939         remaining bytes.
74941         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74943 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74945         * posix/getconf.c: Update copyright year.
74946         * nss/getent.c: Likewise.
74947         * nss/makedb.c: Likewise.
74948         * iconv/iconvconfig.c: Likewise.
74949         * iconv/iconv_prog.c: Likewise.
74950         * elf/ldconfig.c: Likewise.
74951         * elf/pldd.c: Likewise.
74952         * elf/sotruss.ksh: Likewise.
74953         * catgets/gencat.c: Likewise.
74954         * csu/version.c: Likewise.
74955         * elf/ldd.bash.in: Likewise.
74956         * elf/sprof.c (print_version): Likewise.
74957         * locale/programs/locale.c: Likewise.
74958         * locale/programs/localedef.c: Likewise.
74959         * login/programs/pt_chown.c: Likewise.
74960         * nscd/nscd.c (print_version): Likewise.
74961         * debug/xtrace.sh: Likewise.
74962         * malloc/memusage.sh: Likewise.
74963         * malloc/mtrace.pl: Likewise.
74964         * debug/catchsegv.sh: Likewise.
74966 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74968         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74969         pure attribute.
74971 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74973         [BZ #13533]
74974         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74975         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74976         transformations.
74977         * iconv/gconv_int.h: Likewise.
74978         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74979         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74980         from libc for GLIBC_2.16.
74981         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74982         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74983         * wcsmbs/uchar.h: Really define mbstate_t.
74984         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74985         * wcsmbs/c16rtomb.c: New file.
74986         * wcsmbs/mbrtoc16.c: New file.
74987         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74988         for C/POSIX locale.
74989         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74990         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74992         * wcsmbs/wchar.h: Add missing __restrict.
74994 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74996         [BZ #13532]
74997         * time/Makefile (routines): Add timespec_get.
74998         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74999         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75000         timespec for ISO C11.
75001         * time/timespec_get.c: New file.
75002         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75003         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75005         [BZ #13531]
75006         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75007         * stdlib/stdlib.h: Declare aligned_alloc.
75008         * Versions.def: Add GLIBC_2.16 for libc.
75009         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75011         [BZ 13527]
75012         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75013         ISO C11.
75015         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75016         code.
75018         [BZ #13528]
75019         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75021         [BZ #13529]
75022         * assert/assert.h (static_assert): Define.
75024         * version.h: Update for 2.16 development version.
75026         [BZ #13526]
75027         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75028         _ISOC11_SOURCE.
75030         * version.h (RELEASE): Bump for 2.15 release.
75031         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75033         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75034         Patch by Marek Polacek <mpolacek@redhat.com>.
75036         * bits/byteswap.h: Protect long long constants with __extension__.
75037         * sysdeps/i386/bits/byteswap.h: Likewise.
75038         * sysdeps/ia64/bits/byteswap.h: Likewise.
75039         * sysdeps/s390/bits/byteswap.h: Likewise.
75040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75042 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75044         [BZ #13540]
75045         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75046         destination buffer.
75047         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75049 2011-12-23  Marek Polacek  <polacek@redhat.com>
75051         * elf/dl-addr.c (determine_info): Add inline keyword.
75052         * elf/tst-auditmod4b.c (check_avx): Likewise.
75053         * elf/tst-auditmod6b.c (check_avx): Likewise.
75054         * elf/tst-auditmod6c.c (check_avx): Likewise.
75055         * elf/tst-auditmod7b.c (check_avx): Likewise.
75057 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75059         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75060         !__SSE_MATH__.
75062 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75064         [BZ #13540]
75065         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75066         processing for last bytes.
75068 2011-08-06  Bruno Haible  <bruno@clisp.org>
75070         [BZ #13061]
75071         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75072         U+0385, not to U+1FEE.
75074         [BZ #13062]
75075         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75076         entry for U+00A5 U+0301.
75078 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75080         [BZ #13166]
75081         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75082         buffer for the output is too small.
75084         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75085         optimization.
75087         [BZ #13185]
75088         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75089         SSE flags if possible.
75091 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75093         [BZ #13540]
75094         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75095         processing for last bytes.
75097 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75099         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75100         (syscall-list-default-options, syscall-list-default-condition)
75101         (syscall-list-includes): Define.
75102         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75103         list of ABIs and options and #if conditions for each ABI.  Do not
75104         handle common syscalls between ABIs specially.
75105         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75106         Remove.
75107         (syscall-list-variants, syscall-list-32bit-options)
75108         (syscall-list-32bit-condition, syscall-list-64bit-options)
75109         (syscall-list-64bit-condition): Define.
75110         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75111         (syscall-list-variants, syscall-list-32bit-options)
75112         (syscall-list-32bit-condition, syscall-list-64bit-options)
75113         (syscall-list-64bit-condition): Define.
75114         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75115         Remove.
75116         (syscall-list-variants, syscall-list-32bit-options)
75117         (syscall-list-32bit-condition, syscall-list-64bit-options)
75118         (syscall-list-64bit-condition): Define.
75119         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75120         Remove.
75121         (syscall-list-variants, syscall-list-32bit-options)
75122         (syscall-list-32bit-condition, syscall-list-64bit-options)
75123         (syscall-list-64bit-condition): Define.
75125 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75127         * locale/iso-639.def: Add brx entry.
75129         [BZ #13328]
75130         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75131         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75133         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75134         __feraiseexcept_renamed.
75136 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75138         [BZ #13538]
75139         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75140         EPOLLET with unsigned values.
75141         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75142         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75144         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75145         to large cancellation.
75146         * math/s_cacoshf.c: Likewise.
75147         * math/s_cacoshl.c: Likewise.
75149 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75151         [BZ #13305]
75152         [BZ #12786]
75153         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75154         * math/s_cacoshf.c: Likewise.
75155         * math/s_cacoshl.c: Likewise.
75157 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75159         [BZ #13439]
75160         * iconv/gconv.h: Define __GCONV_SWAP.
75161         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75162         * iconvdata/utf-16.c: Likewise.
75163         * iconvdata/utf-32.c: Likewise.
75165 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75167         [BZ #13524]
75168         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75169         numerator after shifting it by one limb.
75171 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75173         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75174         under [__USE_EXTERN_INLINES].
75176 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75178         [BZ #13446]
75179         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75181 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75183         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75184         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75185         optimized code.
75186         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75187         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75188         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75189         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75190         for strncasecmp/strncasecmp_l compilation.
75191         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75192         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75194 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75196         [BZ #13484]
75197         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75198         of __asm__.
75200 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75202         [BZ #13506]
75203         * time/tzfile.c (__tzfile_read): Check values from file header.
75205 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75207         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75208         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75209         * powerpc/powerpc32/dl-start.S: Likewise.
75210         * powerpc/powerpc32/elf/start.S: Likewise.
75211         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75212         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75213         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75214         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75215         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75216         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75217         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75218         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75219         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75220         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75221         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75222         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75223         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75224         * powerpc/powerpc32/memset.S: Likewise.
75225         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75226         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75227         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75228         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75229         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75230         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75231         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75232         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75233         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75234         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75235         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75236         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75237         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75239 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75241         * math/libm-test.inc: Added more nearbyint tests.
75242         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75247 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75249         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75250         FD_CLOEXEC.
75252 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75254         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75255         Add wcscpy-ssse3 wcscpy-c.
75256         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75257         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75258         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75259         * sysdeps/x86_64/wcschr.S: New file.
75260         * sysdeps/x86_64/wcsrchr.S: New file.
75261         * string/test-strcmp.c: Remove checking of wcscmp function for
75262         wrong alignments.
75263         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75264         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75265         wcsrchr-sse2 wcsrchr-c.
75266         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75267         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75268         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75269         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75270         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75271         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75272         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75273         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75274         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75275         * wcsmbc/wcschr.c (WCSCHR): New macro.
75277 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75279         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75280         * wcsmbs/test-wcsrchr.c: New file.
75281         * string/test-strrchr.c: Add wcsrchr support.
75282         (WIDE): New macro.
75283         * wcsmbs/test-wcscpy.c: New file.
75284         * string/test-strcpy.c: Add wcscpy support.
75285         (WIDE): New macro.
75287 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75289         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75290         the inner loop.
75292 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75294         [BZ #13472]
75295         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75297 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75299         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75300         Minor optimizations.
75302         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75303         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75304         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75306 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75308         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75309         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75310         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75311         for gcc to avoid warnings.
75312         * inet/Makefile (tests): Add tst-checks.
75313         * inet/tst-checks.c: New file.
75315         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75316         warning.
75318         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75319         __wmemcmp_sse2.
75321         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75322         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75324         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75326 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75328         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75329         problem.
75331         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75333 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75335         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75336         conditional on GCC version.
75337         (__arch_compare_and_exchange_val_8_acq)
75338         (__arch_compare_and_exchange_val_16_acq)
75339         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75340         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75341         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75343 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75345         * sysdeps/sh/backtrace.c: New file.
75347 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75349         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75350         parenthesis.
75352 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75354         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75355         falling back to utime.
75357 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75359         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75360         expectations for float.
75362 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75364         * locale/weight.h (findidx): Add parameter len.
75365         * locale/weightwc.h (findidx): Likewise.
75366         * posix/fnmatch_loop.c (FCT): Adjust caller.
75367         * posix/regcomp.c (build_equiv_class): Likewise.
75368         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75369         * posix/regexec.c (check_node_accept_bytes): Likewise.
75370         * string/strcoll_l.c (STRCOLL): Likewise.
75371         * string/strxfrm_l.c (STRXFRM): Likewise.
75373 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75375         * Makefile.in: Remove CVSOPT handling.
75376         * configure.in: Remove use of AC_REVISION.
75377         * iconvdata/Makefile (distribute): No need to filter out CVS.
75378         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75379         handling.
75381 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75383         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75384         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75385         [USE_AS_STRNCASECMP_L]: Likewise.
75386         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75387         NO_TLS_DIRECT_SEG_REFS.
75388         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75389         Fix argument offsets for non-PIC.
75390         [USE_AS_STRNCASECMP_L]: Likewise.
75391         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75392         NO_TLS_DIRECT_SEG_REFS.
75394 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75396         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75397         O_CLOEXEC.
75398         * locale/loadlocale.c (_nl_load_locale): Likewise.
75400 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75402         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75403         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75404         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75405         (SYSCALL_GETTIME): Set errno on error.
75407         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75408         count references to noai6ai_cached.
75410 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75412         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75414         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75415         FD_CLOEXEC for /proc/self/maps.
75417         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75418         FD_CLOEXEC for /proc/meminfo.
75420         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75421         gai.conf.
75423         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75424         FD_CLOEXEC for given file.
75426         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75428         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75429         FD_CLOEXEC for /etc/hosts.
75430         (_gethtent): Likewise.
75432         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75434         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75435         cancellation and set FD_CLOEXEC for /etc/netgroup.
75437         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75438         reading /etc/publickey.
75440         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75441         allow cancellation when reading /etc/group.
75443         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75444         cancellation.
75445         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75447         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75448         when using data file.
75450         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75452         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75453         (write_nis_obj): Use "c" and "e" in fopen.
75455         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75457         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75459         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75461         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75463         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75464         locale.alias.
75466         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75468         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75470         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75472         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75473         file parsing and set FD_CLOEXEC.
75475 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75477         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75479 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75481         * malloc/arena.c (arena_get2): Don't call reused_arena when
75482         _int_new_arena failed.
75484 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75486         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75487         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75488         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75489         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75490         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75491         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75492         to compile strcasecmp and strncasecmp.
75493         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75494         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75498 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75500         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75501         locale-defines.sym to gen-as-const-headers.
75502         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75503         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75504         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75505         to compile strcasecmp and strncasecmp.
75506         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75507         strcasecmp_l and strncasecmp_l.
75508         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75509         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75510         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75511         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75512         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75513         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75514         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75515         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75516         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75517         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75518         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75520 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75522         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75523         result of SYSDEP_GETTIME_CPU to retval.
75524         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75525         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75527         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75528         variable.
75530         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75531         mantissa words.
75532         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75534         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75535         from unused variable.
75537         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75538         DWARF definitions.
75539         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75540         for assembling.
75542         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75543         over namespaces.
75545         * sunrpc/rpc_prot.c (rejected): Fix case value.
75547         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75548         unsigned long long int to avoid warnings in shift.
75550         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75551         of use of trans.
75552         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75553         variable tmp.
75555         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75556         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75557         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75559         * nis/nis_table.c (nis_list): Use variable of correct type for
75560         result of __follow_path call.
75562 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75564         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75565         of math functions ceil, trunc, floor, round, and sqrt, when
75566         avaliable on the platform.
75567         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75568         name clash.
75569         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75570         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75571         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75573 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75575         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75576         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75578 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75580         * include/unistd.h: Fix __readlink return type.
75581         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75583 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75585         * stdlib/ucontext.h: Undo last change for makecontext.
75587 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75589         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75591         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75592         * setjmp/setjmp.h: Mark functions as non-leaf.
75593         * setjmp/bits/setjmp2.h: Likewise.
75594         * stdlib/ucontext.h: Likewise.
75596 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75598         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75599         (reused_arena): Don't check arena limit.
75600         (arena_get2): Atomically check arena limit.
75602 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75604         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75605         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75608         instructions.
75610 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75612         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75613         handler when locking.
75615         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75616         Fix size of allocated buffer.
75618 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75620         [BZ #10103]
75621         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75622         declarations for long double functions.
75623         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75625         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75627 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75629         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75630         installed.
75632         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75633         is disabled.
75635 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75637         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75639 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75641         * include/alloca.h (stackinfo_alloca_round): Define.
75642         (extend_alloca): Use it.
75643         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75644         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75645         here.
75647         * scripts/check-local-headers.sh: Ignore libaudit.h.
75649         * nscd/Makefile (extra-objs): Make recursively expanded.
75651 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75653         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75654         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75656         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75657         * posix/tst-rfc3484-2.c: Likewise.
75658         * posix/tst-rfc3484-3.c: Likewise.
75660         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75661         process_vm_writev.
75662         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75663         process_vm_writev.
75664         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75665         process_vm_writev from libc using GLIBC_2.15 version.
75667         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75669 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75671         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75672         stack usage.
75674 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75676         [BZ #13367]
75677         * nss/getent.c (initgroups_keys): Show error message in case no group
75678         names are given.
75680         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75681         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75682         __bump_nl_timestamp.
75683         * nscd/connections (nscd_init): When host database is served open
75684         netlink socket and request notification about configuration changes.
75685         (main_loop_poll): Track netlink file descriptor and bump timestamp
75686         in case data becomes available.
75687         (main_loop_epoll): Likewise.
75688         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75689         (database_pers_head): Add extra_data fileds.
75690         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75691         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75692         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75693         Adjust caller.
75694         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75695         in6ai data, call __free_in6ai.
75696         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75697         Add -DHAVE_NETLINK.
75698         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75699         interface information.  Reuse previous data if netlink timestamp
75700         is not changed.
75701         (__bump_nl_timestamp): New function.
75702         (__free_in6ai): New function.
75704 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75707         close_not_cancel_no_status here.
75708         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75710 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75712         [BZ #13276]
75713         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75714         return value.
75716         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75717         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75718         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75720 2011-07-03  Andreas Jaeger  <aj@suse.de>
75722         [BZ #10709]
75723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75724         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75725         * math/libm-test.inc (sin_test): Add test case.
75727 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75729         [BZ #13337]
75730         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75731         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75733         * elf/chroot_canon.c (chroot_canon): Cleanups.
75735         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75737         [BZ #13335]
75738         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75739         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75741         * string/test-strchr.c: Make usable for strchrnul testing.
75742         * string/test-strchrnul.c: New file.
75743         * string/Makefile (strop-tests): Add strchrnul.
75745         * po/it.po: Update from translation team.
75746         * po/es.po: Likewise.
75748 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75750         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75751         the three constants needed as parameters.  Drop the others.
75752         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75753         __m128i_strloadu_tolower.
75754         Create and initialize variable zero and use it in all the places
75755         where _mm_setzero_si128 was used.
75757         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75758         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75759         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75760         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75761         anymore.
75762         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75763         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75764         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75765         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75766         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75767         __mpranred, __mptan.
75768         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75769         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75770         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75771         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75772         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75773         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75774         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75775         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75776         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75778 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75780         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75781         redefine if SHARED.
75782         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75785         wide char related routines to wcsmbs subdir.
75787 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75789         [BZ #13344]
75790         * misc/sys/cdefs.h (__THROWNL): Define.
75791         * posix/unistd.h: Use __THREADNL instead of __THREAD
75792         for memory synchronization functions.
75794 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75796         [BZ #13349]
75797         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75798         doesn't exist.
75799         * manual/stdio.texi (Obstack Streams): Node removed.
75801 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75803         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75804         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75805         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75807         * math/math_private.h (math_force_eval): Allow non-addressable
75808         arguments.
75809         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75811 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75813         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75814         file is not needed.
75816         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75818         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75819         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75820         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75821         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75822         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75823         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75824         Add AVX variants.
75825         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75826         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75827         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75828         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75829         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75830         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75831         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75832         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75833         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75834         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75835         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75836         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75837         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75838         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75839         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75840         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75841         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75842         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75843         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75845         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75846         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75848         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75849         place.  Use VEX encoding when compiling for AVX.
75851 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75853         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75854         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75856         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75858 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75860         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75861         useless if() expression.
75862         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75863         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75864         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75865         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75866         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75867         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75868         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75869         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75870         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75871         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75872         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75873         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75874         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75875         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75876         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75877         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75878         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75879         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75880         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75882         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75884 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75886         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75887         condition.
75888         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75890 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75892         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75893         .text section.  Avoid duplicate constants.
75894         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75896         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75897         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75898         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75901         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75902         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75903         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75904         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75905         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75906         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75907         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75908         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75909         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75910         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75911         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75912         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75914         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75915         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75916         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75917         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75918         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75919         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75920         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75921         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75922         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75923         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75924         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75925         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75927         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75928         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75929         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75930         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75931         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75932         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75933         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75934         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75935         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75936         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75937         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75938         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75940 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75942         * sysdeps/x86_64/dla.h: Move to ...
75943         * sysdeps/x86_64/fpu/dla.h: ...here.
75944         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75945         situations.  Use __builtin_fma only for gcc 4.6 and up.
75947         * config.make.in: Add have-mfma4 entry.
75948         * configure.in: Substitute libc_cv_cc_fma4.
75949         * math/Makefile (dbl-only-routines): Add sincostab.
75950         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75951         Use __sincostab not sincos.
75952         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75953         name is a macro.
75954         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75958         using __copysign.
75959         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75960         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75961         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75962         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75963         and __inv.
75964         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75965         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75966         __copysign.
75967         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75968         define aliases when function name is a macro.
75969         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75970         sysdeps/ieee754/dbl-64/sincos.tbl.
75971         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75972         fma4-enabled routines.
75973         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75974         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75975         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75976         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75977         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75978         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75979         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75980         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75981         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75982         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75983         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75984         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75985         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75986         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75987         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75988         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75989         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75990         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75991         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75992         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75993         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75994         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75995         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75996         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75997         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75998         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75999         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76000         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76001         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76002         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76004         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76005         rename.
76006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76013         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76015 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76017         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76019 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76021         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76023         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76024         prediction.
76025         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76027         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76028         Remove unused variable magic_bits.
76029         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76031         * string/strnlen.c: Define and use STRNLEN macro.
76032         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76033         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76034         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76035         * wcsmbs/wcslen.c: Define and use WCSLEN.
76036         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76037         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76038         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76039         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76040         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76041         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76042         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76044 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76047         strnlen-sse2-no-bsf.
76048         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76049         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76050         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76051         Add strnlen support.
76052         (USE_AS_STRNLEN): New macro.
76053         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76054         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76055         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76056         * sysdeps/x86_64/wcslen.S: New file.
76058 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76060         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76061         XMM-moves are used for copying on small sizes.
76063 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76065         * wcsmbs/Makefile (strop-tests): Add wcschr.
76066         * wcsmbs/test-wcschr.c: New file.
76067         * string/test-strchr.c: Update.
76068         Add wcschr support.
76069         (WIDE): New macro.
76071 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76073         * wcsmbs/Makefile (strop-tests): Add wcslen.
76074         * wcsmbs/test-wcslen.c: New file.
76075         * string/test-strlen.c: Update.
76076         Add wcslen support.
76077         (WIDE): New macro.
76079 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76081         * po/it.po: Update from translation team.
76083 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76085         * sysdeps/x86_64/wcscmp.S: Update.
76086         Fix wrong comparison semantics.
76087         wcscmp shall use signed comparison not unsigned.
76088         Don't use substraction to avoid overflow bug.
76089         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76090         * wcsmbc/wcscmp.c: Likewise.
76091         * string/test-strcmp.c: Likewise.
76092         Add new tests to check cases with negative values.
76094 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76096         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76097         * sysdeps/x86_64/dla.h: ...here.  New file.
76098         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76103         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76108 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76110         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76111         __ynl_finite aliases.
76113 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76117         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76118         define DLA_FMA.
76119         [DLA_FMA] (EMULV): Use DLA_FMA.
76120         [DLA_FMA] (MUL12): Use EMULV.
76121         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76122         that are not needed.
76123         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76124         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76126         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76127         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76128         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76129         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76131 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76133         * math/s_nan.c: Undef __nan.
76134         * math/s_nanf.c: Undef __nanf.
76135         * math/s_nanl.c: Undef __nanl.
76136         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76137         "math_private.h".
76139 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76141         * math/s_catan.c: Add branch predictions.
76142         * math/s_catanf.c: Likewise.
76143         * math/s_catanh.c: Likewise.
76144         * math/s_catanhf.c: Likewise.
76145         * math/s_catanhl.c: Likewise.
76146         * math/s_catanl.c: Likewise.
76147         * math/s_cexp.c: Likewise.
76148         * math/s_cexpf.c: Likewise.
76149         * math/s_cexpl.c: Likewise.
76150         * math/s_clog.c: Likewise.
76151         * math/s_clog10.c: Likewise.
76152         * math/s_clog10f.c: Likewise.
76153         * math/s_clog10l.c: Likewise.
76154         * math/s_clogf.c: Likewise.
76155         * math/s_clogl.c: Likewise.
76156         * math/s_csqrt.c: Likewise.
76157         * math/s_csqrtf.c: Likewise.
76158         * math/s_csqrtl.c: Likewise.
76159         * math/s_ctanf.c: Likewise.
76160         * math/s_ctanh.c: Likewise.
76161         * math/s_ctanhf.c: Likewise.
76162         * math/s_ctanhl.c: Likewise.
76163         * math/s_ctanl.c: Likewise.
76165         * math/math_private.h: Define __nan, __nanf, __nanl.
76166         * math/s_cacosh.c: Include <math_private.h>.
76167         * math/s_cacoshl.c: Likewise.
76168         * math/s_casinh.c: Likewise.
76169         * math/s_casinhf.c: Likewise.
76170         * math/s_casinhl.c: Likewise.
76171         * math/s_ccos.c: Rely entire on ccosh.
76172         * math/s_ccosf.c: Rely entire on ccoshf.
76173         * math/s_ccosl.c: Rely entirely on ccoshl.
76174         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76175         Remove tests for FE_INVALID.
76176         * math/s_ccoshf.c: Likewise.
76177         * math/s_ccoshl.c: Likewise.
76178         * math/s_csin.c: Likewise.
76179         * math/s_csinf.c: Likewise.
76180         * math/s_csinh.c Likewise.
76181         * math/s_csinhf.c: Likewise.
76182         * math/s_csinhl.c: Likewise.
76183         * math/s_csinl.c: Likewise.
76184         * math/s_ctan.c: Likewise.
76185         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76186         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76187         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76189 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76192         compilation problems.
76194         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76195         __builtin_expect.
76197 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76199         * sysdeps/i386/configure.in: Test for -mfma4 option.
76200         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76201         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76202         COMMON_CPUID_INDEX_80000001.
76203         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76204         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76205         use it if FMA3 is not supported.
76206         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76208         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76209         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76211 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76213         [BZ #12892]
76214         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76215         it would create a cycle with a link time dependency.
76217 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76219         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76220         instruction.
76221         * string/Makefile (strop-tests): Add rawmemchr.
76222         * string/test-rawmemchr.c: New file.
76224         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76225         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76226         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76227         when compiling str{,n}casecmp and when AVX is available.  Hook up
76228         new optimized code in initializers.
76230 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76232         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76233         __feraiseexcept instead of feraiseexcept.
76235 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76237         * math/math_private.h: Define defaults for libc_fetestexcept and
76238         libc_feupdateenv.
76239         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76240         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76241         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76242         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76243         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76244         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76245         libc_fetestexcept and libc_feupdateenv.
76247         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76248         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76249         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76250         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76251         libc_feholdexcept_setround.
76253         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76254         Add s_nearbyint-c and s_nearbyintf-c.
76255         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76256         nearbyintf inlines.
76257         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76259         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76260         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76262         * math/math_private.h: Define defaults for libc_fegetround,
76263         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76264         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76265         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76266         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76267         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76268         standard functions.
76269         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76270         Remove comments and hacks for old compiler versions.
76271         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76272         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76273         libc_feholdexceptl.
76275 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76277         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76278         (__feraiseexcept_renamed): Add __NTH.
76279         (feraiseexcept): Add __NTH.  Rename local variables to fix
76280         namespace violations.
76282 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76286         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76288         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76289         recently added interfaces.
76290         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76292         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76293         about macro parameter expansion.
76295         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76296         __NO_MATH_INLINES is defined.  Cleanups.
76298         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76299         and __floorf is target has SSE4.1.
76300         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76301         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76302         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76303         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76305         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76306         name.
76307         (floorf): Likewise.
76309         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76311 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76313         * misc/sys/cdefs.h: Fix last change.
76315         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76316         database lookup.
76318 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76320         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76322         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76323         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76324         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76325         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76327         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76328         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76329         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76330         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76331         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76332         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76333         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76334         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76335         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76336         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76337         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76338         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76339         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76340         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76341         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76342         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76343         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76345         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76346         ceil, ceilf, floor, floorf.
76348         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76349         Perform IRELATIVE relocations last.
76351         * elf/do-rel.h: Add another parameter nrelative, replacing the
76352         local variable with the same name.  Change name of the function
76353         to end in Rel or Rela (uppercase).
76354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76355         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76356         elf_dynamic_do_##reloc function.
76358 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76360         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76361         is sufficient, at least on modern CPUs.
76363         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76365         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76366         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76368         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76369         __expl_finite.
76370         * math/bits/math-finite.h: Add entries for exp.
76371         * math/e_expl.c: Add __*_finite alias.
76372         * sysdeps/i386/fpu/e_exp.S: Likewise.
76373         * sysdeps/i386/fpu/e_expf.S: Likewise.
76374         * sysdeps/i386/fpu/e_expl.c: Likewise.
76375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76376         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76377         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76378         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76379         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76380         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76381         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76383         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76384         is sufficient, at least on modern CPUs.
76386         * ctype/ctype-info.c (__ctype_init): Define.
76387         * include/ctype.h (__ctype_init): Declare.
76388         (__ctype_b_loc): The variable is always initialized.
76389         (__ctype_toupper_loc): Likewise.
76390         (__ctype_tolower_loc): Likewise.
76391         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76392         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76394 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76396         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76398         * configure.in: Also look in $cxxmachine/include for C++ system
76399         headers.
76401 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76403         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76404         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76405         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76406         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76408         (USE_AS_WMEMCMP): New macro.
76409         Fixing indents.
76410         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76411         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76412         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76413         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76415         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76416         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76417         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76418         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76419         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76420         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76421         (USE_AS_WMEMCMP): New macro.
76422         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76423         * sysdeps/string/test-memcmp.c: Update.
76424         Fix simple_wmemcmp.
76425         Add new tests.
76426         * wcsmbs/wmemcmp.c: Update.
76427         (WMEMCMP): New macro.
76428         Fix overflow bug.
76430 2011-10-12  Andreas Jaeger  <aj@suse.de>
76432         [BZ #13268]
76433         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76435 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76437         * libio/iofwide.c (do_length): Avoid warning.
76439         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76441 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76443         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76445         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76446         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76447         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76448         * sysdeps/i386/i686/fpu/e_log.S: New file.
76449         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76450         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76452         * ctype/ctype.h: Add support for inlined isXXX functions when
76453         compiling C++ code.
76455 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76457         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76459         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76461 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76463         [BZ #13291]
76464         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76466 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76468         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76469         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76470         feraiseexcept.
76472         * sysdeps/x86_64/memrchr.S: Check for zero size.
76474         * string/stratcliff.c: Add memrchr tests.
76476 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76479         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76480         rawmemchr-sse2 rawmemchr-sse2-bsf.
76481         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76482         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76483         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76484         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76485         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76486         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76487         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76488         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76489         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76490         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76491         * string/memrchr.c (MEMRCHR): New macro.
76493 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76495         Add integration with gcc's -ffinite-math-only and optimize wrapper
76496         functions in libm.
76497         * Versions.def: Define GLIBC_2.15 version for libm.
76498         * math/Makefile (headers): Add bits/math-finite.h.
76499         * math/bits/math-finite.h: New file.
76500         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76501         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76502         * math/e_acoshl.c: Add __*_finite alias.
76503         * math/e_acosl.c: Likewise.
76504         * math/e_asinl.c: Likewise.
76505         * math/e_atan2l.c: Likewise.
76506         * math/e_atanhl.c: Likewise.
76507         * math/e_coshl.c: Likewise.
76508         * math/e_exp10.c: Likewise.
76509         * math/e_exp10f.c: Likewise.
76510         * math/e_exp10l.c: Likewise.
76511         * math/e_exp2l.c: Likewise.
76512         * math/e_fmodl.c: Likewise.
76513         * math/e_gammal_r.c: Likewise.
76514         * math/e_hypotl.c: Likewise.
76515         * math/e_j0l.c: Likewise.
76516         * math/e_j1l.c: Likewise.
76517         * math/e_jnl.c: Likewise.
76518         * math/e_lgammal_r.c: Likewise.
76519         * math/e_log10l.c: Likewise.
76520         * math/e_log2l.c: Likewise.
76521         * math/e_logl.c: Likewise.
76522         * math/e_powl.c: Likewise.
76523         * math/e_sinhl.c: Likewise.
76524         * math/e_sqrtl.c: Likewise.
76525         * math/e_scalb.c: Completely rewritten and optimized.
76526         * math/e_scalbf.c: Likewise.
76527         * math/e_scalbl.c: Likewise.
76528         * math/w_acos.c: Likewise.
76529         * math/w_acosf.c: Likewise.
76530         * math/w_acosl.c: Likewise.
76531         * math/w_acosh.c: Likewise.
76532         * math/w_acoshf.c: Likewise.
76533         * math/w_acoshl.c: Likewise.
76534         * math/w_asin.c: Likewise.
76535         * math/w_asinf.c: Likewise.
76536         * math/w_asinl.c: Likewise.
76537         * math/w_atan2.c: Likewise.
76538         * math/w_atan2f.c: Likewise.
76539         * math/w_atan2l.c: Likewise.
76540         * math/w_atanh.c: Likewise.
76541         * math/w_atanhf.c: Likewise.
76542         * math/w_atanhl.c: Likewise.
76543         * math/w_exp10.c: Likewise.
76544         * math/w_exp10f.c: Likewise.
76545         * math/w_exp10l.c: Likewise.
76546         * math/w_fmod.c: Likewise.
76547         * math/w_fmodf.c: Likewise.
76548         * math/w_fmodl.c: Likewise.
76549         * math/w_j0.c: Likewise.
76550         * math/w_j0f.c: Likewise.
76551         * math/w_j0l.c: Likewise.
76552         * math/w_j1.c: Likewise.
76553         * math/w_j1f.c: Likewise.
76554         * math/w_j1l.c: Likewise.
76555         * math/w_jn.c: Likewise.
76556         * math/w_jnf.c: Likewise.
76557         * math/w_log.c: Likewise.
76558         * math/w_logf.c: Likewise.
76559         * math/w_logl.c: Likewise.
76560         * math/w_log10.c: Likewise.
76561         * math/w_log10f.c: Likewise.
76562         * math/w_log10l.c: Likewise.
76563         * math/w_log2.c: Likewise.
76564         * math/w_log2f.c: Likewise.
76565         * math/w_log2l.c: Likewise.
76566         * math/w_pow.c: Likewise.
76567         * math/w_powf.c: Likewise.
76568         * math/w_powl.c: Likewise.
76569         * math/w_remainder.c: Likewise.
76570         * math/w_remainderf.c: Likewise.
76571         * math/w_remainderl.c: Likewise.
76572         * math/w_scalb.c: Likewise.
76573         * math/w_scalbf.c: Likewise.
76574         * math/w_scalbl.c: Likewise.
76575         * math/w_sqrt.c: Likewise.
76576         * math/w_sqrtf.c: Likewise.
76577         * math/w_sqrtl.c: Likewise.
76578         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76579         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76580         used.
76581         * math/math_private.h: Declare __kernel_standard_f.
76582         * math/w_cosh.c: Remove cruft and optimize a bit.
76583         * math/w_coshf.c: Likewise.
76584         * math/w_coshl.c: Likewise.
76585         * math/w_exp2.c: Likewise.
76586         * math/w_exp2f.c: Likewise.
76587         * math/w_exp2l.c: Likewise.
76588         * math/w_hypot.c: Likewise.
76589         * math/w_hypotf.c: Likewise.
76590         * math/w_hypotl.c: Likewise.
76591         * math/w_lgamma.c: Likewise.
76592         * math/w_lgamma_r.c: Likewise.
76593         * math/w_lgammaf.c: Likewise.
76594         * math/w_lgammaf_r.c: Likewise.
76595         * math/w_lgammal.c: Likewise.
76596         * math/w_lgammal_r.c: Likewise.
76597         * math/w_sinh.c: Likewise.
76598         * math/w_sinhf.c: Likewise.
76599         * math/w_sinhl.c: Likewise.
76600         * math/w_tgamma.c: Likewise.
76601         * math/w_tgammaf.c: Likewise.
76602         * math/w_tgammal.c: Likewise.
76603         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76604         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76605         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76606         Minor optimizations.  Pretty printing.  Remove cruft.
76607         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76608         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76609         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76610         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76611         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76612         * sysdeps/i386/fpu/e_asin.S: Likewise.
76613         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76614         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76615         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76616         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76617         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76619         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76620         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76621         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76622         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76623         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76624         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76625         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76626         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76627         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76628         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76629         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76630         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76631         * sysdeps/i386/fpu/e_log.S: Likewise.
76632         * sysdeps/i386/fpu/e_log10.S: Likewise.
76633         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76634         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76635         * sysdeps/i386/fpu/e_log2.S: Likewise.
76636         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76637         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76638         * sysdeps/i386/fpu/e_logf.S: Likewise.
76639         * sysdeps/i386/fpu/e_logl.S: Likewise.
76640         * sysdeps/i386/fpu/e_pow.S: Likewise.
76641         * sysdeps/i386/fpu/e_powf.S: Likewise.
76642         * sysdeps/i386/fpu/e_powl.S: Likewise.
76643         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76644         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76645         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76646         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76647         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76648         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76649         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76650         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76651         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76652         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76653         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76654         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76655         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76656         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76657         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76658         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76659         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76660         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76661         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76662         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76663         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76665         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76666         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76668         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76669         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76670         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76672         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76673         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76674         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76675         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76676         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76677         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76678         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76679         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76680         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76681         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76682         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76683         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76684         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76685         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76686         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76687         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76688         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76689         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76690         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76691         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76692         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76693         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76694         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76695         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76696         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76697         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76699         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76700         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76701         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76702         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76703         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76704         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76705         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76707         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76708         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76709         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76710         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76711         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76712         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76713         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76714         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76715         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76716         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76717         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76718         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76719         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76720         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76721         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76722         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76723         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76724         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76726         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76727         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76728         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76729         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76730         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76731         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76732         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76733         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76734         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76735         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76736         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76737         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76738         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76739         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76740         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76741         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76742         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76743         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76744         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76745         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76746         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76747         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76748         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76749         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76750         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76751         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76752         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76753         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76754         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76755         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76756         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76757         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76758         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76759         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76760         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76761         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76762         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76763         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76764         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76765         (__isnanf): Likewise.
76766         (__isinf_ns): Likewise.
76767         (__isinf_nsf): Likewise.
76768         (__finite): Likewise.
76769         (__finitef): Likewise.
76770         (__ieee754_sqrt): Define as macro.
76771         (__ieee754_sqrtf): Define as macro.
76772         (__ieee754_sqrtl): Define as macro.
76773         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76774         inlined copy.
76775         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76776         __FINITE_MATH_ONLY__ consistent.
76777         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76779 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76781         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76782         of rawmemchr.
76784         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76786 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76788         * po/ja.po: Update from translation team.
76790 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76792         * locale/programs/locarchive.c (prepare_address_space): New function.
76793         (create_archive, enlarge_archive, open_archive): Use it.
76795         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76796         inside [SHARED], where it is used.
76798         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76800         * nss/getent.c (netgroup_keys): Remove unused variable.
76801         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76803 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76805         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76806         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76808         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76809         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76810         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76811         * math/Makefile (libm-calls): Add s_isinf_ns.
76812         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76813         * math/multc3.c: Likewise.
76814         * math/s_casin.c: Likewise.
76815         * math/s_casinf.c: Likewise.
76816         * math/s_casinl.c: Likewise.
76817         * math/s_ccos.c: Likewise.
76818         * math/s_ccosf.c: Likewise.
76819         * math/s_ccosl.c: Likewise.
76820         * math/s_ctan.c: Likewise.
76821         * math/s_ctanf.c: Likewise.
76822         * math/s_ctanh.c: Likewise.
76823         * math/s_ctanhf.c: Likewise.
76824         * math/s_ctanhl.c: Likewise.
76825         * math/s_ctanl.c: Likewise.
76826         * math/w_fmod.c: Likewise.
76827         * math/w_fmodf.c: Likewise.
76828         * math/w_fmodl.c: Likewise.
76829         * math/w_remainder.c: Likewise.
76830         * math/w_remainderf.c: Likewise.
76831         * math/w_remainderl.c: Likewise.
76832         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76833         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76834         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76835         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76836         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76837         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76838         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76839         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76841         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76842         of the number.
76843         * stdio-common/printf_fphex.c: Likewise.
76844         * stdio-common/printf_size.c: Likewise.
76846         * math/e_exp10.c: Include math_private.h using <...> not "...".
76847         * math/e_exp10f.c: Likewise.
76848         * math/e_exp10l.c: Likewise.
76849         * math/e_exp2l.c: Likewise.
76850         * math/e_j0l.c: Likewise.
76851         * math/e_j1l.c: Likewise.
76852         * math/e_jnl.c: Likewise.
76853         * math/e_lgammal_r.c: Likewise.
76854         * math/e_rem_pio2l.c: Likewise.
76855         * math/e_scalb.c: Likewise.
76856         * math/e_scalbf.c: Likewise.
76857         * math/e_scalbl.c: Likewise.
76858         * math/k_cosl.c: Likewise.
76859         * math/k_sinl.c: Likewise.
76860         * math/k_tanl.c: Likewise.
76861         * math/s_cacoshf.c: Likewise.
76862         * math/s_catan.c: Likewise.
76863         * math/s_catanf.c: Likewise.
76864         * math/s_catanh.c: Likewise.
76865         * math/s_catanhf.c: Likewise.
76866         * math/s_catanhl.c: Likewise.
76867         * math/s_catanl.c: Likewise.
76868         * math/s_ccosh.c: Likewise.
76869         * math/s_ccoshf.c: Likewise.
76870         * math/s_ccoshl.c: Likewise.
76871         * math/s_cexp.c: Likewise.
76872         * math/s_cexpf.c: Likewise.
76873         * math/s_cexpl.c: Likewise.
76874         * math/s_clog.c: Likewise.
76875         * math/s_clog10.c: Likewise.
76876         * math/s_clog10f.c: Likewise.
76877         * math/s_clog10l.c: Likewise.
76878         * math/s_clogf.c: Likewise.
76879         * math/s_clogl.c: Likewise.
76880         * math/s_csin.c: Likewise.
76881         * math/s_csinf.c: Likewise.
76882         * math/s_csinh.c: Likewise.
76883         * math/s_csinhf.c: Likewise.
76884         * math/s_csinhl.c: Likewise.
76885         * math/s_csinl.c: Likewise.
76886         * math/s_csqrt.c: Likewise.
76887         * math/s_csqrtf.c: Likewise.
76888         * math/s_csqrtl.c: Likewise.
76889         * math/s_ctan.c: Likewise.
76890         * math/s_ctanf.c: Likewise.
76891         * math/s_ctanh.c: Likewise.
76892         * math/s_ctanhf.c: Likewise.
76893         * math/s_ctanhl.c: Likewise.
76894         * math/s_ctanl.c: Likewise.
76895         * math/s_ldexp.c: Likewise.
76896         * math/s_ldexpf.c: Likewise.
76897         * math/s_ldexpl.c: Likewise.
76898         * math/s_significand.c: Likewise.
76899         * math/s_significandf.c: Likewise.
76900         * math/s_significandl.c: Likewise.
76901         * math/w_acos.c: Likewise.
76902         * math/w_acosf.c: Likewise.
76903         * math/w_acosh.c: Likewise.
76904         * math/w_acoshf.c: Likewise.
76905         * math/w_acoshl.c: Likewise.
76906         * math/w_acosl.c: Likewise.
76907         * math/w_asin.c: Likewise.
76908         * math/w_asinf.c: Likewise.
76909         * math/w_asinl.c: Likewise.
76910         * math/w_atan2.c: Likewise.
76911         * math/w_atan2f.c: Likewise.
76912         * math/w_atan2l.c: Likewise.
76913         * math/w_atanh.c: Likewise.
76914         * math/w_atanhf.c: Likewise.
76915         * math/w_atanhl.c: Likewise.
76916         * math/w_cosh.c: Likewise.
76917         * math/w_coshf.c: Likewise.
76918         * math/w_coshl.c: Likewise.
76919         * math/w_dremf.c: Likewise.
76920         * math/w_exp10.c: Likewise.
76921         * math/w_exp10f.c: Likewise.
76922         * math/w_exp10l.c: Likewise.
76923         * math/w_exp2.c: Likewise.
76924         * math/w_exp2f.c: Likewise.
76925         * math/w_fmod.c: Likewise.
76926         * math/w_fmodf.c: Likewise.
76927         * math/w_fmodl.c: Likewise.
76928         * math/w_hypot.c: Likewise.
76929         * math/w_hypotf.c: Likewise.
76930         * math/w_hypotl.c: Likewise.
76931         * math/w_j0.c: Likewise.
76932         * math/w_j0f.c: Likewise.
76933         * math/w_j0l.c: Likewise.
76934         * math/w_j1.c: Likewise.
76935         * math/w_j1f.c: Likewise.
76936         * math/w_j1l.c: Likewise.
76937         * math/w_jn.c: Likewise.
76938         * math/w_jnf.c: Likewise.
76939         * math/w_jnl.c: Likewise.
76940         * math/w_lgamma.c: Likewise.
76941         * math/w_lgamma_r.c: Likewise.
76942         * math/w_lgammaf.c: Likewise.
76943         * math/w_lgammaf_r.c: Likewise.
76944         * math/w_lgammal.c: Likewise.
76945         * math/w_lgammal_r.c: Likewise.
76946         * math/w_log.c: Likewise.
76947         * math/w_log10.c: Likewise.
76948         * math/w_log10f.c: Likewise.
76949         * math/w_log10l.c: Likewise.
76950         * math/w_log2.c: Likewise.
76951         * math/w_log2f.c: Likewise.
76952         * math/w_log2l.c: Likewise.
76953         * math/w_logf.c: Likewise.
76954         * math/w_logl.c: Likewise.
76955         * math/w_pow.c: Likewise.
76956         * math/w_powf.c: Likewise.
76957         * math/w_powl.c: Likewise.
76958         * math/w_remainder.c: Likewise.
76959         * math/w_remainderf.c: Likewise.
76960         * math/w_remainderl.c: Likewise.
76961         * math/w_scalb.c: Likewise.
76962         * math/w_scalbf.c: Likewise.
76963         * math/w_scalbl.c: Likewise.
76964         * math/w_sinh.c: Likewise.
76965         * math/w_sinhf.c: Likewise.
76966         * math/w_sinhl.c: Likewise.
76967         * math/w_sqrt.c: Likewise.
76968         * math/w_sqrtf.c: Likewise.
76969         * math/w_sqrtl.c: Likewise.
76970         * math/w_tgamma.c: Likewise.
76971         * math/w_tgammaf.c: Likewise.
76972         * math/w_tgammal.c: Likewise.
76974         * po/ja.po: Update from translation team.
76976 2011-09-29  Andreas Jaeger  <aj@suse.de>
76978         [BZ #13179]
76979         * sunrpc/netname.c (netname2host): Fix logic.
76981         [BZ #6779]
76982         [BZ #6783]
76983         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76984         correctly.
76985         * math/w_remainder.c (__remainder): Likewise.
76986         * math/w_remainderf.c (__remainderf): Likewise.
76987         * math/libm-test.inc (remainder_test): Add test cases.
76989 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76991         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76992         sdiv_qrnnd.
76994 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76996         * string/test-memcmp.c: Avoid unncessary #defines.
76997         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76999 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77001         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77002         Use new sse2 version for core i3 - i7 as it's faster
77003         than sse42 version.
77004         (bit_Prefer_PMINUB_for_stringop): New.
77005         * sysdeps/x86_64/rawmemchr.S: Update.
77006         Replace with faster SSE2 version.
77007         * sysdeps/x86_64/memrchr.S: New file.
77008         * sysdeps/x86_64/memchr.S: Update.
77009         Replace with faster SSE2 version.
77011 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77013         * elf/dl-load.c (lose): Add cast to avoid warning.
77015 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77017         * po/ca.po: Update from translation team.
77019         * inet/getnetgrent_r.c: Hook up nscd.
77020         * nscd/Makefile (routines): Add nscd_netgroup.
77021         (nscd-modules): Add netgroupcache.
77022         (CFLAGS-netgroupcache.c): Define.
77023         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77024         (cache_search): Add const to second parameter.
77025         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77026         INNETGR.
77027         (dbs): Add netgrdb entry.
77028         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77029         (verify_persistent_db): Handle netgrdb.
77030         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77031         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77032         GETFDNETGR.
77033         (netgroup_response_header): Define.
77034         (innetgroup_response_header): Define.
77035         (datahead): Add netgroup_response_header and innetgroup_response_header
77036         elements.
77037         * nscd/nscd.conf: Add entries for netgroup cache.
77038         * nscd/nscd.h (dbtype): Add netgrdb.
77039         (_PATH_NSCD_NETGROUP_DB): Define.
77040         (netgroup_iov_disabled): Declare.
77041         (xmalloc, xcalloc, xrealloc): Move declarations here.
77042         (cache_search): Adjust prototype.
77043         Add netgroup-related prototypes.
77044         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77045         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77046         (__nscd_innetgr): Declare.
77047         * nscd/selinux.c (perms): Use access_vector_t as element type and
77048         add netgroup-related initializers.
77049         * nscd/netgroupcache.c: New file.
77050         * nscd/nscd_netgroup.c: New file.
77051         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77052         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77053         For four parameters use innetgr.
77054         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77055         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77056         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77057         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77059         * nscd/connections.c (register_traced_file): Don't register file
77060         for disabled databases.
77062 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77064         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77066         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77067         from tree and freeing node.
77069 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77071         * nss/nsswitch.c (__nss_database_lookup): Handle
77072         nss_parse_service_list out of memory case.
77074 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77076         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77077         out of memory case.
77079 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77081         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77082         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77083         pass it down.
77084         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77085         elf_machine_rela, elf_machine_lazy_rel.
77086         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77087         (ELF_DYNAMIC_DO_REL): Likewise.
77088         (ELF_DYNAMIC_DO_RELA): Likewise.
77089         (ELF_DYNAMIC_RELOCATE): Likewise.
77090         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77091         to ELF_DYNAMIC_DO_REL.
77092         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77093         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77094         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77095         elf_machine_rela.
77096         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77097         skip_ifunc, don't call ifunc function if non-zero.
77098         (elf_machine_rela): Likewise.
77099         (elf_machine_lazy_rel): Likewise.
77100         (elf_machine_lazy_rela): Likewise.
77101         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77102         (elf_machine_lazy_rel): Likewise.
77103         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77104         Likewise.
77105         (elf_machine_lazy_rel): Likewise.
77106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77107         Likewise.
77108         (elf_machine_lazy_rel): Likewise.
77109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77110         (elf_machine_lazy_rel): Likewise.
77111         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77112         (elf_machine_lazy_rel): Likewise.
77113         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77114         (elf_machine_lazy_rel): Likewise.
77115         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77116         (elf_machine_lazy_rel): Likewise.
77117         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77118         (elf_machine_lazy_rel): Likewise.
77119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77120         (elf_machine_lazy_rel): Likewise.
77122 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77124         * nss/nss_files/files-init.c (_nss_files_init): Use static
77125         initialization for all the *_traced_file variables.
77127 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77129         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77131 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77133         [BZ #13226]
77134         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77136 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77138         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77139         Reread the line before reparsing it.
77141 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77143         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77145 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77146             Maxim Kuvyrkov  <maxim@codesourcery.com>
77147             Joseph Myers  <joseph@codesourcery.com>
77149         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77150         if needed for __stack_chk_guard.
77152 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77154         * sysdeps/posix/spawni.c (script_execute): Always define it.
77155         It will be optimized away if unused.
77156         (maybe_script_execute): New function.
77157         (__spawni): Call it.
77159         * Makerules: Don't include tls.make.
77160         (config-tls): Always set to thread.
77161         * tls.make.c: File removed.
77163 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77165         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77166         * config.make.in (CPPFLAGS-config): New substituted variable.
77168 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77170         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77172         [BZ #13192]
77173         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77174         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77176 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77178         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77179         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77180         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77181         (CALL_FAIL): Likewise.
77182         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77183         (CALL_FAIL): Macro removed.
77184         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77186 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77188         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77189         for __FINITE_MATH_ONLY__ == 1.
77191 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77193         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77194         __ieee754_sqrt instead of sqrt.
77195         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77196         __ieee754_sqrtf instead of sqrtf.
77197         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77198         __floorf instead of floorf.
77199         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77200         __floorf, __truncf instead of floorf, truncf.
77202 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77204         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77206         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77207         __extern_always_inline.
77208         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77209         32-bit.
77211 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77213         * elf/rtld.c (dl_main): Also relocate in dependency order when
77214         doing symbol dependency testing.
77216 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77219         Always define `refsym'.
77221 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77223         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77224         (__FD_ELT): Renamed from __FDELT.
77225         * misc/bits/select2.h (__FD_ELT): Likewise.
77226         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77227         __FD_MASK instead of __FDELT, __FDMASK.
77228         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77229         Likewise.
77230         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77231         Likewise.
77233         * elf/Makefile (gen-ldd): Fix pattern.
77235         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77236         (init_tls): Likewise.
77238 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77240         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77242 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77244         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77245         `struct cmsghdr *' instead of `void *'.
77246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77247         Likewise.
77249 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77251         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77252         if non-absolute.
77253         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77254         ldd_rewrite_script.
77256 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77258         * configure.in: Remove --with-tls option.
77259         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77260         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77261         out in case it is missing.
77262         * sysdeps/ia64/elf/configure.in: Likewise.
77263         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77264         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77265         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77266         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77267         * sysdeps/sh/elf/configure.in: Likewise.
77268         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77269         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77270         * sysdeps/x86_64/elf/configure.in: Likewise.
77271         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77272         * sysdeps/mach/hurd/tls.h: Likewise.
77274         [BZ #13067]
77275         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77277         [BZ #13090]
77278         * configure.in: Fix use of AC_INIT.
77280         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77282 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77284         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77285         __set_errno.
77286         * malloc/hooks.c: Likewise.
77288         [BZ #11929]
77289         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77290         variables statically.
77291         (narenas): Initialize.
77292         (list_lock): Initialize.
77293         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77294         initializtion of main_arena and list_lock.  Small cleanups.
77295         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77296         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77297         Add initializers to main_arena and mp_.
77298         (malloc_state): Remove pagesize member.  Change all users to use
77299         GLRO(dl_pagesize).
77301         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77302         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77303         is always initialized.
77305         * malloc/malloc.c: Removed unused configurations and dead code.
77306         * malloc/arena.c: Likewise.
77307         * malloc/hooks.c: Likewise.
77308         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77310         * include/tls.h: Removed.  USE___THREAD must always be defined.
77311         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77312         * elf/dl-libc.c: Likewise.
77313         * elf/dl-tsd.c: Likewise.
77314         * include/errno.h: Likewise.
77315         * include/netdb.h: Likewise.
77316         * include/resolv.h: Likewise.
77317         * inet/herrno-loc.c: Likewise.
77318         * inet/herrno.c: Likewise.
77319         * malloc/arena.c: Likewise.
77320         * malloc/hooks.c: Likewise.
77321         * malloc/malloc.c: Likewise.
77322         * resolv/res-state.c: Likewise.
77323         * resolv/res_libc.c: Likewise.
77324         * sysdeps/i386/dl-machine.h: Likewise.
77325         * sysdeps/ia64/dl-machine.h: Likewise.
77326         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77327         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77328         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77329         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77330         * sysdeps/sh/dl-machine.h: Likewise.
77331         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77332         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77333         * sysdeps/unix/i386/sysdep.S: Likewise.
77334         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77335         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77340         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77342         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77344         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77345         * sysdeps/x86_64/dl-machine.h: Likewise.
77346         * tls.make.c: Likewise.
77348         * configure.in: Remove --with-__thread option.  Make tests for
77349         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77350         tls_model attribute fail if no support is available.  Remove
77351         USE_IN_LIBIO.
77352         * Makeconfig: Adjust for dropped configure option.  All features are
77353         now mandatory.
77354         * Makerules: Likewise.
77355         * Versions.def: Likewise.
77356         * argp/argp-fmtstream.c: Likewise.
77357         * argp/argp-fmtstream.h: Likewise.
77358         * argp/argp-help.c: Likewise.
77359         * assert/assert.c: Likewise.
77360         * config.h.in: Likewise.
77361         * config.make.in: Likewise.
77362         * configure: Likewise.
77363         * configure.in: Likewise.
77364         * csu/Versions: Likewise.
77365         * csu/init.c: Likewise.
77366         * elf/tst-audit2.c: Likewise.
77367         * elf/tst-tls10.c: Likewise.
77368         * elf/tst-tls10.h: Likewise.
77369         * elf/tst-tls11.c: Likewise.
77370         * elf/tst-tls12.c: Likewise.
77371         * elf/tst-tls14.c: Likewise.
77372         * elf/tst-tlsmod11.c: Likewise.
77373         * elf/tst-tlsmod12.c: Likewise.
77374         * elf/tst-tlsmod13.c: Likewise.
77375         * elf/tst-tlsmod13a.c: Likewise.
77376         * elf/tst-tlsmod14a.c: Likewise.
77377         * elf/tst-tlsmod15b.c: Likewise.
77378         * elf/tst-tlsmod16a.c: Likewise.
77379         * elf/tst-tlsmod16b.c: Likewise.
77380         * elf/tst-tlsmod7.c: Likewise.
77381         * elf/tst-tlsmod8.c: Likewise.
77382         * elf/tst-tlsmod9.c: Likewise.
77383         * gmon/gmon.c: Likewise.
77384         * grp/fgetgrent_r.c: Likewise.
77385         * grp/putgrent.c: Likewise.
77386         * hurd/fopenport.c: Likewise.
77387         * include/libc-symbols.h: Likewise.
77388         * include/tls.h: Likewise.
77389         * intl/gettextP.h: Likewise.
77390         * intl/loadinfo.h: Likewise.
77391         * locale/global-locale.c: Likewise.
77392         * locale/localeinfo.h: Likewise.
77393         * mach/devstream.c: Likewise.
77394         * malloc/arena.c: Likewise.
77395         * malloc/set-freeres.c: Likewise.
77396         * misc/err.c: Likewise.
77397         * misc/getttyent.c: Likewise.
77398         * misc/mntent_r.c: Likewise.
77399         * posix/getopt.c: Likewise.
77400         * posix/wordexp.c: Likewise.
77401         * pwd/fgetpwent_r.c: Likewise.
77402         * resolv/Versions: Likewise.
77403         * resolv/res_hconf.c: Likewise.
77404         * shadow/fgetspent_r.c: Likewise.
77405         * shadow/putspent.c: Likewise.
77406         * stdio-common/printf_fphex.c: Likewise.
77407         * stdio-common/tmpfile.c: Likewise.
77408         * stdlib/abort.c: Likewise.
77409         * stdlib/fmtmsg.c: Likewise.
77410         * sunrpc/auth_unix.c: Likewise.
77411         * sunrpc/clnt_perr.c: Likewise.
77412         * sunrpc/clnt_tcp.c: Likewise.
77413         * sunrpc/clnt_udp.c: Likewise.
77414         * sunrpc/clnt_unix.c: Likewise.
77415         * sunrpc/openchild.c: Likewise.
77416         * sunrpc/svc_simple.c: Likewise.
77417         * sunrpc/svc_tcp.c: Likewise.
77418         * sunrpc/svc_udp.c: Likewise.
77419         * sunrpc/svc_unix.c: Likewise.
77420         * sunrpc/xdr.c: Likewise.
77421         * sunrpc/xdr_array.c: Likewise.
77422         * sunrpc/xdr_rec.c: Likewise.
77423         * sunrpc/xdr_ref.c: Likewise.
77424         * sunrpc/xdr_stdio.c: Likewise.
77426 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77428         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77430 2011-07-03  Andreas Jaeger  <aj@suse.de>
77432         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77433         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77434         regenerate with gen-libm-tests.pl.
77436 2010-05-12  Petr Baudis  <pasky@suse.cz>
77438         [BZ #11589]
77439         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77440         around j0() zero points by switching to j1().
77441         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77442         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77444         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77448         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77449         instead of 0.
77450         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77451         instead of 0.
77452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77453         Patch in part by Pavel Roskin <proski@gnu.org>.
77455         [BZ #13138]
77456         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77457         realloc.
77458         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77459         Free memory block if necessary.
77461         [BZ #12847]
77462         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77463         be NULL.  Don't lock in this case.
77465 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77467         * elf/elf.h (ELFOSABI_GNU): New macro.
77468         (ELFOSABI_LINUX): Define to that.
77470 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77472         * string/strncat.c (strncat): Undef the symbol in case it has been
77473         defined in bits/string.h.
77475 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77477         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77479         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77480         link map.
77482 2011-08-17  Andreas Jaeger  <aj@suse.de>
77484         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77486 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77487             Ian Lance Taylor  <iant@google.com>
77489         * math/libm-test.inc (lround_test): New testcase.
77490         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77492 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77494         * Makefile: Remove support for automatic cvs check-ins.
77495         * Makerules: Likewise.
77496         * config.make.in: Likewise.
77497         * configure.in: Likewise.
77498         * intl/Makefile: Likewise.
77499         * locale/Makefile: Likewise.
77500         * po/Makefile: Likewise.
77501         * posix/Makefile: Likewise.
77502         * sysdeps/gnu/Makefile: Likewise.
77503         * sysdeps/mach/hurd/Makefile: Likewise.
77504         * sysdeps/sparc/sparc32/Makefile: Likewise.
77506         [BZ #13118]
77507         * posix/Makefile (bug-regex32-ENV): Define.
77508         Patch by John Stanley <jpsinthemix@verizon.net>.
77510         * misc/Makefile (headers): Add bits/select2.h.
77511         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77512         * misc/bits/select2.h: New file.
77513         * include/bits/select2.h: New file.
77514         * debug/Makefile (routines): Add fdelt_chk.
77515         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77516         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77517         FD_ISSET.
77518         * debug/fdelt_chk.c: New file.
77520         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77521         * wcsmbs/test-wmemcmp.c: Likewise.
77522         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77523         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77525 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77527         * string/Makefile (strop-tests): Add memcmp.
77528         * string/test-wmemcmp.c: New file.
77529         * string/test-memcmp.c: Add wmemcmp support.
77531 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77533         [BZ #13153]
77534         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77535         2011-07-19 change.
77537         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77538         garbage value in a __mach_port_mod_refs call in the cases of the
77539         task-self and thread-self ports.
77541 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77543         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77545 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77547         * elf/dl-load.c (lose): Check for non-null L.
77549 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77551         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77553         * elf/dl-libc.c (dlerror_run): Pass back error code from
77554         dl_catch_error.
77556         [BZ #13123]
77557         * elf/dl-load.c (lose): Free l_origin if it is valid.
77559         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77560         names.
77561         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77562         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77563         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77564         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77565         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77566         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77568 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77570         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77571         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77572         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77573         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77574         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77575         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77576         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77577         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77578         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77579         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77581 2011-08-15  Alan Modra  <amodra@gmail.com>
77583         [BZ #13092]
77584         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77585         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77586         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77587         ppc_mcount to static-only-routines.
77588         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77589         __mcount_internal.
77590         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77591         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77593 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77595         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77596         for finite and infinity parameters.
77598 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77600         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77601         and add nop instructions for throughput optimization.
77602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77604 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77606         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77607         aligned copy for power7 with vector-scalar instructions.
77608         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77610 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77612         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77613         AVX check.
77615 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77617         [BZ #13144]
77618         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77619         last change.
77621 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77623         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77624         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77625         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77626         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77627         clock_gettime.
77629 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77632         Forgot to demangle the pointer.
77634         * sysdeps/i386/sysdep.h: Define atom_text_section.
77635         * sysdeps/x86_64/sysdep.h: Likewise.
77636         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77637         section with atom_text_section.
77638         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77639         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77640         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77641         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77642         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77644         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77645         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77646         already be defined.  Change to take two parameters and don't assign
77647         result to variable.  Adjust all users.
77648         Define INTERNAL_GETTIME if not already defined.
77649         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77650         call.
77651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77652         HAVE_CLOCK_GETTIME_VSYSCALL.
77653         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77656         gettimeofday vsyscall, just use time.
77658 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77660         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77661         <errno.h>.
77663 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77665         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77666         syscall on x86-64.
77667         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77668         syscall.
77669         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77671         syscall if possible.
77673 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77675         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77676         e_ident.  Don't pass to find_mapsXX.
77677         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77679 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77682         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77683         * sysdeps/x86_64/multiarch/strchr.S: Update.
77684         Check bit_slow_BSF bit.
77685         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77686         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77687         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77689 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77691         [BZ #13134]
77692         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77693         before glibc 2.15.
77694         (tryshell): Define.
77695         (__spawni): Change last parameter to be flag.  Test
77696         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77697         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77698         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77699         * posix/spawni.c: Likewise.
77700         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77701         * posix/spawnp.c: Likewise.  Change normal version to use
77702         SPAWN_XFLAGS_USE_PATH.
77703         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77704         SPAWN_XFLAGS_TRY_SHELL.
77706         [BZ #13150]
77707         * posix/glob.h: Remove gcc 1.x support.
77709         [BZ #13068]
77710         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77712 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77715         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77716         strrchr-sse2-bsf
77717         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77718         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77719         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77720         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77721         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77722         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77724 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77726         * sysdeps/x86_64/wcscmp.S: New file.
77728         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77729         wcscmp-c wcscmp-sse2
77730         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77731         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77733         * wcsmbs/wcscmp.c: Allow renaming.
77735 2011-09-05  David S. Miller  <davem@davemloft.net>
77737         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77738         stack slot, rather than the struct return pointer slot.
77739         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77740         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77742         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77744 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77746         * po/ja.po: Update from translation team.
77748         [BZ #13144]
77749         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77750         kernel in 64-bit binaries.
77752 2011-09-01  David S. Miller  <davem@davemloft.net>
77754         * elf/elf.h (HWCAP_SPARC_*): Move to..
77755         * sysdeps/sparc/sysdep.h: this new file and add new values.
77756         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77757         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77758         _DL_HWCAP_COUNT to 24.
77759         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77760         entries.
77761         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77762         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77763         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77765         instead of magic constants.
77766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77768 2011-08-31  David S. Miller  <davem@davemloft.net>
77770         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77772         Reimplement to do errno handling inline.
77773         (SYSCALL_ERROR_HANDLER): New macro.
77774         (__SYSCALL_STRING): Do not do errno handling in asm.
77775         (__CLONE_SYSCALL_STRING): Delete.
77776         (__INTERNAL_SYSCALL_STRING): Delete.
77777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77778         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77779         (PSEUDO): Reimplement to do errno handling inline.
77780         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77781         (SYSCALL_ERROR_HANDLER): New macro.
77782         (__SYSCALL_STRING): Do not do errno handling in asm.
77783         (__CLONE_SYSCALL_STRING): Delete.
77784         (__INTERNAL_SYSCALL_STRING): Delete.
77785         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77786         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77787         i386.
77788         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77789         (inline_syscall*): Add 'err' argument.
77790         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77791         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77792         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77793         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77795         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77796         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77798 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77800         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77802 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77804         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77805         directive.
77807 2011-08-24  David S. Miller  <davem@davemloft.net>
77809         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77811 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77813         * elf/Makefile: Add rules to build and run unload8 test.
77814         * elf/unload8.c: New file.
77815         * elf/unload8mod1.c: New file.
77816         * elf/unload8mod1x.c: New file.
77817         * elf/unload8mod2.c: New file.
77818         * elf/unload8mod3.c: New file.
77820         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77821         it wasn't used.
77823 2011-08-23  David S. Miller  <davem@davemloft.net>
77825         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77826         subtract stack bias.
77827         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77828         %sp not %fp in calculations.
77829         (_JMPBUF_UNWINDS_ADJ): Likewise.
77831         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77832         (aio_suspend): Call it to force an exception region around the
77833         AIO_MISC_WAIT() invocation.
77835 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77837         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77838         backslash.
77840 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77842         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77843         protection macro.
77844         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77845         and <dl-machine.h>.
77846         (Elf64_FuncDesc): Remove.
77848 2011-08-22  David S. Miller  <davem@davemloft.net>
77850         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77851         sigaltstack check, add missing cfi directives.
77852         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77853         missing cfi directives, and sigaltstack handling.
77855 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77857         [BZ #11724]
77858         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77859         object is seen twice.
77860         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77862         * elf/Makefile (distribute): Add tst-initorder2.c.
77863         (tests): Add tst-initorder2.
77864         (modules-names): Add tst-initorder2a tst-initorder2b
77865         tst-initorder2c tst-initorder2d.  Add rules to build them.
77866         ($(objpfx)tst-initorder2.out): New rule.
77867         * elf/tst-initorder2.c: New file.
77868         * elf/tst-initorder2.exp: New file.
77870 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77872         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77874         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77875         dependencies back to end of function.
77877         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77878         $(elfobjdir)/ld.so.
77880 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77882         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77883         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77884         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77885         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77886         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77887         of __vdso_gettimeofday.
77888         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77889         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77890         attribute_hidden.
77891         (_libc_vdso_platform_setup): Remove initialization of
77892         __vdso_gettimeofday and __vdso_time.
77894 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77896         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77897         and fgetc_unlocked.
77898         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77899         getc_unlocked.
77901         * elf/dl-open.c (add_to_global): Report additions to the global scope
77902         for LD_DEBUG=scopes.
77903         (dl_open_worker): Also print scope of newly loaded dependencies.
77904         (_dl_show_scope): Indicate if there is no scope.
77906         [BZ #13114]
77907         * stdio-common/Makefile (tests): Add bug24.
77908         * stdio-common/bug24.c: New file.
77910 2011-08-19  Andreas Jaeger  <aj@suse.de>
77912         [BZ #13114]
77913         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77914         non-existant file when using close-on-exec mode.
77916 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77919         the very first instruction.
77921         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77922         the CFI state in the end.
77923         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77924         inclusion of dl-trampoline.h.
77925         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77927 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77929         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77930         expectations for long double.
77932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77933         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77935 2011-08-14  David S. Miller  <davem@davemloft.net>
77937         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77938         artificual limit depends upon the system page size.
77940 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77942         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77943         * resolv/Makefile: Define CFLAGS-libresolv.
77945 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77947         * nss/makedb.c (compute_tables): Make variables used in nested
77948         function static.
77950 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77952         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77953         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77954         if buffer was too small.
77956         * elf/pldd.c (main): Attach to all threads in the process.
77957         Rewrite /proc handling to use *at functions.
77959 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77961         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77962         specifies first scope to show.
77963         (dl_open_worker): Update callers.  Move printing scope of new
77964         object to before the relocation.
77965         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77966         * sysdeps/generic/ldsodefs.h: Update declaration.
77968         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77969         string for the scope number.
77971 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77973         * nscd/servicescache.c (cache_addserv): Make sure written is always
77974         initialized.
77976 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77978         * sysdeps/i386/i486/bits/atomic.h
77979         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77980         statement expression, so as to suppress "set but not used" warning.
77981         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77983         * string/strncat.c (STRNCAT): Use prototype definition.
77985         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77986         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77987         -Iprograms here.
77988         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77989         (localedef-modules): Add localedef.
77990         (locale-modules): Add locale.
77992         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77993         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77994         to avoid a warning.
77996 2011-08-14  David S. Miller  <davem@davemloft.net>
77998         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77999         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78001 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78003         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78004         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78005         * elf/rtld.c (dl_main): Set l_name of vDSO.
78006         Call _dl_show_scope when DL_DEBUG_SCOPES.
78007         (process_dl_debug): Recognize scopes flag and also set it for all.
78008         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78009         Declare _dl_show_scope.
78011         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78012         (do_dlopen): Pass caller_dlopen to dl_open.
78013         (__libc_dlopen_mode): Initialize caller_dlopen.
78015         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78016         of libc.  Make tolower call locale-independent.  Optimize a bit by
78017         using isdigit instead of isalnum.
78018         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78020 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78022         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78023         was a dependency or dynamically loaded.
78025 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78027         * intl/l10nflist.c: Allow architecture-specific pop function.
78028         * sysdeps/x86_64/l10nflist.c: New file.
78030         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78031         classification.
78033 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78035         * include/dirent.h: Add libc_hidden_proto for scandirat and
78036         scandirat64.  Don't declare __scandirat64.
78037         * dirent/scandirat.c: Add libc_hidden_def.
78038         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78039         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78041 2011-08-10  David S. Miller  <davem@davemloft.net>
78043         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78044         enum.
78045         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78047         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78049 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78051         * Versions.def [libc]: Add GLIBC_2.15.
78052         * dirent/Makefile (routines): Add scandirat and scandirat64.
78053         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78054         GLIBC_2.15.
78055         * dirent/dirent.h: Declare scandirat and scandirat64.
78056         * dirent/scandirat.c: New file.
78057         * dirent/scandirat64.c: New file.
78058         * sysdeps/wordsize-64/scandirat.c: New file.
78059         * sysdeps/wordsize-64/scandirat64.c: New file.
78060         * dirent/opendir.c: Define opendirat.
78061         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78062         using scandirat.
78063         * dirent/scandir64.c: Adjust for scandir.c change.
78064         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78065         __scandirat64, and __scandir_cancel_handler.
78066         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78067         additional parameter and use openat instead of open (outside of ld.so).
78068         Add new __opendir as wrapper around __opendirat.
78069         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78070         here without requiring old scandirat implementation.
78072 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78074         * dirent/scandir.c (cancel_handler): Renamed to
78075         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78076         defined.  Adjust users.
78077         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78078         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78080 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78082         * string/test-string.h (IMPL): Use __STRING to expand name and then
78083         stringify it.
78085         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78086         of cleanups.
78088 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78090         * string/Makefile: Update.
78091         (strop-tests): Append strncat.
78092         * string/test-wcscmp.c: New file.
78093         New comprehensive test for wcscmp.
78094         * string/test-strcmp.c: Update.
78095         (WIDE): New define.
78097 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78099         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78100         line.
78102 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78105         encoding to ACE if AI_IDN.
78107 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78110         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78112 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78114         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78115         Fix overflow bug in strncat.
78116         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78118         * string/test-strncat.c: Update.
78119         Add new tests for checking overflow bugs.
78121 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78124         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78125         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78126         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78127         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78128         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78129         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78130         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78131         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78134         (USE_AS_STRCAT): Define.
78135         Add strcat and strncat support.
78136         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78138 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78140         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78141         __n bigger than INT_MAX+1.
78142         (__strncmp_g): Likewise.
78144 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78146         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78147         * libio/stido.h: Likewise.
78149         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78150         (AF_NFC): Define.
78151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78152         (AF_NFC): Define.
78154         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78156         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78157         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78160         [BZ #13021]
78161         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78162         installed.
78164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78165         typo.
78166         (_dl_x86_64_save_sse): Likewise.
78168 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78171         OSXSAVE.
78172         (_dl_x86_64_save_sse): Likewise.
78174         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78176         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78178 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78181         change.
78182         (_dl_x86_64_save_sse): Use correct AVX check.
78184 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78186         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78187         bug in strncpy/strncat.
78188         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78190 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78192         * string/tester.c (test_strcat): Add tests for different alignments
78193         of source and destination.
78194         (test_strncat): Likewise.
78196 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78198         [BZ #12852]
78199         * posix/glob.c (glob): Check passed in values before using them in
78200         expressions to avoid some overflows.
78201         (glob_in_dir): Likewise.
78203         [BZ #13007]
78204         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78205         check for AVX enablement so that we don't crash with old kernels and
78206         new hardware.
78207         * elf/tst-audit4.c: Add same checks here.
78208         * elf/tst-audit6.c: Likewise.
78210         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78212 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78214         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78216 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78218         * po/cs.po: Update from translation team.
78219         * po/bg.po: Likewise.
78221 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78223         * misc/sys/cdefs.h: Add support for const attribute.
78224         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78225         to gnu_dev_{major,minor,makedev} functions.
78227 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78229         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78231 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78233         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78234         strlen results.
78236 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78239         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78240         register in order to avoid conflicts with the soft frame pointer
78241         being held in r11 when necessary.
78242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78243         (INTERNAL_VSYSCALL_NCS): Likewise.
78245 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78247         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78248         * elf/dl-fini.c (_dl_fini): Adjust caller.
78249         * elf/dl-close.c (_dl_close_worker): Likewise.
78250         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78252 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78254         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78255         "aux_cache->nlibs < 0".
78257         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78258         in the reload-count case.
78260 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78263         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78264         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78265         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78266         * sysdeps/x86_64/multiarch/strcat.S: New file.
78267         * sysdeps/x86_64/multiarch/strncat.S: New file.
78268         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78269         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78270         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78271         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78273         (USE_AS_STRCAT): Define.
78274         Add strcat and strncat support.
78275         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78276         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78277         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78278         * string/strncat.c: Update.
78279         (USE_AS_STRNCAT): Define.
78280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78281         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78282         and i7.
78283         * sysdeps/x86_64/multiarch/init-arch.h
78284         (bit_Prefer_PMINUB_for_stringop): New.
78285         (index_Prefer_PMINUB_for_stringop): Likewise.
78286         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78287         bit_Prefer_PMINUB_for_stringop.
78289 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78291         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78292         buffer64.
78293         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78294         of casting of buffer.
78295         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78296         buffer32 and buffer64.
78297         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78298         writes instead of casting of buffer.
78299         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78300         buffer32.
78301         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78302         casting of buffer.
78304 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78306         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78308 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78310         * nscd/nscd.c (termination_handler): Don't do anything for a database
78311         if it has not yet been initialized.
78313 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78315         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78317 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78319         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78321 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78323         * po/nl.po: Update from translation team.
78324         * po/sv.po: Likewise.
78326 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78328         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78329         now disallowed by GCC.
78331         * configure.in (use-default-link): Default to yes if a test -shared
78332         link meets our qualifications.
78333         * configure: Regenerated.
78335         * config.make.in (output-format): New variable.
78336         * configure.in: Check for ld --print-output-format support.
78337         * configure: Regenerated.
78338         * Makerules ($(common-objpfx)format.lds)
78339         [$(output-format) != unknown]: Just use $(output-format),
78340         instead of the linker-script munging.
78342 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78344         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78345         of $(common-objpfx)shlib.lds.
78346         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78348         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78349         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78351         * configure.in (-z relro check): Adjust test code to add a large
78352         writable data section after it.
78353         * configure: Regenerated.
78355 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78357         * configure.in (-z relro check): Fix test code to make the variable
78358         truly const.
78359         * configure: Regenerated.
78361 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78363         * nscd/nscd.h (struct traced_file): Define.
78364         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78365         elements.  Add traced_files.
78366         (inotify_fd): Declare.
78367         (register_traced_file): Declare.
78368         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78369         (inotify_fd): Export.
78370         (resolv_conf_descr): Remove.
78371         (nscd_init): Move inotify descriptor creation to main.
78372         Don't register files for notification here.
78373         (register_traced_file): New function.
78374         (invalidate_cache): Don't use reset_res to determine whether to call
78375         res_init, go through the list of registered files.
78376         (main_loop_poll): The inotify descriptors are now stored in the
78377         structures for the traced files.
78378         (main_loop_epoll): Likewise.
78379         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78380         to __nss_disable_nscd.
78381         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78382         for a database anymore.  Check the records for all the registered
78383         files instead.
78384         * nss/Makefile (libnss_files-routines): Add files-init.
78385         (libnss_db-routines): Add db-init.
78386         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78387         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78388         * nss/nss_db/db-init.c: New file.
78389         * nss/nss_files/files-init.c: New file.
78390         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78391         __nss_lookup_function.
78392         (__nss_lookup_function): Call nss_load_library.
78393         (nss_load_all_libraries): New function.
78394         (__nss_disable_nscd): Take parameter with callback function for files
78395         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78396         used for the cached services.
78397         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78398         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78399         options for features to all the files in nscd.
78401         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78403 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78405         * csu/elf-init.c (__libc_csu_init): Comment typo.
78407 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78409         * po/pl.po: Update from translation team.
78410         * po/ja.po: Likewise.
78411         * po/ru.po: Likewise.
78412         * po/ko.po: Likewise.
78413         * po/fr.po: Likewise.
78415 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78417         * configure.in (.ctors/.dtors header and trailer check):
78418         Use an empirical test on a built program.
78419         * configure: Regenerated.
78421         * configure.in (-z relro check): Use an empirical test on a built DSO.
78422         Detect, but do not require, on ia64.
78423         * configure: Regenerated.
78425         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78426         Update tests that use readelf to use $READELF instead.
78427         * configure: Regenerated.
78429 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78431         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78432         if the result is not used.
78434 2011-07-05  Andreas Jaeger  <aj@suse.de>
78436         [BZ#9696]
78437         * stdlib/tst-strtod.c: Add testcase.
78439 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78441         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78442         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78443         The latter has a higher limit.  Take additional parameter to pass to
78444         the new function.
78445         (__pathconf): Pass file to __statfs_link_max.
78446         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78447         __statfs_link_max.
78448         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78449         __statfs_link_max.
78451         [BZ #12868]
78452         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78453         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78454         Handle Lustre.
78455         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78456         (__statfs_filesize_max): Likewise.
78457         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78459 2011-07-05  Andreas Jaeger  <aj@suse.de>
78461         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78463 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78465         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78466         `status' variable.
78467         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78468         Likewise.
78470 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78472         * Makefile (strop-tests): Add strncat.
78473         * string/test-strncat.c: New file.
78475 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78477         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78479 2011-06-21  Andreas Jaeger  <aj@suse.de>
78481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78482         Copy rule from iconvdata/Makefile.
78484 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78486         [BZ #12922]
78487         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78488         but no long options are defined, just return 'W'.
78490 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78492         [BZ #9696]
78493         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78495 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78497         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78498         netgroups to read.
78499         (innetgr): Likewise.
78501 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78503         * config.make.in (install_root): Default to $(DESTDIR).
78505 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78507         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78509 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78511         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78513         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78514         containing directory rather than embedding absolute directory names.
78516         * scripts/check-local-headers.sh: Rewritten using awk.
78517         Match by word, not by line.  Print error messages for matches.
78518         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78520         * Makerules [shlib-lds-flags empty]:
78521         ($(common-objpfx)libc_pic.opts): New target.
78522         ($(common-objpfx)libc_pic.os.clean): New target.
78523         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78525         * config.make.in (OBJCOPY): New variable.
78526         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78527         * configure: Regenerated.
78529         * config.make.in (use-default-link): New variable.
78530         * configure.in (use_default_link): Grok --with-default-link to set it.
78531         * configure: Regenerated.
78532         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78533         (shlib-lds, shlib-lds-flags): Define to empty.
78535         * Makerules (shlib-lds): New variable.
78536         (shlib-lds-flags): New variable.
78537         (build-shlib, build-moduile, build-module-asneeded): Use it.
78538         ($(common-objpfx)libc.so): Use $(shlib-lds).
78539         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78540         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78542         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78543         DT_FLAGS/DT_FLAGS_1 with zero flags.
78545         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78546         linker script munging.
78548 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78550         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78551         as 128-bit value.
78552         * crypt/sha512.c (sha512_process_block): Perform total addition using
78553         128-bit if possible.
78554         (__sha512_finish_ctx): Likewise.
78555         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78556         as 64-bit value.
78557         * crypt/sha256.c (SWAP64): Define.
78558         (sha256_process_block): Perform total addition using 64-bit if
78559         possible.
78560         (__sha256_finish_ctx): Likewise.
78562 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78564         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78565         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78566         * nscd/hstcache.c (cache_addhst): Likewise.
78567         * nscd/grpcache.c (cache_addgr): Likewise.
78568         * nscd/aicache.c (addhstaiX): Likewise.
78569         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78571 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78573         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78575         * nscd/hstcache.c (cache_addhst): Likewise.
78576         * nscd/grpcache.c (cache_addgr): Likewise.
78577         * nscd/aicache.c (addhstaiX): Likewise.
78579 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78581         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78582         domain only when needed.
78584 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78587         is always restored.
78589 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78591         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78592         are re-adding the entry.
78593         * nscd/servicescache.c (cache_addserv): Likewise.
78595 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78597         * sysdeps/generic/dl-irel.h: fix protection against multiple
78598         inclusions.
78599         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78601 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78603         [BZ #12935]
78604         * malloc/memusage.sh: Fix quoting in message.
78605         * debug/xtrace.sh: Likewise.
78607         * configure.in: Remove support for --experimental-malloc option, make
78608         it the default.
78609         * config.make.in: Likewise.
78610         * malloc/Makefile: Likewise.
78612 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78614         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78615         two-byte characters.
78617 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78619         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78620         AC_CACHE_CHECK invocation.
78621         * configure: Regenerated.
78623         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78625 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78627         [BZ #12350]
78628         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78629         bit from old_res_options.
78631         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78633         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78634         value type for setfct.
78636 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78639         __gettimeofday instead of gettimeofday.
78641 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78643         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78645 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78647         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78649         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78650         info.
78652 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78655         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78656         strcpy-sse2-unaligned strncpy-sse2-unaligned
78657         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78658         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78659         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78660         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78661         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78664         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78665         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78666         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78667         (STRCPY): Support SSE2 and SSSE3 versions.
78669 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78671         [BZ #12874]
78672         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78673         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78674         kernels which artificially limit size of requests.
78676 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78679         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78680         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78681         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78682         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78683         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78684         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78685         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78686         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78687         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78688         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78689         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78690         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78691         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78692         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78694         Enable unaligned load optimization for Intel Core i3, i5 and i7
78695         processors.
78696         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78697         Define.
78698         (index_Fast_Unaligned_Load): Define.
78699         (HAS_FAST_UNALIGNED_LOAD): Define.
78701 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78703         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78705 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78707         [BZ #12907]
78708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78709         until it is clear that the information is realy needed.
78710         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78712 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78716 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78718         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78719         /sys/devices/system/cpu/online if it is usable.
78721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78722         reading the information from the /proc filesystem to once a second.
78724 2011-06-21  Andreas Jaeger  <aj@suse.de>
78726         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78727         NULL after inclusion of kernel headers.
78729 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78731         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78732         calls to internal_setent.
78734         [BZ #12885]
78735         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78736         addresses using gethostbyname4_r ignore IPv4 addresses.
78738         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78739         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78741         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78743 2011-06-20  David S. Miller  <davem@davemloft.net>
78745         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78746         inclusions.
78747         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78749         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78750         (elf_irel): Use it.
78751         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78752         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78753         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78754         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78755         * sysdeps/x86_64/dl-irel.h: Likewise.
78757         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78758         * elf/dl-sym.c: Likewise.
78760 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78762         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78763         need to dereference resplen2.
78765 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78767         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78769 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78771         * Makeconfig: Define vardbdir and inst_vardbdir.
78772         * nss/Makefile: Add rules to install db-Makefile.
78774         * nss/nss_db/db-XXX.c: Cleanup.
78776         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78777         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78778         GLIBC_PRIVATE.
78779         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78780         * nss/makedb.c: Implement -g option to specify that value strings
78781         are generated and should not be added to table iterated over for
78782         get*ent calls.
78783         * nss/nss_db/db-initgroups.c: New file.
78785         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78786         interface.
78788         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78789         (internal_getgrouplist): Adjust to name change.
78790         Update use_initgroups_entry if this is not the first call.
78791         * nss/databases.def: Add initgroups entry.
78793         * nss/makedb.c (compute_tables): Check result of multiple hash table
78794         sizes to minimize maximum chain length.
78796 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78798         * Versions.def: Add entry for libnss_db.
78799         * shlib-versions: Likewise.
78800         * nss/Makefile: Add rules to build libnss_db.
78801         * nss/Versions: Add libnss_db information.  Organize libnss_files
78802         entries better.
78803         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78804         makedb progra.  Some minor improvements to generate smaller files.
78805         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78806         here from...
78807         * nss/makedb.c: ...here.
78808         Improve database format to be smaller and require less memory at
78809         runtime.
78810         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78811         db anymore.
78812         * nss/nss_db/db-netgrp.c: Likewise.
78813         * nss/nss_db/db-open.c: Likewise.
78814         * nss/nss_files/flies-XXX.x: Adjust comments.
78815         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78816         * nss/nss_files/files-grp.c: Likewise.
78817         * nss/nss_files/files-hosts.c: Likewise.
78818         * nss/nss_files/files-network.c: Likewise.
78819         * nss/nss_files/files-proto.c: Likewise.
78820         * nss/nss_files/files-pwd.c: Likewise.
78821         * nss/nss_files/files-rpc.c: Likewise.
78822         * nss/nss_files/files-service.c: Likewise.
78823         * nss/nss_files/files-sgrp.c: Likewise.
78824         * nss/nss_files/files-spwd.c: Likewise.
78825         * nss/nss_db/db-alias.c: Removed.
78826         * nss/nss_db/dummy-db.h: Removed.
78828 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78830         * nss/makedb.c: Rewritten to not use database library.
78831         * nss/Makefile: Update to build new makedb program.
78833 2011-06-14  Andreas Jaeger  <aj@suse.de>
78835         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78836         memset declaration.
78838 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78841         tmpbuf.
78843 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78845         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78846         * elf/Makefile ($(objpfx)ld.so): Likewise.
78848         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78849         Don't list ld.so twice in dependencies.
78851         * posix/bug-regex31.c: Include <stdlib.h>.
78853         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78855         * nis/nss_compat/compat-spwd.c
78856         (getspent_next_nss_netgr): Remove unused variable.
78857         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78859         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78860         nonmembers" output to use the right array.
78862         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78864         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78866         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78867         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78868         * catgets/gencat.c (read_input_file): Likewise.
78869         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78871         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78872         variable definition inside #if's controlling its use.
78874         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78876         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78878         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78880         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78881         unreachable code.
78883         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78885         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78886         * configure: Regenerated.
78888         * Makerules: Revert last change.
78889         * elf/Makefile: Likewise.
78891 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78893         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78894         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78895         (reloc-link): Likewise.
78897 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78899         * elf/Makefile: Add rules to build pldd.
78900         * elf/pldd.c: New file.
78901         * elf/pldd-xx.c: New file.
78903 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78905         * version.h: Update for 2.15 development version.
78907 2011-06-07  David S. Miller  <davem@davemloft.net>
78909         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78910         ifuncs.
78911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78912         elf_machine_lazy_rel): Likewise.
78913         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78914         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78915         elf_machine_lazy_rel): Likewise.
78916         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78917         dl_hwcap via passed in argument.
78918         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78919         Likewise.
78921 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78923         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78925 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78927         [BZ #12849]
78928         * manual/fdl-1.1.texi: New file, verbatim from:
78929         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78930         * manual/lgpl-2.1.texi: New file, verbatim from:
78931         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78932         * manual/Makefile (licenses): New variable, list those new file names.
78933         (texis): Use it.
78934         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78936         * manual/fdl.texi: File removed.
78937         * manual/lesser.texi: File removed.
78938         * manual/libc.texinfo (Copying, Documentation License):
78939         Use new @include file names, put @appendix directive before @include.
78941 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78943         [BZ #12841]
78944         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78945         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78946         (mq_open): Add __NTH.
78948 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78951         Assume Intel Core i3/i5/i7 processor if AVX is available.
78953 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78956         typo.
78958 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78960         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78961         memory.  Use alloca_account.  Fix memory leak when retrying.
78963 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78965         * version.h (RELEASE): Bump for 2.14 release.
78966         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78968         * config.make.in (RANLIB): Remove entry.
78970 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78972         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78973         (libc.pot): Work around missing support for .ksh extension in xgettext.
78975         [BZ #12684]
78976         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78977         if both request failed.
78978         (send_dg): In case of server errors clear resplen or *resplen2.
78980         [BZ #12454]
78981         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78982         when there are multiple maps.
78983         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78984         (_dl_fini): Remove test here.
78986         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78988 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78990         [BZ #12350]
78991         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78992         bit from old_res_options.
78993         (gaih_inet): Likewise.
78995         [BZ #11099]
78996         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78997         as signed.
78999         * resolv/res_init.c (res_setoptions): Make the code more compact.
79001         [BZ #11558]
79002         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79003         set RES_USEVC.
79005         [BZ #11634]
79006         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79008         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79010         [BZ #11781]
79011         * malloc/malloc.h: Declare malloc hook variables as volatile.
79013         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79014         in last patch.
79016         [BZ #11799]
79017         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79018         raise in the comment.
79019         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79020         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79021         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79023 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79025         [BZ #12811]
79026         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79027         grow the buffers more if it already has to be sufficient.
79028         (build_wcs_upper_buffer): Likewise.
79029         * posix/regexec.c (check_matching): Likewise.
79030         (clean_state_log_if_needed): Likewise.
79031         (extend_buffers): Don't enlarge buffers beyond size of the input
79032         buffer.
79033         Patches mostly by Emil Wojak <emil@wojak.eu>.
79034         * posix/bug-regex32.c: New file.
79035         * posix/Makefile (tests): Add bug-regex32.
79037         * locale/findlocale.c (_nl_find_locale): Return right away if
79038         _nl_explode_name failed.
79039         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79041         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79043         * debug/xtrace.sh: Unify messages.
79044         * malloc/memusage.sh: Likewise.
79046         [BZ #12813]
79047         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79048         time symbol from vDSO.  Substitute with vsyscall if not available.
79049         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79050         __vdso_time.
79052         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79053         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79054         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79055         Add sendmmsg and internal_sendmmsg.
79056         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79057         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79058         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79060         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79061         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79062         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79064 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79066         [BZ #12813]
79067         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79068         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79069         available.
79070         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79071         __vdso_getcpu.
79073         [BZ #12814]
79074         * iconvdata/Makefile (tests): Add bug-iconv9.
79075         * iconvdata/bug-iconv9.c: New file.
79077 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79079         [BZ #12814]
79080         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79082 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79084         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79085         (struct user_regs_struct): Change intcs field back to cs.
79087 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79089         * po/ja.po: Update from translation team.
79091 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79093         [BZ #12795]
79094         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79095         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79097 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79099         * stdlib/longlong.h: Update from GCC.
79101 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79103         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79104         parameter name.
79105         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79106         Add parameter name.
79107         (__sysconf): Pass it down.
79109 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79111         [BZ #12671]
79112         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79113         some situations.
79114         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79115         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79116         add in in __libc_use_alloca calls.  Adjust callers.
79117         (glob): Use malloc in some situations.
79119         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79120         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79121         pltexit.
79123 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79125         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79126         and CLOCK_BOOTTIME_ALARM.
79128         [BZ #12782]
79129         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79130         is returned.
79132         * string/_strerror.c (__strerror_r): Print negative errors as signed
79133         numbers.
79135         [BZ #12777]
79136         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79137         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79138         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79140         * configure.in: Fix typo in redirection and correct removal of test
79141         files in two cases.
79143         [BZ #12788]
79144         * locale/setlocale.c (new_composite_name): Fix test to check for
79145         identical name of all categories.
79147         [BZ #12792]
79148         * libio/filedoalloc.c (local_isatty): New function.
79149         (_IO_file_doallocate): Use local_isatty.
79150         * stdio-common/perror.c (perror): In case a new stream is used
79151         forward the stream error.
79152         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79153         error flag.
79155 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79157         [BZ #11884]
79158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79159         alloca.
79160         * include/alloca.h (extend_alloca_account): Define.
79162         [BZ #11857]
79163         * posix/regex.h: Fix comments with documentation of user-accessible
79164         fields after compilation and describe correct free'ing of pattern
79165         after re_compile_pattern.
79166         Patch by Reuben Thomas <rrt@sc3d.org>.
79168 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79170         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79171         and -mno-altivec to prevent the compiler from using Altivec and/or
79172         VSX instructions when the corresponding registers are not available.
79174 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79176         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79178 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79180         * libio/freopen.c (freopen): Use __dup2, not dup2.
79181         * libio/freopen64.c (freopen64): Likewise.
79183 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79185         [BZ #12775]
79186         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79187         * math/Makefile (tests): Add test-powl.
79188         (CFLAGS-test-powl.c): Define.
79189         * math/test-powl.c: New file.
79191 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79193         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79195 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79197         [BZ #11837]
79198         * iconvdata/gb18030.c: Update to GB18020-2005.
79200 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79202         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79203         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79204         Patch by Aharon Robbins <arnold@skeeve.com>.
79206         [BZ #11892]
79207         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79208         on the stack.
79210         [BZ #11895]
79211         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79212         through underflows.
79214         [BZ #12766]
79215         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79216         point to strings before performing equality test for error_one_per_line
79217         mode.
79219         [BZ #11697]
79220         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79222         [BZ #11820]
79223         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79224         (struct user_fpregs_struct): Avoid __uint*_t types.
79226         [BZ #6420]
79227         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79228         symbol info.  Use it instead of calling _dl_addr locally.
79229         (lock_and_info): New function.
79230         (tr_freehook): Call lock_and_info and pass symbol info as additional
79231         parameter to tr_where.
79232         (tr_mallochook): Likewise.
79233         (tr_reallochook): Likewise.
79234         (tr_memalignhook): Likewise.
79236         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79237         used and couldn't be at all thread-safe.
79239 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79241         * libio/freopen.c (freopen): Don't close old file descriptor
79242         before the new one is opened.  Instead dup the new file descriptor
79243         to the old one after the new stream is created.
79244         * libio/freopen64.c (freopen64): Likewise.
79245         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79246         * libio/fileops.c (_IO_new_file_close_it): Handle new
79247         _IO_FLAGS2_NOCLOSE flag.
79248         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79249         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79250         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79251         _IO_FLAGS2_NOCLOSE flag.
79252         * include/unistd.h: Add hidden_proto for dup3.
79253         Define __have_dup3.
79254         * io/dup3.c: Define hidden symbol.
79255         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79257         [BZ #7101]
79258         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79259         when an incomplete long option is used.
79260         * posix/tst-getopt_long1.c: New file.
79261         * posix/Makefile (tests): Add tst-getopt_long1.
79263         [BZ #10138]
79264         * scripts/config.guess: Update from autoconf-2.68.
79265         * scripts/config.sub: Likewise.
79267         [BZ #10157]
79268         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79269         tests into ...
79270         (has_cpuclock): ...this.  New function.
79271         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79272         macro here based on has_cpuclock code.
79274         [BZ #10149]
79275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79276         First byte (not low byte) is now always NUL.
79277         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79280         Use non-cancelable interfaces.
79282         [BZ #9809]
79283         * locale/iso-639.def: Add entry for Sorani.
79285         [BZ #11901]
79286         * include/stdlib.h: Move include protection to the right place.
79287         Define abort_msg_s.  Declare __abort_msg with it.
79288         * stdlib/abort.c (__abort_msg): Adjust type.
79289         * assert/assert.c (__assert_fail_base): New function.  Majority
79290         of code from __assert_fail.  Allocate memory for __abort_msg with
79291         mmap.
79292         (__assert_fail): Now call __assert_fail_base.
79293         * assert/assert-perr.c: Remove bulk of implementation.  Use
79294         __assert_fail_base.
79295         * include/assert.hL Declare __assert_fail_base.
79296         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79297         mmap.
79298         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79300 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79302         [BZ #11952]
79303         [BZ #12453]
79304         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79305         until all modules are registered in the DTV.
79306         * elf/Makefile: Add rules to build and run tst-tls19.
79307         * elf/tst-tls19.c: New file.
79308         * elf/tst-tls19mod1.c: New file.
79309         * elf/tst-tls19mod2.c: New file.
79310         * elf/tst-tls19mod3.c: New file.
79311         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79313         [BZ #12083]
79314         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79315         correctly.
79317         [BZ #12601]
79318         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79319         two-byte sequence errors.
79320         * iconvdata/Makefile (tests): Add bug-iconv8.
79321         * iconvdata/bug-iconv8.c: New file.
79323         [BZ #12626]
79324         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79325         buf2 definition.
79327         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79329         [BZ #12432]
79330         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79331         (dummy_getcfa): New function.
79332         (init): Get _Unwind_GetCFA address, use dummy if not found.
79333         (backtrace_helper): In recursion check, also check whether CFA changes.
79334         (__backtrace): Completely initialize arg.
79336         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79337         storing incomplete byte sequence in state object.  Avoid testing for
79338         guaranteed too small input if we know there is enough data available.
79340 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79342         * Makeconfig (+link-pie): Indent.
79343         * Rules (binaries-pie): Define if $(have-fpie) and
79344         $(build-shared).
79345         (binaries-shared): Also filter out $(binaries-pie).
79346         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79347         * nscd/Makefile (others-pie): Add nscd.
79348         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79349         ($(objpfx)nscd): Remove command override.
79350         * login/Makefile (others-pie): Add pt_chown.
79351         ($(objpfx)pt_chown): Remove command override.
79352         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79353         remove command overrides.
79355 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79357         * libio/tst_putwc.c: Fix error messages.
79359         [BZ #12724]
79360         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79361         currently writing and seek to current position when not.
79362         * libio/Makefile (tests): Add bug-fclose1.
79363         * libio/bug-fclose1.c: New file.
79365 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79367         [BZ #12511]
79368         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79369         don't set DF_1_NODELETE here.
79370         (do_lookup_x): When entering new entry test for copy relocation
79371         and if necessary set DF_1_NODELETE flag.
79372         * elf/tst-unique4.cc: New file.
79373         * elf/tst-unique4.h: New file.
79374         * elf/tst-unique4lib.cc: New file.
79375         * elf/Makefile: Add rules to build and run tst-unique4.
79376         Patch by Piotr Bury <pbury@goahead.com>.
79378 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79380         [BZ #12052]
79381         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79383         [BZ #12625]
79384         * misc/mntent_r.c (addmntent): Flush the stream after the output
79386         [BZ #12393]
79387         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79388         (is_trusted_path_normalize): Skip initial colon.  Append slash
79389         to empty buffer.  Duplicate is_trusted_path code but allow
79390         constructed patch to be prefix.
79391         (is_dst): Allow $ORIGIN followed by /.
79392         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79393         Correct testing of result of is_trusted_path_normalize
79394         (decompose_rpath): Fix warning.
79396 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79398         [BZ #11257]
79399         * grp/initgroups.c (internal_getgrouplist): When we found the service
79400         list through the initgroups entry in nsswitch.conf do not always
79401         continue on a successful lookup.  Don't always use the
79402         __nss_group_database value if it is set.
79403         * nss/nsswitch.conf (initgroups): Change action for successful db
79404         lookup to continue for compatibility.
79406 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79408         [BZ #11532]
79409         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79410         and CP774 modules.
79411         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79412         and CP774 modules.
79413         * iconvdata/tst-tables.sh: Likewise.
79414         * iconvdata/cp770.c: New file.
79415         * iconvdata/cp771.c: New file.
79416         * iconvdata/cp772.c: New file.
79417         * iconvdata/cp773.c: New file.
79418         * iconvdata/cp774.c: New file.
79419         * iconvdata/testdata/CP770: New file.
79420         * iconvdata/testdata/CP770..UTF8: New file.
79421         * iconvdata/testdata/CP771: New file.
79422         * iconvdata/testdata/CP771..UTF8: New file.
79423         * iconvdata/testdata/CP772: New file.
79424         * iconvdata/testdata/CP772..UTF8: New file.
79425         * iconvdata/testdata/CP773: New file.
79426         * iconvdata/testdata/CP773..UTF8: New file.
79427         * iconvdata/testdata/CP774: New file.
79428         * iconvdata/testdata/CP774..UTF8: New file.
79430         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79431         END CHARMAP line.
79432         * iconvdata/gen-8bit-gap.sh: Likewise.
79433         * iconvdata/gen-8bit.sh: Likewise.
79435         * locale/iso-639.def: Add ary entry.
79437         [BZ #11258]
79438         * locale/C-translit.h.in: Add U20A1 transliteration.
79440         [BZ #12178]
79441         * locale/iso-639.def: Add wae entry.
79442         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79444         [BZ #12545]
79445         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79446         for n.
79448         [BZ #12711]
79449         * locale/C-translit.h.in: Add entry for U20B9.
79450         Patch by pravin.d.s@gmail.com.
79452 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79454         [BZ #12713]
79455         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79456         ENAMETOOLONG use generic getcwd.
79457         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79458         in rtld.  Use *stat64.
79459         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79460         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79461         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79462         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79463         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79464         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79465         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79466         __fstatat64 macros.
79467         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79468         * dirent/rewinddir.c: Add libc_hidden_def.
79469         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79470         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79472         * include/dirent.h (__alloc_dir): Add flags parameter.
79473         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79474         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79475         __alloc_dir.
79476         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79477         from fdopendir if O_CLOEXEC is already set.
79479 2011-03-15  Alan Modra  <amodra@gmail.com>
79481         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79482         l_tls_firstbyte_offset non-zero.  Save padding offset in
79483         l_tls_firstbyte_offset for later use.
79484         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79485         freeing static tls block.
79487 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79489         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79490         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79491         being defined by the kernel headers.
79493 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79495         [BZ #12734]
79496         * resolv/resolv.h: Define RES_NOTLDQUERY.
79497         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79498         no-tld-query and set RES_NOTLDQUERY.
79499         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79500         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79501         modern BIND to search name as TLD unless forbidden.
79503 2011-05-07  Petr Baudis  <pasky@suse.cz>
79504             Ulrich Drepper  <drepper@gmail.com>
79506         [BZ #12393]
79507         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79508         (is_trusted_path): ...to here.
79509         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79510         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79511         using is_trusted_path_normalize() in setuid scripts.
79513 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79515         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79516         __BEGIN/__END_DECLS.
79518 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79521         NSS_STATUS_NOTFOUND if no record was found.
79523 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79525         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79526         (headers-not-in-tirpc): Remove rpc/netdb.h
79527         * resolv/netdb.h: Revert last change.
79529 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79531         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79532         circular dependency between libgcc.a and libc.a.
79534 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79536         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79537         * nis/Makefile: Don't install rpcsvc/*.
79538         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79539         instead of <rpc/types.h>.
79540         (MAXHOSTNAMELEN): Define.
79542 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79544         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79546 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79548         [BZ #12714]
79549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79550         gethostbyname4_r when IPv6 results are possible.
79552 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79554         [BZ #12723]
79555         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79556         _PC_PIPE_BUF handling.
79558 2011-04-30  Bruno Haible  <bruno@clisp.org>
79560         [BZ #12717]
79561         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79562         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79563         to 'int'.
79564         * inet/getnameinfo.c (getnameinfo): Likewise.
79566 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79568         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79569         to groups setting in database lookup.
79570         * nss/nsswitch.conf: Add initgroups entry.
79572 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79574         [BZ #12685]
79575         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79576         mode string.
79577         Patch by Eric Blake <eblake@redhat.com>.
79579 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79581         * sunrpc/Makefile (need-export-routines): Add svc_run.
79582         (routines): Remove svc_run.
79583         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79584         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79585         * sunrpc/svc_run.c (svc_run): Likewise.
79586         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79588 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79590         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79591         problem in reallocation in last patch.
79593 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79595         * sunrpc/Makefile: Move inclusion of Rules.
79597 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79599         * nss/nss_files/files-initgroups.c: New file.
79600         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79601         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79602         _nss_files_initgroups_dyn.
79604 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79606         * elf/elf.h (R_ARM_IRELATIVE): Define.
79608 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79610         * po/ru.po: Update from translation team.
79612 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79614         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79615         dependencies.
79617 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79619         [BZ #12653]
79620         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79621         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79622         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79623         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79624         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79626 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79628         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79629         differing bytes.
79630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79634 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79636         [BZ #12420]
79637         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79638         storing it.
79639         * stdlib/bug-getcontext.c: New file.
79640         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79642 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79644         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79645         instructions into .machine "z9-109".
79646         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79647         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79649 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79651         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79652         between environment variables and auxiliary vector.
79654 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79656         * Makefile: Add rules to build linkobj/libc.so.
79657         * include/libc-symbols.h: Define libc_hidden_nolink.
79658         * include/rpc/auth.h: Mark functions which are to be hidden.
79659         * include/rpc/auth_des.h: Likewise.
79660         * include/rpc/auth_unix.h: Likewise.
79661         * include/rpc/clnt.h: Likewise.
79662         * include/rpc/des_crypt.h: Likewise.
79663         * include/rpc/key_prot.h: Likewise.
79664         * include/rpc/pmap_clnt.h: Likewise.
79665         * include/rpc/pmap_prot.h: Likewise.
79666         * include/rpc/pmap_rmt.h: Likewise.
79667         * include/rpc/rpc_msg.h: Likewise.
79668         * include/rpc/svc.h: Likewise.
79669         * include/rpc/svc_auth.h: Likewise.
79670         * include/rpc/xdr.h: Likewise.
79671         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79672         * nss/Makefile: Likewise.
79673         * sunrpc/Makefile: Don't install headers.  Build library with normal
79674         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79675         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79676         for the compat linking library.  Remove use of INTDEF/INTUSE.
79677         * sunrpc/auth_none.c: Likewise.
79678         * sunrpc/auth_unix.c: Likewise.
79679         * sunrpc/authdes_prot.c: Likewise.
79680         * sunrpc/authuxprot.c: Likewise.
79681         * sunrpc/clnt_gen.c: Likewise.
79682         * sunrpc/clnt_perr.c: Likewise.
79683         * sunrpc/clnt_raw.c: Likewise.
79684         * sunrpc/clnt_simp.c: Likewise.
79685         * sunrpc/clnt_tcp.c: Likewise.
79686         * sunrpc/clnt_udp.c: Likewise.
79687         * sunrpc/clnt_unix.c: Likewise.
79688         * sunrpc/des_crypt.c: Likewise.
79689         * sunrpc/des_soft.c: Likewise.
79690         * sunrpc/get_myaddr.c: Likewise.
79691         * sunrpc/key_call.c: Likewise.
79692         * sunrpc/key_prot.c: Likewise.
79693         * sunrpc/netname.c: Likewise.
79694         * sunrpc/pm_getmaps.c: Likewise.
79695         * sunrpc/pm_getport.c: Likewise.
79696         * sunrpc/pmap_clnt.c: Likewise.
79697         * sunrpc/pmap_prot.c: Likewise.
79698         * sunrpc/pmap_prot2.c: Likewise.
79699         * sunrpc/pmap_rmt.c: Likewise.
79700         * sunrpc/publickey.c: Likewise.
79701         * sunrpc/rpc_cmsg.c: Likewise.
79702         * sunrpc/rpc_common.c: Likewise.
79703         * sunrpc/rpc_dtable.c: Likewise.
79704         * sunrpc/rpc_prot.c: Likewise.
79705         * sunrpc/rpc_thread.c: Likewise.
79706         * sunrpc/rtime.c: Likewise.
79707         * sunrpc/svc.c: Likewise.
79708         * sunrpc/svc_auth.c: Likewise.
79709         * sunrpc/svc_authux.c: Likewise.
79710         * sunrpc/svc_raw.c: Likewise.
79711         * sunrpc/svc_run.c: Likewise.
79712         * sunrpc/svc_simple.c: Likewise.
79713         * sunrpc/svc_tcp.c: Likewise.
79714         * sunrpc/svc_udp.c: Likewise.
79715         * sunrpc/svc_unix.c: Likewise.
79716         * sunrpc/svcauth_des.c: Likewise.
79717         * sunrpc/xcrypt.c: Likewise.
79718         * sunrpc/xdr.c: Likewise.
79719         * sunrpc/xdr_array.c: Likewise.
79720         * sunrpc/xdr_float.c: Likewise.
79721         * sunrpc/xdr_intXX_t.c: Likewise.
79722         * sunrpc/xdr_mem.c: Likewise.
79723         * sunrpc/xdr_rec.c: Likewise.
79724         * sunrpc/xdr_ref.c: Likewise.
79725         * sunrpc/xdr_sizeof.c: Likewise.
79726         * sunrpc/xdr_stdio.c: Likewise.
79728 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79730         [BZ #12650]
79731         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79732         * sysdeps/ia64/dl-tls.h: Likewise.
79733         * sysdeps/powerpc/dl-tls.h: Likewise.
79734         * sysdeps/s390/dl-tls.h: Likewise.
79735         * sysdeps/sh/dl-tls.h: Likewise.
79736         * sysdeps/sparc/dl-tls.h: Likewise.
79737         * sysdeps/x86_64/dl-tls.h: Likewise.
79738         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79740 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79742         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79743         rpath element also skip the following colon.
79744         (expand_dynamic_string_token): Add is_path parameter and pass
79745         down to DL_DST_REQUIRED and _dl_dst_substitute.
79746         (decompose_rpath): Call expand_dynamic_string_token with
79747         non-zero is_path.  Ignore empty rpaths.
79748         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79749         with zero is_path.
79751 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79754         Make cancelable.
79756 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79758         [BZ #12655]
79759         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79760         Patch by Filipe David Manana <fdmanana@apache.org>.
79762 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79764         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79765         Maintain aligned stack.
79766         (CHECK_RSP): Remove unused macro.
79768 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79770         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79771         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79773 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79775         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79777         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79779 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79781         [BZ #12518]
79782         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79783         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79784         * sysdeps/x86_64/memmove.c: New file.
79785         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79786         (memcpy): Renamed to ...
79787         (__new_memcpy): This.
79788         (memcpy): Provide GLIBC_2_14 memcpy.
79789         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79790         (memcpy): Provide GLIBC_2_2_5 memcpy.
79792 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79794         [BZ #12631]
79795         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79797 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79799         * misc/syncfs.c: New file.
79800         * misc/Makefile (routines): Add syncfs.
79801         * posix/unistd.h: Declare syncfs.
79802         * sysdeps/unix/syscalls.list: Add syncfs.
79804 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79806         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79807         open_by_handle_at.
79808         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79809         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79810         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79811         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79813         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79816 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79818         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79819         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79820         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79821         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79822         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79823         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79824         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79826         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79827         sync_file_range.c with -fexceptions.
79828         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79829         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79830         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79831         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79832         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79833         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79834         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79835         sync_file_range as cancellation point
79836         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79837         now a wrapper around __call_sync_file_range with cancellation handling.
79838         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79839         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79840         function name to __call_sync_file_range.
79841         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79842         Add call_sync_file_range.
79844 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79847         bits/timex.h.
79849 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79851         * iconv/iconv.h: Fix typo in comment.
79852         * io/fcntl.h: Likewise.
79853         * libio/stdio.h: Likewise.
79854         * posix/spawn.h: Likewise.
79855         * posix/unistd.h: Likewise.
79856         * stdlib/stdlib.h: Likewise.
79857         * time/time.h: Likewise.
79858         * wcsmbs/wchar.h: Likewise.
79860         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79861         open_by_handle): Add.
79862         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79863         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79864         Augment a few comments.
79865         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79867         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79869         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79870         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79871         open_by_handle.
79873         * io/fcntl.h (AT_EMPTY_PATH): Define.
79875 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79877         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79878         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79879         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79880         to...
79881         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79882         * Versions.def: Add GLIBC_2.14.
79883         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79884         Export.
79886 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79888         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79889         round counter.
79890         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79892 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79894         [BZ #12597]
79895         * string/test-strncmp.c (do_page_test): New function.
79896         (check2): Likewise.
79897         (test_main): Call check2.
79898         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79900 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79902         [BZ #12587]
79903         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79904         Handle cache information in CPU leaf 4.
79905         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79907 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79909         [BZ #12583]
79910         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79911         character representation.
79912         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79914 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79916         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79917         END(__isnan) to END(__isnanf) to match function entry point/label
79918         EALIGN(__isnanf,...).
79920 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79922         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79924 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79926         [BZ #12510]
79927         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79928         copy from the symbol referenced in the relocation to initialize the
79929         used variable.
79930         Patch by Piotr Bury <pbury@goahead.com>.
79931         * elf/Makefile: Add rules to build and tst-unique3.
79932         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79933         * elf/tst-unique3.cc: New file.
79934         * elf/tst-unique3.h: New file.
79935         * elf/tst-unique3lib.cc: New file.
79936         * elf/tst-unique3lib2.cc: New file.
79938         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79940 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79942         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79943         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79944         to _start.
79946 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79948         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79949         to-be-loaded object along a path to loader is ld.so.
79951 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79952             Ulrich Drepper  <drepper@gmail.com>
79954         * sysdeps/x86_64/memset.S: After aligning destination, code
79955         branches to different locations depending on the value of
79956         misalignment, when multiarch is enabled. Fix this.
79958 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79960         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79961         Set _x86_64_preferred_memory_instruction for AMD processsors.
79962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79963         Set bit_Prefer_SSE_for_memop for AMD processors.
79965 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79967         * libio/fmemopen.c (fmemopen): Optimize a bit.
79969 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79971         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79973 2011-03-03  Roland McGrath  <roland@redhat.com>
79975         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79977 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79979         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79980         __bzero_ultra1 instead of __memset_ultra1.
79982 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79983             Ulrich Drepper  <drepper@gmail.com>
79985         [BZ #12509]
79986         * include/link.h (struct link_map): Add l_orig_initfini.
79987         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79988         returning unsuccessfully.
79989         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79990         close of a file loaded at startup, restore the original l_initfini
79991         list.
79992         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79993         list, store the pointer.
79994         * elf/Makefile ($(objpfx)noload-mem): New rule.
79995         (noload-ENV): Define.
79996         (tests): Add $(objpfx)noload-mem.
79997         * elf/noload.c: Include <memcheck.h>.
79998         (main): Call mtrace.  Close all opened handles.
80000 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80002         [BZ #12454]
80003         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80004         dependencies are missing.
80006 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80008         Fix __if_freereq crash: Unlike the generic version which uses free,
80009         Hurd needs munmap.
80010         * sysdeps/mach/hurd/ifreq.h: New file.
80012 2011-01-27  Petr Baudis  <pasky@suse.cz>
80013             Ulrich Drepper  <drepper@gmail.com>
80015         [BZ 12445]#
80016         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80017         to extend_alloca().
80018         * stdio-common/bug23.c: New file.
80019         * stdio-common/Makefile (tests): Add bug23.
80021 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80022             Ulrich Drepper  <drepper@gmail.com>
80024         [BZ #12489]
80025         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80026         before performing relro protection.  At old place add assertion
80027         to make sure nothing changed.
80029 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80030             Glauber de Oliveira Costa  <glommer@gmail.com>
80032         * elf/elf.h: Add new ARM TLS relocs.
80034 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80037         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80038         cast from r3.
80039         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80040         'tests' variable.
80041         * sysdeps/wordsize-64/tst-writev.c: New file.
80043 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80045         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80046         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80047         insns in _dl_start to prevent a TOC reference before relocs are
80048         resolved.
80050 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80052         [BZ #12469]
80053         * Makeconfig: Remove RANLIB definition.
80054         * Makerules: Don't use RANLIB.
80055         * aclocal.m4: Remove ranlib test.
80056         * configure.in: No need to check for ranlib.
80057         * elf/rtld-Rules: Don't use RANLIB.
80059 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80061         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80062         protection macro.
80063         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80064         inclusion protection macro.
80066         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80067         SIGRTMIN and SIGRTMAX and print information in that case only when
80068         SIGRTMIN is defined.
80070 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80072         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80073         arginfo fn returning -1.
80075         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80076         and thousands string is zero terminated.
80078 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80081         sysdeps/unix/sysv/linux/bits/socket.h.
80083 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80085         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80086         (__CPU_COUNT): Remove old macros.
80087         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80088         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80089         (__CPU_ALLOC, __CPU_FREE): Add macros.
80090         (__sched_cpualloc, __sched_cpufree): Add declarations.
80092 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80094         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80095         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80096         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80097         (readdhstai): Return value of addhstaiX call.
80098         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80099         (addgrbyX): Return value returned by cache_addgr.
80100         (readdgrbyname): Return value returned by addgrbyX.
80101         (readdgrbygid): Likewise.
80102         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80103         (addpwbyX): Return value returned by cache_addpw.
80104         (readdpwbyname): Return value returned by addhstbyX.
80105         (readdpwbyuid): Likewise.
80106         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80107         (addservbyX): Return value returned by cache_addserv.
80108         (readdservbyname): Return value returned by addservbyX:
80109         (readdservbyport): Likewise.
80110         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80111         (addhstbyX): Return value returned by cache_addhst.
80112         (readdhstbyname): Return value returned by addhstbyX.
80113         (readdhstbyaddr): Likewise.
80114         (readdhstbynamev6): Likewise.
80115         (readdhstbyaddrv6): Likewise.
80116         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80117         (readdinitgroups): Return value returned by addinitgroupsX.
80118         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80119         (prune_cache): Keep track of timeout value of re-added entries.
80120         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80121         * nscd/nscd.h: Adjust prototypes of readd* functions.
80123 2011-02-04  Roland McGrath  <roland@redhat.com>
80125         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80126         (nis_stats): Likewise.
80127         * nis/nis_modify.c (nis_modify): Likewise.
80128         * nis/nis_remove.c (nis_remove): Likewise.
80129         * nis/nis_add.c (nis_add): Likewise.
80131         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80133         * posix/fnmatch_loop.c: Add some consts.
80135         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80137 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80139         [BZ #12460]
80140         * config.make.in (config-cflags-novzeroupper): Define.
80141         * configure.in: Substitute libc_cv_cc_novzeroupper.
80142         * elf/Makefile (AVX-CFLAGS): Define.
80143         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80144         (CFLAGS-tst-auditmod4a.c): Likewise.
80145         (CFLAGS-tst-auditmod4b.c): Likewise.
80146         (CFLAGS-tst-auditmod6b.c): Likewise.
80147         (CFLAGS-tst-auditmod6c.c): Likewise.
80148         (CFLAGS-tst-auditmod7b.c): Likewise.
80149         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80151 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80153         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80154         function to the callback.
80155         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80157 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80159         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80160         of errno.
80162 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80164         [BZ #11724]
80165         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80166         of constructors.
80167         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80168         of destructors.
80169         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80171         [BZ #11724]
80172         * elf/Makefile: Add rules to build and run new test.
80173         * elf/tst-initorder.c: New file.
80174         * elf/tst-initorder.exp: New file.
80175         * elf/tst-initordera1.c: New file.
80176         * elf/tst-initordera2.c: New file.
80177         * elf/tst-initordera3.c: New file.
80178         * elf/tst-initordera4.c: New file.
80179         * elf/tst-initorderb1.c: New file.
80180         * elf/tst-initorderb2.c: New file.
80181         * elf/tst-order-a1.c: New file.
80182         * elf/tst-order-a2.c: New file.
80183         * elf/tst-order-a3.c: New file.
80184         * elf/tst-order-a4.c: New file.
80185         * elf/tst-order-b1.c: New file.
80186         * elf/tst-order-b2.c: New file.
80187         * elf/tst-order-main.c: New file.
80188         New test case by George Gensure <werkt0@gmail.com>.
80190 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80193         decoding ACE if AI_CANONIDN.
80195 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80197         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80199 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80201         * version.h (RELEASE): Bump for 2.13 release.
80202         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80204         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80206         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80207         MADV_NOHUGEPAGE.
80208         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80209         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80210         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80211         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80212         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80213         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80215         * posix/getconf.c: Update copyright year.
80216         * catgets/gencat.c: Likewise.
80217         * csu/version.c: Likewise.
80218         * debug/catchsegv.sh: Likewise.
80219         * debug/xtrace.sh: Likewise.
80220         * elf/ldconfig.c: Likewise.
80221         * elf/ldd.bash.in: Likewise.
80222         * elf/sprof.c (print_version): Likewise.
80223         * iconv/iconv_prog.c: Likewise.
80224         * iconv/iconvconfig.c: Likewise.
80225         * locale/programs/locale.c: Likewise.
80226         * locale/programs/localedef.c: Likewise.
80227         * malloc/memusage.sh: Likewise.
80228         * malloc/mtrace.pl: Likewise.
80229         * nscd/nscd.c (print_version): Likewise.
80230         * nss/getent.c: Likewise.
80232         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80233         PF_CAIF, and PF_ALG.
80234         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80236 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80238         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80239         (modules-names): Use them.
80240         (ifunc-test-modules, ifunc-pie-tests): Define.
80241         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80242         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80243         (test-extras): Likewise.
80244         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80245         $(compile-command.c).
80246         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80247         (all-built-dso): Define.
80248         (check-textrel.out, check-execstack.out): Depend on it.
80250         * configure.in: Don't override --enable-multi-arch.
80252 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80254         [BZ #6812]
80255         * nscd/hstcache.c (tryagain): Define.
80256         (cache_addhst): Return tryagain not notfound for temporary errors.
80257         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80258         failed.
80260 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80262         [BZ #10563]
80263         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80264         to make the syscall.
80265         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80267         [BZ #12378]
80268         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80269         and fall back to matching as normal character if the string ends before
80270         the matching ']' is found.  This is what POSIX requires.
80271         * posix/testfnm.c: Adjust test result.
80272         * posix/globtest.sh: Adjust test result.  Add new test.
80273         * posix/tst-fnmatch.input: Likewise.
80274         * posix/tst-fnmatch2.c: Add new test.
80276 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80278         * elf/Makefile (check-execstack): Revert last change.  Depend on
80279         check-execstack.h.
80280         (check-execstack.h): New target.
80281         (generated): Add check-execstack.h.
80282         * elf/check-execstack.c: Include "check-execstack.h".
80283         (main): Revert last change.
80284         (handle_file): Return zero if GNU_STACK is absent and
80285         DEFAULT_STACK_PERMS doesn't include PF_X.
80287 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80289         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80290         in child fails because the descriptor is already closed.
80291         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80292         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80293         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80295         [BZ #12397]
80296         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80297         syscall.
80299         [BZ #10484]
80300         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80301         temporary buffer used to handle multi lookups locally.
80302         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80304 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80306         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80307         loader is ld.so.
80309 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80311         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80312         alignment for SSE2.
80314 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80316         [BZ #12394]
80317         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80318         characters.  When rounding increased number of integer digits recompute
80319         number of groups.
80320         * stdio-common/tst-grouping.c: New file.
80321         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80323 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80325         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80326         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80328         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80329         void.
80330         * bits/select.h: Likewise.
80332 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80334         * po/ja.po: Update from translation team.
80336 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80338         [BZ #11155]
80339         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80340         implementation just like for lxstat, fxstatat, et al.
80342 2010-12-27  Jim Meyering  <meyering@redhat.com>
80344         [BZ #12348]
80345         * posix/regexec.c (build_trtable): Return failure indication upon
80346         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80348 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80350         [BZ #12201]
80351         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80352         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80353         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80354         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80356         [BZ #12207]
80357         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80359         [BZ #12204]
80360         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80361         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80363 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80365         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80366         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80367         script has SORT_BY_INIT_PRIORITY.
80368         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80369         NO_CTORS_DTORS_SECTIONS is defined.
80370         * elf/soinit.c: Likewise.
80371         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80372         NO_CTORS_DTORS_SECTIONS is defined.
80373         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80374         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80375         * sysdeps/sh/init-first.c: Likewise.
80376         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80378 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80380         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80381         always use the slow path.
80383 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80385         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80386         similar rule which adds the sysdep directories to the header search in
80387         order to pick up the correct platform stackinfo.h.
80388         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80389         perform test if it is, otherwise return successfully without testing.
80390         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80391         DEFAULT_STACK_PERMS define in stackinfo.h.
80392         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80393         defined in stackinfo.h.
80394         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80395         DEFAULT_STACK_PERMS defined in stackinfo.h.
80396         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80397         * sysdeps/ia64/stackinfo.h: Likewise.
80398         * sysdeps/s390/stackinfo.h: Likewise.
80399         * sysdeps/sh/stackinfo.h: Likewise.
80400         * sysdeps/sparc/stackinfo.h: Likewise.
80401         * sysdeps/x86_64/stackinfo.h: Likewise.
80402         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80403         PF_X for powerpc64.  Retain PF_X for powerpc32.
80405 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80407         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80408         accurately.
80409         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80410         GETDENTS_64BIT_ALIGNED.
80412 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80414         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80416 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80418         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80419         _GNU_SOURCE.
80421         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80422         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80423         Remove __restrict.
80424         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80425         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80427 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80429         [BZ #11655]
80430         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80431         are initialized.
80433 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80435         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80437 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80439         * po/it.po: Update from translation team.
80441 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80444         unused codes.
80446 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80448         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80450 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80452         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80453         specially.
80454         (gaih_getanswer_slice): Likewise.
80456 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80458         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80460 2010-05-31  Petr Baudis  <pasky@suse.cz>
80462         [BZ #11149]
80463         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80464         silently even in the chroot mode.
80466 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80468         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80469         last patch a bit.  Pretty printing
80471 2010-05-31  Petr Baudis <pasky@suse.cz>
80473         [BZ #10085]
80474         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80475         initialization of skip_initgroups_dyn.
80477 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80479         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80480         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80482 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80484         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80486 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80488         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80489         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80490         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80491         ($(objpfx)tst-fnmatch-mem): New rule.
80492         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80493         * posix/tst-fnmatch.c (main): Call mtrace.
80495 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80498         Support Intel processor model 6 and model 0x2c.
80500 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80502         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80503           signed comparison.
80505 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80507         [BZ #12205]
80508         * string/test-strncasecmp.c (check_result): New function.
80509         (do_one_test): Use it.
80510         (check1): New function.
80511         (test_main): Use it.
80512         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80513         Support strcasecmp and strncasecmp.
80515 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80517         [BZ #12194]
80518         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80519         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80521 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80523         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80524         IFUNC support.
80525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80526         memset-x86-64.
80527         * sysdeps/x86_64/multiarch/bzero.S: New file.
80528         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80529         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80530         * sysdeps/x86_64/multiarch/memset.S: New file.
80531         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80533         Set bit_Prefer_SSE_for_memop for Intel processors.
80534         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80535         Define.
80536         (index_Prefer_SSE_for_memop): Define.
80537         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80539 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80541         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80542         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80544 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80546         [BZ #12191]
80547         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80548         (__x86_64_raw_data_cache_size_half): Likewise.
80549         (__x86_64_raw_shared_cache_size): Likewise.
80550         (__x86_64_raw_shared_cache_size_half): Likewise.
80552         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80553         (__x86_64_raw_data_cache_size_half): Likewise.
80554         (__x86_64_raw_shared_cache_size): Likewise.
80555         (__x86_64_raw_shared_cache_size_half): Likewise.
80556         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80557         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80558         and __x86_64_raw_shared_cache_size_half.  Round
80559         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80560         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80561         to multiple of 256 bytes.
80563 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80565         [BZ #12167]
80566         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80567         of inacessible symlinks.  Verify result of symlink before returning it.
80568         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80569         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80571 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80573         * math/math.h (isinf): Fix typo in comment.
80575 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80577         * po/da.po: Update from translation team.
80579 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80581         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80582         is added to the list.
80584 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80585             Ulrich Drepper  <drepper@gmail.com>
80587         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80588         the global list here.  Move code to...
80589         (_dl_add_to_namespace_list): ...here.  New function.
80590         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80591         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80592         * elf/dl-load.c (lose): Don't remove the element from the list.
80593         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80594         (_dl_map_object): Likewise.
80596 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80598         [BZ #12159]
80599         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80600         into all bytes of SSE register.
80601         Patch by Richard Li <richardpku@gmail.com>.
80603 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80605         [BZ #12140]
80606         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80607         perturbing.
80609 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80611         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80612         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80613         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80614         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80616         submachine.
80617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80619 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80621         * include/dlfcn.h (__RTLD_SECURE): Define.
80622         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80623         mode & __RTLD_SECURE instead.
80624         (open_path): Rename preloaded parameter to secure.
80625         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80626         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80627         * elf/dl-deps.c (openaux): Likewise.
80628         * elf/rtld.c (struct map_args): Remove is_preloaded.
80629         (map_doit): Don't use it.
80630         (dl_main): Likewise.
80631         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80632         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80634 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80636         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80637         (sysd-rules-targets): Remove duplicates.
80638         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80639         rtld-%.$o dependency.
80641 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80643         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80644         _dl_map_object do it.
80646 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80648         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80649         fast fma builtins, define the macros in the C99 standard.
80650         (FP_FAST_FMAF): Likewise.
80651         (FP_FAST_FMAL): Likewise.
80652         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80654         * bits/mathdef.h: Update copyright year.
80655         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80657 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80659         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80660         builtins, define the macros in the C99 standard.
80661         (FP_FAST_FMAF): Likewise.
80662         (FP_FAST_FMAL): Likewise.
80663         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80664         multiply/add.
80665         (FP_FAST_FMAF): Likewise.
80667 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80669         [BZ #3268]
80670         * math/libm-test.inc (fma_test): Some new testcases.
80671         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80672         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80673         y and infinite z.  Do multiplication by C already in long double.
80674         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80676         y and infinite z.  Do bitwise or of inexact bit into u.d.
80677         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80678         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80679         * sysdeps/i386/fpu/s_fma.S: Removed.
80680         * sysdeps/i386/fpu/s_fmal.S: Removed.
80682 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80684         [BZ #3268]
80685         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80687         computation is not scheduled after fetestexcept.  Fix value
80688         of minimum denormal long double.
80690 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80692         [BZ #3268]
80693         * math/libm-test.inc (fma_test): Add some more tests.
80694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80695         correctly.
80697 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80699         * scripts/data/localplt-s390-linux-gnu.data: New file.
80700         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80702 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80704         [BZ #3268]
80705         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80706         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80707         instead of dbl-64.
80708         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80709         inlines.
80710         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80712         if one of x and y is very large and the other is subnormal.
80713         * sysdeps/s390/fpu/s_fmaf.c: New file.
80714         * sysdeps/s390/fpu/s_fma.c: New file.
80715         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80716         * sysdeps/powerpc/fpu/s_fma.S: New file.
80717         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80718         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80719         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80721 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80723         [BZ #3268]
80724         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80725         fma tests.
80726         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80727         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80728         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80729         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80730         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80731         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80732         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80734 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80736         [BZ #12078]
80737         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80738         * posix/bug-regex31.input: Add test case.
80740 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80742         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80743         * posix/bug-regex31.input: New file.
80745         [BZ #12078]
80746         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80747         (parse_sub_exp): Fix last change, use postorder.
80749         * posix/bug-regex31.c: New file.
80750         * posix/Makefile: Add rules to build and run bug-regex31.
80752         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80754         [BZ #12078]
80755         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80757         [BZ #12108]
80758         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80759         to have entries in sys_siglist.
80761         [BZ #12093]
80762         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80763         be NULL.
80765 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80767         [BZ #3268]
80768         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80769         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80770         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80771         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80772         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80773         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80774         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80775         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80776         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80777         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80778         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80779         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80780         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80781         * math/ftestexcept.c (fetestexcept): Likewise.
80782         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80783         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80784         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80785         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80786         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80787         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80788         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80790 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80792         [BZ #12107]
80793         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80794         newline.
80796 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80798         * string/bug-strstr1.c: New file.
80799         * string/Makefile: Add rules to build and run bug-strstr1.
80801 2010-10-05  Eric Blake  <eblake@redhat.com>
80803         [BZ #12092]
80804         * string/str-two-way.h (two_way_long_needle): Always clear memory
80805         when skipping input due to the shift table.
80807 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80809         [BZ #12005]
80810         * malloc/mcheck.c: Handle large requests.
80812         [BZ #12077]
80813         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80814         for strncmp and strncasecmp.
80815         * string/stratcliff.c: Add tests for strcmp and strncmp.
80816         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80818 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80820         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80821         __set_fpscr.
80823 2010-09-30  Andreas Jaeger  <aj@suse.de>
80825         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80826         (CGROUP_SUPER_MAGIC): Define.
80827         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80828         Handle btrfs and cgroup file systems.
80829         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80830         Likewise.
80832 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80834         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80835         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80837 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80839         [BZ #12067]
80840         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80841         trying to locate the ELF header.
80843 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80845         [BZ #11611]
80846         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80847         Mask out sign-bit copies when constructing f_fsid.
80849 2010-09-24  Petr Baudis <pasky@suse.cz>
80851         * debug/stack_chk_fail_local.c: Add missing licence exception.
80852         * debug/warning-nop.c: Likewise.
80854 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80856         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80857         implementing getdents64 using getdents syscall, set d_type if
80858         __ASSUME_GETDENTS32_D_TYPE.
80860 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80862         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80863         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80865 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80867         [BZ #12037]
80868         * posix/unistd.h: Undo change of feature selection for ftruncate from
80869         2010-01-11.
80871 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80873         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80874         detection.
80876 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80878         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80879         fanotify_mark.
80880         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80882 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80884         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80885         variables after CHECK_SP call.
80886         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80888 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80889             Ulrich Drepper  <drepper@redhat.com>
80891         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80892         re-relocationg ld.so.
80893         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80894         _dl_init_paths call.
80895         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80896         here anymore.
80898 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80900         * resolv/res_init.c (__res_vinit): Count the default server we added.
80902 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80903             Ulrich Drepper  <drepper@redhat.com>
80905         [BZ #11968]
80906         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80907         (____longjmp_chk): Use %ebx for saving value across system call.
80908         Add unwind info.
80910 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80912         * manual/Makefile: Don't mix pattern rules with normal rules.
80914 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80916         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80917         operation.
80918         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80919         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80920         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80921         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80923         Likewise.
80925 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80927         [BZ #11979]
80928         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80929         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80931 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80933         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80934         * sysdeps/x86_64/addmul_1.S: Likewise.
80935         * sysdeps/x86_64/lshift.S: Likewise.
80936         * sysdeps/x86_64/mul_1.S: Likewise.
80937         * sysdeps/x86_64/rshift.S: Likewise.
80938         * sysdeps/x86_64/sub_n.S: Likewise.
80939         * sysdeps/x86_64/submul_1.S: Likewise.
80941 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80943         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80944         Define __sched_param instead of SCHED_* and sched_param when
80945         <bits/sched.h> is included with __need_schedparam defined.
80946         * bits/sched.h [__need_schedparam]
80947         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80948         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80949         (__defined_schedparam): Define to 1.
80950         (__sched_param): New structure, identical to sched_param.
80951         (__need_schedparam): Undefine.
80953 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80955         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80956         (epoll_create1): Declare.
80958         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80960 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80962         [BZ #7066]
80963         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80964         shifting retval into place.
80966 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80968         * nis/rpcsvc/nis.h: Update copyright notice.
80969         * nis/rpcsvc/nis.x: Likewise.
80970         * nis/rpcsvc/nis_callback.h: Likewise.
80971         * nis/rpcsvc/nis_callback.x: Likewise.
80972         * nis/rpcsvc/nis_object.x: Likewise.
80973         * nis/rpcsvc/nis_tags.h: Likewise.
80974         * nis/rpcsvc/yp.h: Likewise.
80975         * nis/rpcsvc/yp.x: Likewise.
80976         * nis/rpcsvc/ypupd.h: Likewise.
80977         * nis/yp_xdr.c: Likewise.
80978         * nis/ypupdate_xdr.c: Likewise.
80980         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80981         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80982         (pmap_getport): Use __libc_rpc_getport.
80983         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80984         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80985         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80987 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80990         fanotify_mark.
80992 2010-08-27  Roland McGrath  <roland@redhat.com>
80994         * sysdeps/i386/i686/multiarch/Makefile
80995         (CFLAGS-varshift.c): New variable.
80997 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80999         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81000         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81002         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81004         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81006 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81008         * sysdeps/x86_64/strlen.S: Unroll the loop.
81009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81010         strlen-sse2 strlen-sse2-bsf.
81011         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81012         __strlen_no_bsf if bit_Slow_BSF is set.
81013         (__strlen_sse42): Removed.
81014         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81015         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81017 2010-08-25  Roland McGrath  <roland@redhat.com>
81019         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81020         * sysdeps/x86_64/multiarch/varshift.c: New file.
81021         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81022         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81023         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81024         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81026 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81029         strlen-sse2 strlen-sse2-bsf.
81030         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81031         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81032         (__strlen_sse2): Removed.
81033         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81034         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81036         bit_Slow_BSF for Atom.
81037         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81038         (index_Slow_BSF): Define.
81039         (HAS_SLOW_BSF): Define.
81041 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81043         [BZ #10851]
81044         * resolv/res_init.c (__res_vinit): When no server address at all
81045         is given default to loopback.
81047 2010-08-24  Roland McGrath  <roland@redhat.com>
81049         * configure.in: Remove config-name.h generation.
81050         * configure: Regenerated.
81051         * config-name.in: File removed.
81052         * scripts/config-uname.sh: New file.
81053         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81054         ($(objdir)config-name.h): New target.
81056         * sunrpc/rpc_parse.h: Avoid nested comment.
81058 2010-08-24  Richard Henderson  <rth@redhat.com>
81059             Ulrich Drepper  <drepper@redhat.com>
81060             H.J. Lu  <hongjiu.lu@intel.com>
81062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81064         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81065         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81066         _mm_alignr_epi8 with _mm_loadu_si128.
81067         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81068         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81069         (__m128i_shift_right): Removed.
81070         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81071         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81072         * sysdeps/x86_64/multiarch/varshift.h: New file.
81073         * sysdeps/x86_64/multiarch/varshift.S: New file.
81075 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81077         * configure.in: Move assembler checks to before sysdep dir checking.
81079 2010-08-20  Petr Baudis  <pasky@suse.cz>
81081         * LICENSES: Sync the sunrpc license.
81083 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81085         * sunrpc/auth_des.c: Update copyright notice once again.
81086         * sunrpc/auth_none.c: Likewise.
81087         * sunrpc/auth_unix.c: Likewise.
81088         * sunrpc/authdes_prot.c: Likewise.
81089         * sunrpc/authuxprot.c: Likewise.
81090         * sunrpc/bindrsvprt.c: Likewise.
81091         * sunrpc/clnt_gen.c: Likewise.
81092         * sunrpc/clnt_perr.c: Likewise.
81093         * sunrpc/clnt_raw.c: Likewise.
81094         * sunrpc/clnt_simp.c: Likewise.
81095         * sunrpc/clnt_tcp.c: Likewise.
81096         * sunrpc/clnt_udp.c: Likewise.
81097         * sunrpc/clnt_unix.c: Likewise.
81098         * sunrpc/des_crypt.c: Likewise.
81099         * sunrpc/des_soft.c: Likewise.
81100         * sunrpc/get_myaddr.c: Likewise.
81101         * sunrpc/getrpcport.c: Likewise.
81102         * sunrpc/key_call.c: Likewise.
81103         * sunrpc/key_prot.c: Likewise.
81104         * sunrpc/openchild.c: Likewise.
81105         * sunrpc/pm_getmaps.c: Likewise.
81106         * sunrpc/pm_getport.c: Likewise.
81107         * sunrpc/pmap_clnt.c: Likewise.
81108         * sunrpc/pmap_prot.c: Likewise.
81109         * sunrpc/pmap_prot2.c: Likewise.
81110         * sunrpc/pmap_rmt.c: Likewise.
81111         * sunrpc/rpc/auth.h: Likewise.
81112         * sunrpc/rpc/auth_unix.h: Likewise.
81113         * sunrpc/rpc/clnt.h: Likewise.
81114         * sunrpc/rpc/des_crypt.h: Likewise.
81115         * sunrpc/rpc/key_prot.h: Likewise.
81116         * sunrpc/rpc/netdb.h: Likewise.
81117         * sunrpc/rpc/pmap_clnt.h: Likewise.
81118         * sunrpc/rpc/pmap_prot.h: Likewise.
81119         * sunrpc/rpc/pmap_rmt.h: Likewise.
81120         * sunrpc/rpc/rpc.h: Likewise.
81121         * sunrpc/rpc/rpc_des.h: Likewise.
81122         * sunrpc/rpc/rpc_msg.h: Likewise.
81123         * sunrpc/rpc/svc.h: Likewise.
81124         * sunrpc/rpc/svc_auth.h: Likewise.
81125         * sunrpc/rpc/types.h: Likewise.
81126         * sunrpc/rpc/xdr.h: Likewise.
81127         * sunrpc/rpc_clntout.c: Likewise.
81128         * sunrpc/rpc_cmsg.c: Likewise.
81129         * sunrpc/rpc_common.c: Likewise.
81130         * sunrpc/rpc_cout.c: Likewise.
81131         * sunrpc/rpc_dtable.c: Likewise.
81132         * sunrpc/rpc_hout.c: Likewise.
81133         * sunrpc/rpc_main.c: Likewise.
81134         * sunrpc/rpc_parse.c: Likewise.
81135         * sunrpc/rpc_parse.h: Likewise.
81136         * sunrpc/rpc_prot.c: Likewise.
81137         * sunrpc/rpc_sample.c: Likewise.
81138         * sunrpc/rpc_scan.c: Likewise.
81139         * sunrpc/rpc_scan.h: Likewise.
81140         * sunrpc/rpc_svcout.c: Likewise.
81141         * sunrpc/rpc_tblout.c: Likewise.
81142         * sunrpc/rpc_util.c: Likewise.
81143         * sunrpc/rpc_util.h: Likewise.
81144         * sunrpc/rpcinfo.c: Likewise.
81145         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81146         * sunrpc/rpcsvc/key_prot.x: Likewise.
81147         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81148         * sunrpc/rpcsvc/mount.x: Likewise.
81149         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81150         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81151         * sunrpc/rpcsvc/rex.x: Likewise.
81152         * sunrpc/rpcsvc/rstat.x: Likewise.
81153         * sunrpc/rpcsvc/rusers.x: Likewise.
81154         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81155         * sunrpc/rpcsvc/spray.x: Likewise.
81156         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81157         * sunrpc/rtime.c: Likewise.
81158         * sunrpc/svc.c: Likewise.
81159         * sunrpc/svc_auth.c: Likewise.
81160         * sunrpc/svc_authux.c: Likewise.
81161         * sunrpc/svc_raw.c: Likewise.
81162         * sunrpc/svc_run.c: Likewise.
81163         * sunrpc/svc_simple.c: Likewise.
81164         * sunrpc/svc_tcp.c: Likewise.
81165         * sunrpc/svc_udp.c: Likewise.
81166         * sunrpc/svc_unix.c: Likewise.
81167         * sunrpc/svcauth_des.c: Likewise.
81168         * sunrpc/xcrypt.c: Likewise.
81169         * sunrpc/xdr.c: Likewise.
81170         * sunrpc/xdr_array.c: Likewise.
81171         * sunrpc/xdr_float.c: Likewise.
81172         * sunrpc/xdr_mem.c: Likewise.
81173         * sunrpc/xdr_rec.c: Likewise.
81174         * sunrpc/xdr_ref.c: Likewise.
81175         * sunrpc/xdr_sizeof.c: Likewise.
81176         * sunrpc/xdr_stdio.c: Likewise.
81178         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81179         handling.
81181 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81183         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81185 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81187         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81188         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81189         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81190         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81191         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81192         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81193         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81194         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81196         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81197         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81198         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81199         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81200         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81202 2010-07-26  Anton Blanchard  <anton@samba.org>
81204         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81205         * malloc/arena.c (heap_trim): Likewise.
81207 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81209         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81210         here.  Not...
81211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81212         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81214 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81216         * sysdeps/i386/elf/Makefile: New file.
81218 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81220         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81221         from fanotify_init.
81222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81225 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81227         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81228         of strncasecmp_l.
81229         * sysdeps/multiarch/strcmp.S: Likewise.
81231 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81233         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81234         strncase_l-nonascii.
81235         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81236         Add strncase_l-ssse3.
81237         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81238         * sysdeps/x86_64/strcmp.S: Likewise.
81239         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81240         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81241         * sysdeps/x86_64/strncase.S: New file.
81242         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81243         * sysdeps/x86_64/strncase_l.S: New file.
81244         * string/Makefile (strop-tests): Add strncasecmp.
81245         * string/test-strncasecmp.c: New file.
81247         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81248         warning.
81250         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81251         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81253 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81255         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81257 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81259         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81260         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81261         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81263 2010-05-01  Alan Modra  <amodra@gmail.com>
81265         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81266         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81267         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81268         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81269         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81270         tidying.  Don't tail-call __sigjmp_save for static lib.
81271         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81272         save location.
81273         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81274         (CALL_MCOUNT): Add eh info, and nop after bl.
81275         (TAIL_CALL_SYSCALL_ERROR): New macro.
81276         (PSEUDO_RET): Use it.
81277         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81278         Correct save location of integer regs and cr.
81279         (_dl_profile_resolve): Correct cr save location.  Delete nops
81280         after bl when SHARED.  Reduce cfi size a little by better
81281         placement of cfi directives.
81282         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81283         make a stack frame.  Instead use parm save area as a temp.
81284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81285         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81287         Don't make a stack frame for parent, use parm save area.
81288         Increase child stack frame to 112 bytes.  Don't save unused reg,
81289         and adjust reg usage.  Set up cfi on error recovery and
81290         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81292         (__makecontext): Add dummy nop after jump to exit.
81293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81294         Use correct parm save area and cr save, reduce stack frame.
81295         Correct cfi for possible PSEUDO_RET frame setup.
81296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81297         Branch to local label emitted by PSEUDO_RET rather than
81298         __syscall_error.
81300 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81302         [BZ #11904]
81303         * locale/programs/locale.c (print_assignment): New function.
81304         (show_locale_vars): Use it.
81306 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81308         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81309         field.
81310         (struct statfs64): Likewise.
81311         (_STATFS_F_FLAGS): Define.
81312         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81313         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81314         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81315         (ST_VALID): Define locally.
81316         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81317         __statvfs_getflags, use the provided value.
81318         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81319         __ASSUME_STATFS_F_FLAGS.
81321         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81323         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81324         Add sys/fanotify.h.
81325         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81326         fanotify_mask for GLIBC_2.13.
81327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81328         fanotify_init and fanotify_mark.
81329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81330         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81332         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81333         Add prlimit.
81334         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81335         prlimit64 for GLIBC_2.13.
81336         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81337         prlimit64.
81338         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81339         syscall.
81340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81342         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81343         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81344         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81345         add prlimit alias.
81346         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81348         [BZ #11903]
81349         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81350         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81352         * nss/Makefile: Add rules to build and run tst-nss-test1.
81353         * shlib-versions: Add entry for libnss_test1.
81354         * nss/nss_test1.c: New file.
81355         * nss/tst-nss-test1.c: New file.
81357         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81358         (__nss_configure_lookup): Set appropriate entry in
81359         __nss_configure_lookup to true.
81360         * nss/nsswitch.h: Define enum with indeces of databases in
81361         databases and __nss_database_custom arrays.  Declare
81362         __nss_database_custom.
81363         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81364         to avoid using nscd when custom rules are installed.
81365         * nss/getXXbyYY_r.c: Likewise.
81366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81368         * nss/nss_files/files-parse.c: Whitespace fixes.
81370 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81372         [BZ #11883]
81373         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81374         * posix/fnmatch_loop.c: Likewise.
81376 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81378         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81379         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81380         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81381         * Versions.def [GLIBC_2.13]: Add.
81383 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81385         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81386         Also fail if tpwd after pwuid call is NULL.
81388 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81390         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81391         when converting to ms.
81393 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81395         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81396         EOPNOTSUPP errors with ENOTTY.
81397         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81398         EOPNOTSUPP errors with ENOTTY.
81400 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81402         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81403         Add strcasecmp_l-ssse3.
81404         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81405         strcasecmp.
81406         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81407         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81408         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81410 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81412         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81414         * string/Makefile (strop-tests): Add strcasecmp.
81415         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81416         strcasecmp_l-nonascii.
81417         (gen-as-const-headers): Add locale-defines.sym.
81418         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81419         * sysdeps/x86_64/strcasecmp.S: New file.
81420         * sysdeps/x86_64/strcasecmp_l.S: New file.
81421         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81422         * sysdeps/x86_64/locale-defines.sym: New file.
81423         * string/test-strcasecmp.c: New file.
81425         * string/test-strcasestr.c: Test both ends of the range of characters.
81426         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81428 2010-07-29  Roland McGrath  <roland@redhat.com>
81430         [BZ #11856]
81431         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81433 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81435         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81436         for ld.so.
81438 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81440         * manual/memory.texi (Malloc Tunable Parameters): Document
81441         M_PERTURB.
81443 2010-07-26  Roland McGrath  <roland@redhat.com>
81445         [BZ #11840]
81446         * configure.in (-fgnu89-inline check): Set and substitute
81447         gnu89_inline, not libc_cv_gnu89_inline.
81448         * configure: Regenerated.
81449         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81451 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81453         * string/test-strnlen.c: New file.
81454         * string/Makefile (strop-tests): Add strnlen.
81455         * string/tester.c (test_strnlen): Add a few more test cases.
81456         * string/tst-strlen.c: Better error reporting.
81458         * sysdeps/x86_64/strnlen.S: New file.
81460 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81462         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81463         lower-latency instructions.
81465 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81467         * string/test-strcasestr.c: New file.
81468         * string/test-strstr.c: New file.
81469         * string/Makefile (strop-tests): Add strstr and strcasestr.
81470         * string/str-two-way.h: Don't undefine MAX.
81471         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81473 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81475         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81476         strcasestr-nonascii.
81477         (CFLAGS-strcasestr-nonascii.c): Define.
81478         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81479         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81480         Remove unused attribute.
81482 2010-07-20  Roland McGrath  <roland@redhat.com>
81484         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81485         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81486         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81487         like LD_HWCAP_MASK can disable hwcaps.
81489 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81491         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81493 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81495         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81496         call in strcasestr.
81497         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81498         __strcasestr_sse42_nonascii.
81499         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81500         strcasestr-nonascii.c.
81501         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81503 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81505         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81506         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81507         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81510 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81513         fcntl.
81515 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81517         [BZ #11577]
81518         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81519         dl_signal_cerror.
81521 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81523         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81524         _PC_PIPE_BUF using F_GETPIPE_SZ.
81526 2010-07-05  Roland McGrath  <roland@redhat.com>
81528         * manual/arith.texi (Rounding Functions): Fix rint description
81529         implicit in round description.
81531 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81533         * elf/Makefile: Fix linking for a few tests to make recent linker
81534         happy.
81536 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81538         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81539         $(common-objpfx)libc_nonshared.a.
81541 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81543         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81544         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81545         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81546         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81547         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81548         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81549         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81550         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81565         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81566         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81567         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81568         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81569         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81570         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81571         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81572         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81573         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81574         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81575         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81576         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81592 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81594         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81595         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81596         * string/memmove.c (memmove): Renamed to ...
81597         (MEMMOVE): ...this.  Default to memmove.
81598         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81599         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81600         (END_CHK): Define.
81601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81602         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81603         mempcpy-ssse3-back memmove-ssse3-back.
81604         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81606         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81607         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81608         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81609         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81610         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81611         * sysdeps/x86_64/multiarch/memmove.c: New file.
81612         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81613         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81614         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81615         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81616         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81618         Define.
81619         (index_Fast_Copy_Backward): Define.
81620         (HAS_ARCH_FEATURE): Define.
81621         (HAS_FAST_REP_STRING): Define.
81622         (HAS_FAST_COPY_BACKWARD): Define.
81624 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81626         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81627         Restore proper fallback handling.
81629 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81631         [BZ #11701]
81632         * posix/group_member.c (__group_member): Correct checking loop.
81634         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81635         OOM in getpwuid_r correctly.  Return error number when the caller
81636         should return, otherwise -1.
81637         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81638         call returning > 0 value.
81639         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81641 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81643         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81644         libc_nonshared.a from targets in modules-names.
81646 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81648         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81649         requires it.
81651 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81653         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81654         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81655         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81656         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81658 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81660         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81662 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81664         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81665         and F_GETPIPE_SZ.
81666         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81667         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81670         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81671         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81673 2010-06-14  Roland McGrath  <roland@redhat.com>
81675         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81677 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81679         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81680         __REDIRECT followed by __THROW.
81681         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81682         * posix/getopt.h (getopt): Likewise.
81684 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81686         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81687         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81688         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81689         in AT_FLAGS.
81690         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81691         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81693 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81695         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81697 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81699         [BZ #11640]
81700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81701         Properly check family and model.
81703 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81705         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81707 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81709         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81711 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81713         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81714         symbol reference.
81716 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81718         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81719         symbol reference.
81721 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81723         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81724         and internal_recvmmsg.
81725         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81726         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81727         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81728         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81730         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81731         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81732         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81734 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81736         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81738 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81740         POWER7 optimizations.
81741         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81742         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81744 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81746         * version.h: Update for 2.13 development version.
81748 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81750         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81751         exceptions.  Return 0.
81753 2010-05-07  Roland McGrath  <roland@redhat.com>
81755         * elf/ldconfig.c (main): Add a const.
81757 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81759         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81760         (args_options): Add no-idn option.
81761         (ahosts_keys_int): Add idn_flags to ai_flags.
81762         (parse_option): Handle 'i' option to clear idn_flags.
81764         * malloc/malloc.c (_int_free): Possible race in the most recently
81765         added check.  Only act on the data if no current modification
81766         happened.
81768 See ChangeLog.17 for earlier changes.